[arm] Don't "adjust" EABI relocations

Richard Earnshaw rearnsha@arm.com
Thu Dec 2 10:33:00 GMT 2004


On Wed, 2004-12-01 at 17:32, Paul Brook wrote:
> On Wednesday 01 December 2004 10:06, Richard Earnshaw wrote:
> > On Tue, 2004-11-30 at 17:41, Daniel Jacobowitz wrote:
> > > 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'.
> >
> > If we are still setting the OSABI field in EABI conforming objects, then
> > that is a bug.
> 
> Attached patch fixes this.
> Tested with cross to arm-none-{elf,eabi}
> Ok?
> 
> Paul
> 
> 2004-12-01  Paul Brook  <paul@codesourcery.com>
> 
>  * elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI.
>  (elf32_arm_post_process_headers): Set EI_OSABI depending on ABI
>  version.

OK.

R.



More information about the Binutils mailing list