From b8649950434a085e584ae13f5da0bebbe3af9099 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Thu, 7 May 2009 03:31:14 +0000 Subject: [PATCH] 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 --- elf2flt.ld.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = . ; -- 2.39.5