This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch] rx: add W_* sections to emulparams
- From: DJ Delorie <dj at redhat dot com>
- To: binutils at sourceware dot org
- Date: Wed, 12 Sep 2012 17:28:06 -0400
- Subject: [patch] rx: add W_* sections to emulparams
libgloss was already updated, this updates the internal script to
match. Applied.
2012-09-12 DJ Delorie <dj@redhat.com>
* emulparams/elf32rx.sh (OTHER_READONLY_SECTIONS): Add W_* sections.
2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
Index: ld/emulparams/elf32rx.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf32rx.sh,v
retrieving revision 1.1
diff -p -U5 -r1.1 ld/emulparams/elf32rx.sh
--- ld/emulparams/elf32rx.sh 29 Sep 2009 14:17:17 -0000 1.1
+++ ld/emulparams/elf32rx.sh 12 Sep 2012 21:24:10 -0000
@@ -25,8 +25,8 @@ test -z "$CREATE_SHLIB" && OTHER_SECTION
}"
# We do not need .stack for shared library.
test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""
OTHER_TEXT_SECTIONS='*(P)'
-OTHER_READONLY_SECTIONS='C_1 : { *(C_1) } C_2 : { *(C_2) } C : { *(C) }'
+OTHER_READONLY_SECTIONS='C_1 : { *(C_1) } C_2 : { *(C_2) } C : { *(C) } W_1 : { *(W_1) } W_2 : { *(W_2) } W : { *(W) }'
OTHER_READWRITE_SECTIONS='D_1 : { *(D_1) } D_2 : { *(D_2) } D : { *(D) }'
OTHER_BSS_SECTIONS='B_1 : { *(B_1) } B_2 : { *(B_2) } B : { *(B) }'