From owner-freebsd-alpha Tue Oct 17 3:39:16 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from inetfw.sonycsl.co.jp (inetfw.SonyCSL.CO.JP [203.137.129.4]) by hub.freebsd.org (Postfix) with ESMTP id B27C437B4FE; Tue, 17 Oct 2000 03:39:13 -0700 (PDT) Received: from hotaka.csl.sony.co.jp (hotaka.csl.sony.co.jp [43.27.98.57]) by inetfw.sonycsl.co.jp (8.9.3+3.2W/3.7Ws3/inetfw/2000050701/smtpfeed 1.07) with ESMTP id TAA03298; Tue, 17 Oct 2000 19:39:06 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by hotaka.csl.sony.co.jp (8.9.3+3.2W/3.7Ws3/hotaka/2000061722) with ESMTP id TAA84151; Tue, 17 Oct 2000 19:39:05 +0900 (JST) To: gallatin@FreeBSD.org Cc: freebsd-alpha@freebsd.org Subject: Re: cvs commit: src/sys/alpha/alpha exception.s src/sys/alpha/include asm.h In-Reply-To: <200010162015.NAA18435@freefall.freebsd.org> References: <200010162015.NAA18435@freefall.freebsd.org> X-Mailer: Mew version 1.94.2 on Emacs 20.6 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20001017193905Z.kjc@csl.sony.co.jp> Date: Tue, 17 Oct 2000 19:39:05 +0900 From: Kenjiro Cho X-Dispatcher: imput version 20000228(IM140) Lines: 31 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks! FreeBSD-4.1/KAME now boots up with this fix. Please MFC. -Kenjiro > gallatin 2000/10/16 13:15:43 PDT > > Modified files: > sys/alpha/alpha exception.s > sys/alpha/include asm.h > Log: > Fix problems booting large kernels on alphas. The symptom is that the kernel > loads, prints the copyright, and either hangs or locks solid. The > PC tends to be in the data segment and the RA is in XentMM > > Doug really came up with the fix, I'm just the monkey typing. Doug says: > The alpha can only support 64k of globals with $gp pointing at > base+32k so that the code can use 16bit signed offsets from $gp to > access it. .... it is possible to have multiple .got subsections > and the linker handles this with the relocations for 'ldgp' pseudo > instructions. [Without this patch] the code in exception.s has been > linked to use a different gp from locore.s (where pal_kgp is set). > > Reviewed by: dfr > > Revision Changes Path > 1.4 +5 -1 src/sys/alpha/alpha/exception.s > 1.8 +5 -2 src/sys/alpha/include/asm.h > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message