diff --git a/ChangeLog b/ChangeLog index fd9ba11e6f..6372ec74df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2018-11-12 Joseph Myers + * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def): + Use __attribute_copy__ to copy attributes from name. + * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW with __hidden_ver1 call. * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise. diff --git a/sysdeps/arm/arm-ifunc.h b/sysdeps/arm/arm-ifunc.h index 80f4f0e3a3..71fb172b3b 100644 --- a/sysdeps/arm/arm-ifunc.h +++ b/sysdeps/arm/arm-ifunc.h @@ -27,7 +27,8 @@ #if defined SHARED # define arm_libc_ifunc_hidden_def(redirect_name, name) \ __hidden_ver1 (name, __GI_##name, redirect_name) \ - __attribute__ ((visibility ("hidden"))) + __attribute__ ((visibility ("hidden"))) \ + __attribute_copy__ (name) #else # define arm_libc_ifunc_hidden_def(redirect_name, name) #endif