This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2005 15:51:49 -0000
- Subject: [Bug middle-end/20218] Can't use __attribute__ ((visibility ("hidden"))) to hide a symbol
- References: <20050225230026.20218.hjl@lucon.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From hjl at lucon dot org 2005-02-28 15:51 -------
You don't have to emit a STV_HIDDEN SHN_UNDEF symbol unless it is referenced.
On HPUX/ia64, gcc does emit SHN_UNDEF symbols. I hope it only emits referenced
SHN_UNDEF symbols.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20218