[PATCH] Partitioning of exception-handling support routines for ARM AAPCS [csl-arm-branch]

Julian Brown julian@codesourcery.com
Sun Feb 13 23:40:00 GMT 2005


This patch splits GNU-specific support routines for exception handling
into a seperate file, to enable linking objects compiled with gcc and
other conforming AAPCS compilers with an independent linker and runtime.

After the patch is applied, this can be achieved by manually linking 
with objects from the gcc build tree providing support code for 
gcc-specific exception handling personality routines:

    $BUILD/gcc/libgcc/pr-support.o
    $BUILD/arm-none-eabi/libstdc++-v3/libsupc++/eh_personality.o

Tested with cross to arm-none-eabi.

ChangeLog:

      * config/arm/t-bpabi (LIB2ADDEH): Add pr-support.c
      * unwind-arm.c (next_unwind_byte): Moved to file pr-support.c.
      (__gnu_unwind_execute): Likewise.
      (__gnu_unwind_frame): Likewise.
      (_Unwind_GetLanguageSpecificData): Likewise.
      (_Unwind_GetRegionStart): Likewise.
      * pr-support.c: New file.
      (selfrel_offset31, EHT16, EHT32): Duplicated from unwind-arm.c.

-- 
Julian Brown
CodeSourcery, LLC

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-4
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050213/b0cc1324/attachment.ksh>


More information about the Gcc-patches mailing list