diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/sparc/sparc-ifunc.h | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6372ec74df..8b82d3eccf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-11-13 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/sparc/sparc-ifunc.h [SHARED] + (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to + copy attributes from name. + 2018-11-12 Joseph Myers <joseph@codesourcery.com> * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def): diff --git a/sysdeps/sparc/sparc-ifunc.h b/sysdeps/sparc/sparc-ifunc.h index 561aeea2f8..10552e93c3 100644 --- a/sysdeps/sparc/sparc-ifunc.h +++ b/sysdeps/sparc/sparc-ifunc.h @@ -35,7 +35,8 @@ #if defined SHARED # define sparc_ifunc_redirected_hidden_def(redirect_name, name) \ __hidden_ver1 (name, __GI_##name, redirect_name) \ - __attribute__ ((visibility ("hidden"))); + __attribute__ ((visibility ("hidden"))) \ + __attribute_copy__ (name); #else # define sparc_ifunc_redirected_hidden_def(redirect_name, name) #endif |