]> git.wh0rd.org Git - elf2flt.git/commitdiff
This patch is required to successfully link against libstdc++ on the Nios2
authorDavid McCullough <davidm@snapgear.com>
Tue, 27 Nov 2007 22:51:30 +0000 (22:51 +0000)
committerDavid McCullough <davidm@snapgear.com>
Tue, 27 Nov 2007 22:51:30 +0000 (22:51 +0000)
platform.

Signed-off-by: Atle Nissestad <atle@nissestad.no>
Also remove the duplicated data1 section and add the eh_frame_hdr section.
Source of these changes lost (sorry :-)

elf2flt.ld

index cd4e652c305b12cefbb2602181c646f6d28e09cf..fc68116dd483d6da1b8e26a105a195a010a7d858 100644 (file)
@@ -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;