From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10514 invoked from network); 16 Jan 1999 03:50:00 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 16 Jan 1999 03:50:00 -0000 Received: from piglet.twiddle.net (rth@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id WAA29922 for ; Fri, 15 Jan 1999 22:26:29 -0500 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id TAA11633 for axp-list@redhat.com; Fri, 15 Jan 1999 19:28:37 -0800 Message-ID: <19990115192837.B11127@piglet.twiddle.net> Date: Fri, 15 Jan 1999 19:28:37 -0800 From: Richard Henderson To: axp-list@redhat.com Subject: Re: gcc/egcs flags to turn off 64bit code generation? References: <001b01be403b$25c44360$b9db0318@dnrc.belllabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <001b01be403b$25c44360$b9db0318@dnrc.belllabs.com>; from Sanjay Lal on Thu, Jan 14, 1999 at 10:57:19PM -0500 On Thu, Jan 14, 1999 at 10:57:19PM -0500, Sanjay Lal wrote: > I am not sure what addresses to use for the various segments? If you did go with Greg's suggestion -- modulo the comments I just added in another message -- I'd suggest copying the standard linker script from /usr/lib/ldscripts/elf64alpha.x and modifying . = 0x120000000 + SIZEOF_HEADERS; at the top to read . = 0x100000 + SIZEOF_HEADERS; which gives you a program base of 1MB. That makes sure that you can still trap NULL pointer errors. In addition, some versions of binutils chose 1MB as the maximum alpha architectural page size and will pad the binary appropriately. (The correct number is 64k, and has been fixed in, i believe, binutils 2.9.0.) r~