diff options
author | Paul Brook <paul@codesourcery.com> | 2004-10-27 20:48:22 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2004-10-27 20:48:22 +0000 |
commit | 5b5bb7410135d8d42b2fcd545abbd37f8b0f6d6f (patch) | |
tree | 4233da9e88bfbee534f6627a80c25ac8359818cc /include | |
parent | fcad0fa40f42e82567ab1e98a65887a54ea5a6d4 (diff) | |
download | gdb-5b5bb7410135d8d42b2fcd545abbd37f8b0f6d6f.zip gdb-5b5bb7410135d8d42b2fcd545abbd37f8b0f6d6f.tar.gz gdb-5b5bb7410135d8d42b2fcd545abbd37f8b0f6d6f.tar.bz2 |
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 24a8033..c5739c9 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 9055f62..edff571 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) |