This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2005 16:16:42 -0000
- Subject: [Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations
- References: <20050128064457.19664.andreas.pokorny@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-02-02 16:16 -------
> My linker patch is for PROTECTED function symbols. It tries to prevent
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520
Ok, just checked the testcase in binutils/584.
> BTW, R_X86_64_PC32 CAN NOT be used for global symbols since it is only 32bit
> while the address space is 64bit. x86 doesn't have this issue.
OK, noted. Now, why:
1- Adding visibility push(default)/pop to the library does *not* help on
x86_64 for this (comment #11) testcase?
2- Why visibility push(default)/pop are necessary only on x86_64?!?
Sorry, two naive questions, but really before delving in the technical
details I want to be sure that overall things are consistent.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664