[PATCH] Indicate dependency on personality routines for ARM EHABI

Julian Brown julian@codesourcery.com
Wed Feb 9 17:06:00 GMT 2005
Hi,

This patch causes gas to emit dependencies on personality routines 
(__aeabi_unwind_cpp_pr[012]) from a suitable run-time library when 
necessary, using an R_ARM_NONE relocation type.

Tested on i686-pc-linux-gnu and arm-none-eabi with no regressions 
(though the expected output for the .ARM.extab has changed for one of 
the tests.)

OK to apply?

ChangeLog:

     * bfd/bfd-in2.h (bfd_reloc_code_real): New relocation type
     (BFD_RELOC_ARM_NONE).
     * bfd/elf32-arm.c (elf32_arm_reloc_map): BFD_RELOC_ARM_NONE maps to
     R_ARM_NONE.
     * bfd/libbfd.h (bfd_reloc_code_): Add BFD_RELOC_ARM_NONE.
     * bfd/reloc.c (BFD_RELOC_ARM_NONE): Add.
     * gas/config/tc-arm.c (md_apply_fix3): Handle BFD_RELOC_ARM_NONE.
     (tc_gen_reloc): Handle BFD_RELOC_ARM_NONE.
     (create_unwind_entry): Output dependency on the unwinding routines.
     * gas/testsuite/gas/arm/unwind.d: Alter expected output to include
     dependency on __aeabi_unwind_cpp_pr[01].

-- 
Julian Brown
CodeSourcery, LLC
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-5
URL: <https://sourceware.org/pipermail/binutils/attachments/20050209/dc4e83a0/attachment.ksh>


More information about the Binutils mailing list