Make Solaris global ABI syms STT_OBJECT and STV_HIDDEN Solaris

Alan Modra amodra@gmail.com
Tue Feb 17 22:26:17 GMT 2026
On Tue, Feb 17, 2026 at 03:09:58PM +0100, Rainer Orth wrote:
> Just two issues:
> 
> * The subject claims to make the ABI symbols STV_HIDDEN when in fact it
>   makes them STV_PROTECTED (and there's a dangling 'Solaris' at the end).

Fixed.

> * Right now it makes *all* of them STV_PROTECTED, while ld only does
>   this for _GLOBAL_OFFSET_TABLE_ as I'd found when testing the previous
>   version of this patch.  I'd made the trivial adjustment to fix this at
>   the time.

Yes, that is intentional.

-- 
Alan Modra


More information about the Binutils mailing list