Update ARM ELF relocations to ABI 2.09

Add R_ARM_IRELATIVE.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222817 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Will Newton 2014-11-26 10:36:03 +00:00
parent 31862ae541
commit e98441590b
4 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,7 @@
#error "ELF_RELOC must be defined"
#endif
// Meets 2.08 ABI Specs.
// Meets 2.09 ABI Specs.
ELF_RELOC(R_ARM_NONE, 0x00)
ELF_RELOC(R_ARM_PC24, 0x01)
ELF_RELOC(R_ARM_ABS32, 0x02)
@ -135,3 +135,4 @@ ELF_RELOC(R_ARM_PRIVATE_15, 0x7f)
ELF_RELOC(R_ARM_ME_TOO, 0x80)
ELF_RELOC(R_ARM_THM_TLS_DESCSEQ16, 0x81)
ELF_RELOC(R_ARM_THM_TLS_DESCSEQ32, 0x82)
ELF_RELOC(R_ARM_IRELATIVE, 0xa0)

View File

@ -808,6 +808,7 @@ class Relocs_Elf_ARM(Enum):
R_ARM_ME_TOO = 0x80
R_ARM_THM_TLS_DESCSEQ16 = 0x81
R_ARM_THM_TLS_DESCSEQ32 = 0x82
R_ARM_IRELATIVE = 0xa0
class Relocs_Elf_Mips(Enum):
R_MIPS_NONE = 0

View File

@ -364,6 +364,7 @@ ELF-ARM: Type: R_ARM_PRIVATE_15 (127)
ELF-ARM: Type: R_ARM_ME_TOO (128)
ELF-ARM: Type: R_ARM_THM_TLS_DESCSEQ16 (129)
ELF-ARM: Type: R_ARM_THM_TLS_DESCSEQ32 (130)
ELF-ARM: Type: R_ARM_IRELATIVE (160)
ELF-MIPS: Type: R_MIPS_NONE (0)
ELF-MIPS: Type: R_MIPS_16 (1)