[Bug web/87190] Feedback on documentation for symbol visibility

noloader at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Sep 2 18:47:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87190

--- Comment #1 from Jeffrey Walton <noloader at gmail dot com> ---
In case it is needed, here's the citation for "Remember the docs say all
symbols are private (not some symbols)":

https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html:

Set the default ELF image symbol visibility to the specified option—all symbols
are marked with this unless overridden within the code. Using this feature can
very substantially improve linking and load times of shared object libraries,
produce more optimized code, provide near-perfect API export and prevent symbol
clashes. It is strongly recommended that you use this in any shared objects you
distribute...


More information about the Gcc-bugs mailing list