diff --git a/ChangeLog b/ChangeLog index b0f3a17863..0e0ab13a5d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2017-08-21 Joseph Myers + Revert: + 2017-08-21 H.J. Lu + + * include/libc-symbols.h (__hidden_proto_hiddenattr): New for + building libc.a. + (hidden_proto): Likewise. + (hidden_tls_proto): Likewise. + (__hidden_proto): Likewise. + [BZ #21973] * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file. * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise. diff --git a/include/libc-symbols.h b/include/libc-symbols.h index fe3571af52..d6a1c260f6 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -513,20 +513,8 @@ for linking") # endif #else # ifndef __ASSEMBLER__ -# if !defined SHARED && IS_IN (libc) && !defined LIBC_NONSHARED \ - && !defined NO_HIDDEN -# define __hidden_proto_hiddenattr(attrs...) \ - __attribute__ ((visibility ("hidden"), ##attrs)) -# define hidden_proto(name, attrs...) \ - __hidden_proto (name, , name, ##attrs) -# define hidden_tls_proto(name, attrs...) \ - __hidden_proto (name, __thread, name, ##attrs) -# define __hidden_proto(name, thread, internal, attrs...) \ - extern thread __typeof (name) name __hidden_proto_hiddenattr (attrs); -# else -# define hidden_proto(name, attrs...) -# define hidden_tls_proto(name, attrs...) -# endif +# define hidden_proto(name, attrs...) +# define hidden_tls_proto(name, attrs...) # else # define HIDDEN_JUMPTARGET(name) JUMPTARGET(name) # endif /* Not __ASSEMBLER__ */