Yay! Now everyone's happy! Group hug everyone!
/was a tenny bit worried about losing commercial intrest because we simply use ELF executables.
--- Mike Hearn mike@navi.cx wrote:
On Mon, 17 May 2004 04:05:51 +0200, Guido Draheim wrote:
gcc supports the universal attribute syntax, and
it does now know about more
symbol flavours as to their visibility. Probably
you want to have "hidden".
Attached are two simple test*.c files and a
makefile. The final sharedlib
symbol table contains only test3 after stripping.
- using a linker script instead
of in-source __attribute__ is left as an excercise
to the reader.
Ah, thanks. I did actually try __attribute__((visibility("hidden"))) but it still left symbols in the .symtab - of course if you strip the binary as well, this disappears too.