This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Properly support Solaris 2 ABI for symbol versioning in GNU ld
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 29 Mar 2010 12:58:06 +0200
- Subject: Re: PATCH: Properly support Solaris 2 ABI for symbol versioning in GNU ld
- References: <yddocjehd49.fsf@CeBiTec.Uni-Bielefeld.DE> <6dc9ffc81003280748o44c74501l39eaedf867fafe5a@mail.gmail.com>
"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