[Bug other/54182] -fvisibility=hidden shouldn't be disabled with -fPIE -pie
wbrana at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 10 17:39:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54182
wbrana <wbrana at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #14 from wbrana <wbrana at gmail dot com> 2012-08-10 17:39:27 UTC ---
-fvisibility=hidden is really disabled. Attached output from bash without
-fvisibility=hidden has 57 kB, but with -fvisibility=hidden only 11 kB.
Which compiler/linker flag except -fvisibility=hidden will make 11 kB output
from bash?
How exactly should I use linker version script to hide symbols in bash
executable or any other software?
More information about the Gcc-bugs
mailing list