OSDN Git Service

Newer versions of gcc (4.3+) may output additional exception tables
authorDavid McCullough <davidm@snapgear.com>
Thu, 7 May 2009 03:31:14 +0000 (03:31 +0000)
committerDavid McCullough <davidm@snapgear.com>
Thu, 7 May 2009 03:31:14 +0000 (03:31 +0000)
sections, so we need to include those as well.

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
elf2flt.ld.in

index 4343108..f76eadf 100644 (file)
@@ -134,7 +134,10 @@ SINGLE_LINK:       KEEP (*(SORT(.dtors.*)))
 
        .eh_frame_hdr : { *(.eh_frame_hdr) } > flatmem
        .eh_frame : { KEEP(*(.eh_frame)) } > flatmem
-       .gcc_except_table : { KEEP(*(.gcc_except_table)) } >flatmem
+       .gcc_except_table : {
+               KEEP(*(.gcc_except_table))
+               KEEP(*(.gcc_except_table.*))
+       } >flatmem
 
        . = ALIGN(0x10) ;
        @SYMBOL_PREFIX@_edata = . ;