OSDN Git Service

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 cd4e652..fc68116 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;