]> git.wh0rd.org Git - elf2flt.git/commitdiff
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 434310817bcdcf764b4c4ff949fc170728846bc8..f76eadf803f1b54de2500f5fe42a8aee29c17092 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 = . ;