[arm] Don't "adjust" EABI relocations

Nick Clifton nickc@redhat.com
Tue Nov 30 17:03:00 GMT 2004


Hi Daniel,

> Oh that's cute....
> 
> There's two copies; one is guarded by:
>           if (   strcmp (bfd_get_target (input_bfd), "elf32-littlearm-oabi") == 0
>               || strcmp (bfd_get_target (input_bfd), "elf32-bigarm-oabi") == 0)
> 
> and the other is in the else block of the same if, and checks only
> "if (! globals->no_pipeline_knowledge)" and "i_ehdrp->e_ident[EI_OSABI]
> == 0".  But the only place GNU binutils created binaries with OSABI 0
> was in the oabi targets, right?

Actually other, non-GNU, toolchains do that as well.  So supporting the 
-p option for inter-linking with them is very helpful.

Cheers
   Nick



More information about the Binutils mailing list