forked from OSchip/llvm-project
Update ARM ELF relocations to ABI 2.09
Add R_ARM_IRELATIVE. llvm-svn: 222817
This commit is contained in:
parent
05200e3b19
commit
7ad0ddc7e6
|
@ -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)
|
||||
|
|
Binary file not shown.
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue