Support for ELF's STT_COMMON symbol type
Nick Clifton
nickc@redhat.com
Tue Oct 9 14:49:00 GMT 2007
Hi Guys,
Here is a revised patch which I think is suitable for checking in, but I
would like to hear from anyone who disagrees or has any concerns. This version
of the patch:
* 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.
* The assembler now checks to see if the .type pseudo-op is being used to
make an already defined symbol into a common, and if so it issues an error
message and ignores the request.
* I have added some extra tests to the linker testsuite to cover linking
with -static, -shared, -r, and -pie.
Comments ?
Cheers
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stt-common.patch.bz2
Type: application/x-bzip2
Size: 4933 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20071009/6a7631f7/attachment.bz2>
More information about the Binutils
mailing list