From 3b0f01b9267cf12cee0bb48e3918d088f54e6e9e Mon Sep 17 00:00:00 2001 From: David McCullough Date: Tue, 27 Nov 2007 22:51:30 +0000 Subject: [PATCH] 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 :-) --- elf2flt.ld | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.11.0