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
- From: "H.J. Lu" <hjl at lucon dot org>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 3 Oct 2007 07:03:50 -0700
- Subject: Re: Support for ELF's STT_COMMON symbol type
- References: <m3wsu4mp7p.fsf@redhat.com>
On Wed, Oct 03, 2007 at 12:07:06PM +0100, Nick Clifton wrote:
> Hi Guys,
>
> You may want to look at PR 4799 where I have proposed a patch for
> adding support for the ELF standard's STT_COMMON symbol type to the
> binutils. This might matter to you because the patch would change
> the behaviour of ELF targeted assemblers so that all common symbols
> would have the STT_COMMON type rather than the STT_OBJECT type. I
> am particularly interested to know if there are any tools or build
> systems out there that rely upon common symbols having the
> STT_OBJECT type.
>
> http://sourceware.org/bugzilla/show_bug.cgi?id=4799
>
You need a few linker testcases for ld, ld -r, ld -pie, ld -shared
to make sure that linker generates correct symbol types for all
cases.
H.J.