From bc8a22491c3b0223e80857bef66bef9f8f0a4a96 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Thu, 6 Apr 2006 00:37:45 +0000 Subject: [PATCH] The current elf2flt.ld forgets to allow to put `gnu.linkonce.r*' sections in the read-only data segment. Philippe De Muyter --- elf2flt.ld | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.*) -- 2.39.5