aboutsummaryrefslogtreecommitdiff
path: root/elf/ifuncdep2.c
AgeCommit message (Collapse)AuthorFilesLines
2015-03-31Replace __attribute__((visibility("protected")))hjl/pr17711/2.18H.J. Lu1-1/+7
With copy relocation, address of protected data defined in the shared library may be external. Compiler shouldn't asssume protected data will be local. But due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248 __attribute__((visibility("protected"))) doesn't work correctly, we need to use asm (".protected xxx") instead. Cherry-pick from master: e0ed2fb40a0e29c43cf60addc74741dab15f2e05 * elf/ifuncdep2.c (global): Replace __attribute__((visibility("protected"))) with asm (".protected global"). * elf/ifuncmod1.c (global): Likewise. * elf/ifuncmod5.c (global): Likewise.
2013-06-05Remove trailing whitespace.Joseph Myers1-4/+4
2009-10-30Uglify IFUNC tests for PPC.Alan Modra1-28/+6
2009-06-03Test for ELF IFUNC functionality.H.J. Lu1-0/+72