From: David McCullough Date: Thu, 6 Apr 2006 00:37:45 +0000 (+0000) Subject: The current elf2flt.ld forgets to allow to put `gnu.linkonce.r*' sections X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=bc8a22491c3b0223e80857bef66bef9f8f0a4a96;p=elf2flt.git The current elf2flt.ld forgets to allow to put `gnu.linkonce.r*' sections in the read-only data segment. Philippe De Muyter --- diff --git a/elf2flt.ld b/elf2flt.ld index 3a8cf15..0c2e71d 100644 --- a/elf2flt.ld +++ b/elf2flt.ld @@ -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.*)