diff options
author | Paul Brook <paul@codesourcery.com> | 2004-08-06 16:18:11 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2004-08-06 16:18:11 +0000 |
commit | 1b52ab15a37c749ca06101c37ae6efdc92319a5a (patch) | |
tree | 457440b502316104e18c841cb36d5079c0d1fbd4 /include/elf | |
parent | 142ed05f57021bd73bc37e1859d0a39e37b1105c (diff) | |
download | newlib-1b52ab15a37c749ca06101c37ae6efdc92319a5a.zip newlib-1b52ab15a37c749ca06101c37ae6efdc92319a5a.tar.gz newlib-1b52ab15a37c749ca06101c37ae6efdc92319a5a.tar.bz2 |
bfd/
* elfarm-nabi.c (elf32_arm_howto_table): Add new EABI relocations.
(elf32_arm_reloc_map): Add BFD_RELOC_ARM_RELABS32,
BFD_RELOC_ARM_ROSEGREL32 and BFD_RELOC_ARM_SBREL32.
* reloc.c: Add BFD_RELOC_ARM_RELABS32, BFD_RELOC_ARM_ROSEGREL32
and BFD_RELOC_ARM_SBREL32.
* bfd-in2.h, bbfd.h: Regenerate.
gas/
* config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
Handle new relocations.
* include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
gas/testsuite/
* gas/arm/pic.s,d: Test RELABS and SBREL relocations.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/arm.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/elf/arm.h b/include/elf/arm.h index 158a4b5..a391a0e 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -124,10 +124,15 @@ START_RELOC_NUMBERS (elf_arm_reloc_type) RELOC_NUMBER (R_ARM_ALU_PCREL7_0, 32) RELOC_NUMBER (R_ARM_ALU_PCREL15_8, 33) RELOC_NUMBER (R_ARM_ALU_PCREL23_15, 34) - RELOC_NUMBER (R_ARM_LDR_SBREL11_0, 35) - RELOC_NUMBER (R_ARM_ALU_SBREL19_12, 36) - RELOC_NUMBER (R_ARM_ALU_SBREL27_20, 37) - FAKE_RELOC (FIRST_INVALID_RELOC2, 38) + RELOC_NUMBER (R_ARM_LDR_SBREL_11_0, 35) + RELOC_NUMBER (R_ARM_ALU_SBREL_19_12, 36) + RELOC_NUMBER (R_ARM_ALU_SBREL_27_20, 37) + RELOC_NUMBER (R_ARM_RELABS32, 38) + RELOC_NUMBER (R_ARM_ROSEGREL32, 39) + RELOC_NUMBER (R_ARM_V4BX, 40) + RELOC_NUMBER (R_ARM_STKCHK, 41) + RELOC_NUMBER (R_ARM_THM_STKCHK, 42) + FAKE_RELOC (FIRST_INVALID_RELOC2, 43) FAKE_RELOC (LAST_INVALID_RELOC2, 99) RELOC_NUMBER (R_ARM_GNU_VTENTRY, 100) RELOC_NUMBER (R_ARM_GNU_VTINHERIT, 101) |