Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Joe Mario <mario@zk3.dec.com>
Subject: Re: linker hidden symbols
Date: 1999/12/13	[thread overview]
Message-ID: <38552302.963D0BFB@zk3.dec.com> (raw)
In-Reply-To: FMG5C4.AK5@world.std.com

brandon chubb wrote:

> Does anyone know if the ld flags -hidden and -hidden_symbol still work?
> It seems to completely ignore them..if anyone's used them and can
> give me a command line example I'd be much appreciative.  Any symbols
> I hand to -hidden_symbol still show up from 'nm'.

The -hidden and -hidden_symbol linker flags work fine.  They only work for
shared libraries.
The "nm" utility doesn't understand hidden symbols since hidden symbols
are only related
to shared libraries and used by the runtime loader.

If you use "odump -Dtv your_lib.so" to dump your library's symbols, you'll
see the hidden
symbols marked LOCAL rather than GLOBAL.

Joe Mario




      reply	other threads:[~1999-12-13  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-09  5:00 linker hidden symbols brandon chubb
1999-12-13  5:00 ` Joe Mario [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox