linux-mips
[Top] [All Lists]

Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely

To: Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH]: Remove CONFIG_BUILD_ELF64 entirely
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Mon, 26 Mar 2007 13:09:37 +0100 (BST)
Cc: Thiemo Seufer <ths@networkno.de>, Kumba <kumba@gentoo.org>, Linux MIPS List <linux-mips@linux-mips.org>
In-reply-to: <20070326115656.GA12086@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <4603DA74.70707@gentoo.org> <20070324.002440.93023010.anemo@mba.ocn.ne.jp> <46049BAD.1010705@gentoo.org> <20070324.234727.25910303.anemo@mba.ocn.ne.jp> <20070324231602.GP2311@networkno.de> <46062400.8080307@gentoo.org> <20070325144515.GB21439@networkno.de> <Pine.LNX.4.64N.0703261234260.16083@blysk.ds.pg.gda.pl> <20070326115656.GA12086@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Mon, 26 Mar 2007, Ralf Baechle wrote:

> > > AFAICS this loses -mno-explicit-relocs completely, but it is needed for
> > > all non-ckseg0 CONFIG_64BIT builds.
> > 
> >  Why?  I reckon GCC should support them just fine these days.
> 
> Please remember that we officially only require GCC 3.2 or newer.  3.2
> turned out to be too broken to be supported for 64-bit builds but as long
> as there is no significant problem I'd like to keep support for these
> compiler antiques alive.

 Hmm, from the back of my head I think it should not be a problem -- IIRC 
the versions of GCC that did not support explicit relocs for 64-bit ELF 
would force "-mno-explicit-relocs" internally even if asked otherwise.  
They did not support "-msym32" either, which went in later, and then 
non-PIC support for 64-bit explicit relocs went in earlier than for PIC -- 
quite unsurprisingly, as %higher() and %highest() are not necessarily 
rocket science unlike %disp() and friends.

 If anybody cares I could probably make the excavations needed to verify 
the above.

  Maciej

<Prev in Thread] Current Thread [Next in Thread>