PATCH: Properly support Solaris 2 ABI for symbol versioning in GNU ld
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Mon Mar 29 15:48:00 GMT 2010
"H.J. Lu" <hjl.tools@gmail.com> writes:
> On Wed, Feb 24, 2010 at 8:23 AM, Rainer Orth
> <ro@cebitec.uni-bielefeld.de> wrote:
>
>> +/* Restore default: we cannot use ELFOSABI_SOLARIS, otherwise ELFOSABI_NONE
>> + objects won't be recognized. */
>> +#undef ELF_OSABI
>> +
>
> Could you please use ELFOSABI_SOLARIS, similarly to ELFOSABI_FREEBSD?
Certainly not yet, for the reason mentioned in the comment you cite:
when I first developed the patch, I tried this, but gld failed to link
any objects with ELFOSABI_NONE. Until I can guarantee interoperabitlity
with vendor tools, even on older Solaris 2 versions where Sun ld doesn't
set/support ELFOSABI_SOLARIS, I won't make this change.
It is on my agenda, but not of the highest priority right now.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Binutils
mailing list