------- 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