Support for ELF's STT_COMMON symbol type
H.J. Lu
hjl@lucon.org
Wed Oct 3 14:42:00 GMT 2007
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.
More information about the Binutils
mailing list