This is the mail archive of the
mailing list for the binutils project.
Re: [arm] Don't "adjust" EABI relocations
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.