diff options
author | Paul Brook <paul@codesourcery.com> | 2004-10-28 00:48:22 +0400 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2004-10-28 00:48:22 +0400 |
commit | 39055108341fae0ca71ef503267d8f619e59a047 (patch) | |
tree | 37c7fc9ca8834e35d411e80e8378bfdb8ae68e6e /include | |
parent | 2979a29b8624edd0b714c4f4f2960df71de6ae36 (diff) |
2004-10-27 Richard Earnshaw <rearnsha@arm.com>
bfd/
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle
R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24.
(elf32_arm_final_link_relocate): Ditto.
(arm_add_to_rel, elf32_arm_relocate_section): Ditto.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto
(elf32_arm_adjust_dynamic_symbol): Ditto.
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and
R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}...
(elf32_arm_r_howto): ... To here.
(elf32_arm_howto_from_type): Use elf32_arm_r_howto.
include/
* elf/arm.h: Add R_ARM_CALL and R_ARM_JUMP32.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/arm.h | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 24a803305..c5739c935 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-10-27 Richard Earnshaw <rearnsha@arm.com> + + * elf/arm.h: Add R_ARM_CALL and R_ARM_JUMP32. + 2004-10-27 Tomer Levi <Tomer.Levi@nsc.com> * opcode/crx.h (enum reg): Rearrange registers, remove 'ccfg' and `'pc'. diff --git a/include/elf/arm.h b/include/elf/arm.h index 9055f622d..edff571a7 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -123,7 +123,9 @@ START_RELOC_NUMBERS (elf_arm_reloc_type) FAKE_RELOC (FIRST_INVALID_RELOC, 28) FAKE_RELOC (LAST_INVALID_RELOC, 249) #else /* not OLD_ARM_ABI */ - FAKE_RELOC (FIRST_INVALID_RELOC1, 28) + RELOC_NUMBER (R_ARM_CALL, 28) + RELOC_NUMBER (R_ARM_JUMP24, 29) + FAKE_RELOC (FIRST_INVALID_RELOC1, 30) FAKE_RELOC (LAST_INVALID_RELOC1, 31) RELOC_NUMBER (R_ARM_ALU_PCREL7_0, 32) RELOC_NUMBER (R_ARM_ALU_PCREL15_8, 33) |