From: David McCullough Date: Tue, 27 Nov 2007 22:51:30 +0000 (+0000) Subject: This patch is required to successfully link against libstdc++ on the Nios2 X-Git-Url: http://git.osdn.net/view?p=uclinux-h8%2Felf2flt.git;a=commitdiff_plain;h=3b0f01b9267cf12cee0bb48e3918d088f54e6e9e;hp=360ad0425eaf8db5358367d8f1003857f0ae810e This patch is required to successfully link against libstdc++ on the Nios2 platform. Signed-off-by: Atle Nissestad Also remove the duplicated data1 section and add the eh_frame_hdr section. Source of these changes lost (sorry :-) --- diff --git a/elf2flt.ld b/elf2flt.ld index cd4e652..fc68116 100644 --- a/elf2flt.ld +++ b/elf2flt.ld @@ -59,7 +59,7 @@ R_RODAT *(.gnu.linkonce.r*) *(.data1) *(.data.*) *(.gnu.linkonce.d*) - *(.data1) + *(.eh_frame_hdr) *(.eh_frame) *(.gcc_except_table) @@ -69,6 +69,7 @@ R_RODAT *(.gnu.linkonce.r*) *(.sdata) *(.sdata.*) *(.sbss) /* Don't move this! */ + *(.gnu.linkonce.sb*) _essrw = . ; _ssrw_size = _essrw - _ssrw;