Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* linker hidden symbols
@ 1999-12-09  5:00 brandon chubb
  1999-12-13  5:00 ` Joe Mario
  0 siblings, 1 reply; 2+ messages in thread
From: brandon chubb @ 1999-12-09  5:00 UTC (permalink / raw)


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'.

-- brandon



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linker hidden symbols
  1999-12-09  5:00 linker hidden symbols brandon chubb
@ 1999-12-13  5:00 ` Joe Mario
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Mario @ 1999-12-13  5:00 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-12-13  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-09  5:00 linker hidden symbols brandon chubb
1999-12-13  5:00 ` Joe Mario

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