This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [arm] Don't "adjust" EABI relocations
On Tue, Nov 30, 2004 at 05:26:29PM +0000, Richard Earnshaw wrote:
> On Tue, 2004-11-30 at 17:28, Nick Clifton wrote:
> > Hi Paul,
> >
> > >>Actually other, non-GNU, toolchains do that as well. So supporting the
> > >>-p option for inter-linking with them is very helpful.
> >
> > > But are there any other toolchains that don't need -p? We're suggesting
> > > removing the option altogether and making -p a nop.
> >
> > Oh - I see. Sorry I had that the wrong way round. Making the -p
> > behaviour enabled by default and ignoring the option if it is specified
> > on the command line is OK by me.
> >
> > Cheers
> > Nick
>
> I think the option is the default. At least, the arm-linux
> configuration of gcc is the only one that passes it, but all other
> platforms have the same behaviour.
>
> So I'm not really sure what the option is doing.
It's the default nowadays, because every use is guarded by these two
things: "the command line argument was not specified" and "the osabi is
0". We never produce objects with an OSABI of 0; we use ELF_OSABI_ARM
(spelling?) instead, which is 'a'.
So the option is effectively the default, even though it isn't!
--
Daniel Jacobowitz