From: David McCullough Date: Thu, 7 May 2009 03:31:14 +0000 (+0000) Subject: Newer versions of gcc (4.3+) may output additional exception tables X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b8649950434a085e584ae13f5da0bebbe3af9099;p=elf2flt.git Newer versions of gcc (4.3+) may output additional exception tables sections, so we need to include those as well. Signed-off-by: Jie Zhang Signed-off-by: Mike Frysinger --- diff --git a/elf2flt.ld.in b/elf2flt.ld.in index 4343108..f76eadf 100644 --- a/elf2flt.ld.in +++ b/elf2flt.ld.in @@ -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 = . ;