This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Support for ELF's STT_COMMON symbol type
On Tue, Oct 09, 2007 at 10:49:09AM -0400, Daniel Jacobowitz wrote:
> On Tue, Oct 09, 2007 at 03:41:16PM +0100, Nick Clifton wrote:
> > * Has a configure time option to enable the setting of the STT_COMMON type on
> > symbols in generated executables. By default this option is disabled, so the
> > linker should continue to work with the current crop of loaders.
>
> I don't really like this :-(
Agreed. I think ld should detect whether STT_COMMON is supported by
some sort of test at link time. This could be as simple as detecting
the target glibc version number.
--
Alan Modra
Australia Development Lab, IBM