[arm] Infrastructure for eabi unwinding tables
Paul Brook
paul@codesourcery.com
Tue Aug 10 20:00:00 GMT 2004
The attached patch adds features to binutils which are required for arm eabi
based unwinding tables.
It adds segment relative relocations, a new arm specific section type, and
linker support for the new sections.
Tested with cross to arm-none-elf.
Ok?
Paul
2004-08-10 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (elf32_arm_get_roseg_base): New function.
(elf32_arm_get_rwseg_base): New function.
(elf32_arm_final_link_relocate): Handle R_ARM_SBREL32 and
R_ARM_ROSEGREL32.
(elf32_arm_fake_sections, is_unwind_section_name): New functions.
(elf32_arm_section_from_shdr): New function.
(elf_backend_fake_sections, elf_backend_section_from_shdr): Define.
binutils/
* readelf.c (get_arm_section_type_name): New function.
(get_section_type_name): Use it.
gas/
* config/tc-arm.c (arm_elf_change_section): Set elf_linked_to_section.
include/elf/
* arm.h (SHT_ARM_EXIDX): Define.
(ELF_STRING_ARM_unwind*): Define.
ld/
* emulparams/armelf.sh: Define OTHER_READONLY_SECTIONS and
TEXT_START_SYMBOLS.
ld/testsuite/
* ld-arm/arm-app-abs32.d: Disassembler may output __text_start.
* ld-arm/arm-app.d: Disassembler may output __text_start.
* ld-arm/arm-static-app.d: Disassembler may output __text_start.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.binutils_unwind
Type: text/x-diff
Size: 11322 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20040810/c8feea7d/attachment.bin>
More information about the Binutils
mailing list