This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support for ELF's STT_COMMON symbol type


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

Attachment: stt-common.patch.bz2
Description: BZip2 compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]