aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc-ifunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/sparc-ifunc.h')
-rw-r--r--sysdeps/sparc/sparc-ifunc.h3
1 files changed, 2 insertions, 1 deletions
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