This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Trivial patch for elf.sc in ld.



I think this is really self-explanatory.  OK to commit?

-- 
Geoffrey Keating <geoffk@cygnus.com>

===File ~/patches/cygnus/tx49-bin-slinkonce.patch===========
md5sum: 01c7f288ab65b2dc 1f8b47196257f7c3 348219
Index: binutils/ld/ChangeLog
0a
Wed Sep 22 12:42:36 1999  Geoffrey Keating  <geoffk@cygnus.com>

	* scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections
	in .sdata too.

.
Changed files:
binutils/ld/ChangeLog
binutils/ld/scripttempl/elf.sc
md5sum: 86ddf7df91f7b761 c5d23ef89c14ef71 10785
--- /sloth/disk0/co/binutils-mainline/binutils/ld/scripttempl/elf.sc	Mon Sep 27 18:29:33 1999
+++ binutils/ld/scripttempl/elf.sc	Mon Sep 27 19:45:02 1999
@@ -232,7 +232,7 @@ cat <<EOF
   /* We want the small data sections together, so single-instruction offsets
      can access them all, and initialized data all before uninitialized, so
      we can shorten the on-disk segment size.  */
-  .sdata   ${RELOCATING-0} : { *(.sdata) *(.sdata.*) }
+  .sdata   ${RELOCATING-0} : { *(.sdata) *(.sdata.*) *(.gnu.linkonce.s.*) }
   ${RELOCATING+${OTHER_GOT_SECTIONS}}
   ${RELOCATING+_edata = .;}
   ${RELOCATING+PROVIDE (edata = .);}
============================================================

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