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

2018-09-02 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87190 --- Comment #3 from Alexander Monakov --- Remember that -fvisibility is not a perfect substitute to proper annotations via the visibility pragma and attributes. If you do extern void foo(void); void bar() { foo(); } then with -fvisibility=hi

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

2018-09-02 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87190 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

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

2018-09-02 Thread noloader at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87190 --- Comment #1 from Jeffrey Walton --- 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