This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] add W_* to rx linker scripts


For compatibility with other RX compilers.  Committed.

2012-08-30  DJ Delorie  <dj@redhat.com>

	* rx/rx.ld: Add W_* sections to .rodata.
	* rx/rx-sim.ld: Likewise.

Index: rx/rx-sim.ld
===================================================================
RCS file: /cvs/src/src/libgloss/rx/rx-sim.ld,v
retrieving revision 1.2
diff -p -U5 -r1.2  rx/rx-sim.ld
--- rx/rx-sim.ld	25 Nov 2009 20:20:25 -0000	1.2
+++ rx/rx-sim.ld	30 Aug 2012 21:07:03 -0000
@@ -64,11 +64,11 @@ SECTIONS
   } > RAM
 
   .rodata : {
     . = ALIGN(4);
     *(.plt)
-    *(.rodata C C_2 C_1 .rodata.* .gnu.linkonce.r.*)
+    *(.rodata C C_2 C_1 W W_2 W_1 .rodata.* .gnu.linkonce.r.*)
     *(.rodata1)
     *(.eh_frame_hdr)
     KEEP (*(.eh_frame))
     KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
     . = ALIGN(4);
Index: rx/rx.ld
===================================================================
RCS file: /cvs/src/src/libgloss/rx/rx.ld,v
retrieving revision 1.2
diff -p -U5 -r1.2  rx/rx.ld
--- rx/rx.ld	25 Nov 2009 20:20:25 -0000	1.2
+++ rx/rx.ld	30 Aug 2012 21:07:03 -0000
@@ -66,11 +66,11 @@ SECTIONS
   } > ROM
 
   .rodata : {
     . = ALIGN(4);
     *(.plt)
-    *(.rodata C C_2 C_1 .rodata.* .gnu.linkonce.r.*)
+    *(.rodata C C_2 C_1 W W_2 W_1 .rodata.* .gnu.linkonce.r.*)
     *(.rodata1)
     *(.eh_frame_hdr)
     KEEP (*(.eh_frame))
     KEEP (*(.gcc_except_table)) *(.gcc_except_table.*)
     . = ALIGN(4);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]