This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [arm] Don't "adjust" EABI relocations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]