[llvm-commits] Fwd: [llvm] r118413 - /llvm/trunk/lib/Target/ARM/ARMELFWriterInfo.h

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Nov 11 14:33:37 PST 2010


> The names are from the 2.08 ABI manual from ARM (aaelf)
> ARM IHI 0044D, current through ABI release 2.08
>
> I don't know where linux gets its names from.

Yes, this is strange. binutils uses R_ARM_THM_CALL everywhere except
for defining some aliases:

  /* Unofficial names for some of the relocs.  */
  FAKE_RELOC (R_ARM_GOTOFF,             R_ARM_GOTOFF32)   /* 32 bit
offset to GOT.  */
  FAKE_RELOC (R_ARM_THM_PC22,           R_ARM_THM_CALL)
  FAKE_RELOC (R_ARM_THM_PC11,           R_ARM_THM_JUMP11)
  FAKE_RELOC (R_ARM_THM_PC9,            R_ARM_THM_JUMP8)

Renato, do you know where do they come from? Are they just aliases?

Hopefully we can just use the "official" ones .

Cheers,
Rafael



More information about the llvm-commits mailing list