]> git.wh0rd.org Git - elf2flt.git/commitdiff
The current elf2flt.ld forgets to allow to put `gnu.linkonce.r*' sections
authorDavid McCullough <davidm@snapgear.com>
Thu, 6 Apr 2006 00:37:45 +0000 (00:37 +0000)
committerDavid McCullough <davidm@snapgear.com>
Thu, 6 Apr 2006 00:37:45 +0000 (00:37 +0000)
in the read-only data segment.

Philippe De Muyter <phdm@macqel.be>

elf2flt.ld

index 3a8cf157114d3161062ba8ba3b0b8e0999887d6c..0c2e71d66c3c9e643cd224234d31df13a4a18fe6 100644 (file)
@@ -25,6 +25,7 @@ SECTIONS {
 W_RODAT                *(.rodata)
 W_RODAT                *(.rodata1)
 W_RODAT                *(.rodata.*)
+W_RODAT                *(.gnu.linkonce.r*)
 
                /* This is special code area at the end of the normal
                   text section.  It contains a small lookup table at
@@ -53,7 +54,7 @@ W_RODAT               *(.rodata.*)
 R_RODAT                *(.rodata)
 R_RODAT                *(.rodata1)
 R_RODAT                *(.rodata.*)
-               *(.gnu.linkonce.r*)
+R_RODAT                *(.gnu.linkonce.r*)
                *(.data)
                *(.data1)
                *(.data.*)