This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Trivial patch for elf.sc in ld.
Date: Wed, 29 Sep 1999 14:37:22 +1000
From: Geoff Keating <geoffk@ozemail.com.au>
It's created by at least the powerpc linker (which doesn't use this
ldscript), and I expect it needs to be created by every ELF target
with shared libraries and .sdata.
It's needed when you have
extern int foo;
/* do something with foo */
in an application and 'foo' is in a shared library and an 'extern int'
would usually be in the sdata section; you'd normally put such a
symbol in .dynbss.
SDATA_START_SYMBOLS is just there for consistency.
OK.
You need to mention them in ChangeLog.
Ian