This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/56527] Provide an import counterpart to attribute((visibility("protected")))
- From: "luto at mit dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Mar 2013 00:37:20 +0000
- Subject: [Bug c/56527] Provide an import counterpart to attribute((visibility("protected")))
- Auto-submitted: auto-generated
- References: <bug-56527-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56527
--- Comment #1 from Andy Lutomirski <luto at mit dot edu> 2013-03-05 00:37:20 UTC ---
In fact, without an improvement like this, protected visibility is unusable on
objects -- anything linking against a protected object will generate a copy
relocation. The fact that the resulting binary is even loadable is IMO a bug
(whether in binutils for generating it or in glibc for loading it is
debatable.)