llvm.org GIT mirror llvm / e984415
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 Will Newton 5 years ago
4 changed file(s) with 4 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22 #error "ELF_RELOC must be defined"
33 #endif
44
5 // Meets 2.08 ABI Specs.
5 // Meets 2.09 ABI Specs.
66 ELF_RELOC(R_ARM_NONE, 0x00)
77 ELF_RELOC(R_ARM_PC24, 0x01)
88 ELF_RELOC(R_ARM_ABS32, 0x02)
134134 ELF_RELOC(R_ARM_ME_TOO, 0x80)
135135 ELF_RELOC(R_ARM_THM_TLS_DESCSEQ16, 0x81)
136136 ELF_RELOC(R_ARM_THM_TLS_DESCSEQ32, 0x82)
137 ELF_RELOC(R_ARM_IRELATIVE, 0xa0)
807807 R_ARM_ME_TOO = 0x80
808808 R_ARM_THM_TLS_DESCSEQ16 = 0x81
809809 R_ARM_THM_TLS_DESCSEQ32 = 0x82
810 R_ARM_IRELATIVE = 0xa0
810811
811812 class Relocs_Elf_Mips(Enum):
812813 R_MIPS_NONE = 0
363363 ELF-ARM: Type: R_ARM_ME_TOO (128)
364364 ELF-ARM: Type: R_ARM_THM_TLS_DESCSEQ16 (129)
365365 ELF-ARM: Type: R_ARM_THM_TLS_DESCSEQ32 (130)
366 ELF-ARM: Type: R_ARM_IRELATIVE (160)
366367
367368 ELF-MIPS: Type: R_MIPS_NONE (0)
368369 ELF-MIPS: Type: R_MIPS_16 (1)