Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/conf Merge .rodata.* sections (like .rodata.st...



details:   https://anonhg.NetBSD.org/src/rev/6551d06dbaec
branches:  trunk
changeset: 754576:6551d06dbaec
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue May 04 15:00:39 2010 +0000

description:
Merge .rodata.* sections (like .rodata.str1.4) into .rodata section.
Newer binutils creates such sections and old firmware might be confused.

diffstat:

 sys/arch/mips/conf/stand.ldscript |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fc7854dc2f56 -r 6551d06dbaec sys/arch/mips/conf/stand.ldscript
--- a/sys/arch/mips/conf/stand.ldscript Tue May 04 14:14:54 2010 +0000
+++ b/sys/arch/mips/conf/stand.ldscript Tue May 04 15:00:39 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stand.ldscript,v 1.3 2001/10/05 05:03:27 simonb Exp $ */
+/* $NetBSD: stand.ldscript,v 1.4 2010/05/04 15:00:39 tsutsui Exp $ */
 
 /*  ldscript for NetBSD/mips stand-alone programs */
 OUTPUT_ARCH(mips)
@@ -15,7 +15,7 @@
   } =0
   _etext = .;
   PROVIDE (etext = .);
-  .rodata    : { *(.rodata)  }
+  .rodata    : { *(.rodata) *(.rodata.*) }
   .data    :
   {
     _fdata = . ;



Home | Main Index | Thread Index | Old Index