Trivial patch for elf.sc in ld.
Ian Lance Taylor
ian@zembu.com
Tue Sep 28 20:59:00 GMT 1999
Date: Wed, 29 Sep 1999 13:48:05 +1000
From: Geoff Keating <geoffk@ozemail.com.au>
1999-09-29 Geoffrey Keating <geoffk@cygnus.com>
* scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs.
(.rela.sdata): Likewise.
(.rel.sbss): Likewise.
(.rela.sbss): Likewise.
(.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when
ld -r.
(.sbss): Do the same things as for .bss.
Your patch introduces some things you didn't mention in the ChangeLog
entry: SDATA_START_SYMBOLS and .dynsbss. I don't know why you need
either of them. .dynsbss in particular sounds odd; does anything
create that section?
Otherwise this is OK.
Ian
More information about the Binutils
mailing list