This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [arm] Infrastructure for eabi unwinding tables
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com,Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Tue, 10 Aug 2004 13:30:25 -0700
- Subject: Re: [arm] Infrastructure for eabi unwinding tables
- References: <200408102100.32930.paul@codesourcery.com>
Does it support COMDAT group?
H.J.
---
On Tue, Aug 10, 2004 at 09:00:32PM +0100, Paul Brook wrote:
> 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.