This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Trivial patch for elf.sc in ld.
- To: rth at cygnus dot com, binutils at sourceware dot cygnus dot com
- Subject: Trivial patch for elf.sc in ld.
- From: Geoff Keating <geoffk at ozemail dot com dot au>
- Date: Mon, 27 Sep 1999 21:11:24 +1000
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 = .);}
============================================================