diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2013-03-05 13:19:03 +0100 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2013-03-05 13:19:03 +0100 |
commit | 5f67c04f5e076d3cfc4d810e7f5d65ce1788b749 (patch) | |
tree | d86539feeba0e4ad1169373b69ed56720fd91703 | |
parent | c3e94a953347ecf361ab400111dbb1a62505c7fe (diff) | |
download | glibc-5f67c04f5e076d3cfc4d810e7f5d65ce1788b749.tar.gz glibc-5f67c04f5e076d3cfc4d810e7f5d65ce1788b749.tar.xz glibc-5f67c04f5e076d3cfc4d810e7f5d65ce1788b749.zip |
S/390: Use attribute_hidden in ifunc-resolve.c
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/s390/s390-32/multiarch/ifunc-resolve.c | 6 | ||||
-rw-r--r-- | sysdeps/s390/s390-64/multiarch/ifunc-resolve.c | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog index 1ff25c0c5d..0e8b883f5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use + attribute_hidden. + * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise. + +2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> + * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the fourth parameter needed for rt_sigprocmask syscall. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: diff --git a/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c b/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c index fcbd15e26e..d57a907dff 100644 --- a/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c +++ b/sysdeps/s390/s390-32/multiarch/ifunc-resolve.c @@ -34,9 +34,9 @@ \ /* Make the declarations of the optimized functions hidden in order to prevent GOT slots being generated for them. */ \ - extern __attribute__((visibility("hidden"))) void *FUNC##_z196; \ - extern __attribute__((visibility("hidden"))) void *FUNC##_z10; \ - extern __attribute__((visibility("hidden"))) void *FUNC##_g5; \ + extern void *FUNC##_z196 attribute_hidden; \ + extern void *FUNC##_z10 attribute_hidden; \ + extern void *FUNC##_g5 attribute_hidden; \ \ void *resolve_##FUNC (unsigned long int dl_hwcap) \ { \ diff --git a/sysdeps/s390/s390-64/multiarch/ifunc-resolve.c b/sysdeps/s390/s390-64/multiarch/ifunc-resolve.c index 256179b269..14d9c13ebf 100644 --- a/sysdeps/s390/s390-64/multiarch/ifunc-resolve.c +++ b/sysdeps/s390/s390-64/multiarch/ifunc-resolve.c @@ -34,9 +34,9 @@ \ /* Make the declarations of the optimized functions hidden in order to prevent GOT slots being generated for them. */ \ - extern __attribute__((visibility("hidden"))) void *FUNC##_z196; \ - extern __attribute__((visibility("hidden"))) void *FUNC##_z10; \ - extern __attribute__((visibility("hidden"))) void *FUNC##_z900; \ + extern void *FUNC##_z196 attribute_hidden; \ + extern void *FUNC##_z10 attribute_hidden; \ + extern void *FUNC##_z900 attribute_hidden; \ \ void *resolve_##FUNC (unsigned long int dl_hwcap) \ { \ |