1 Fix a regression in glibc 2.27 when built without ldconfig. See
2 <https://sourceware.org/bugzilla/show_bug.cgi?id=22977> for details.
4 diff --git a/include/libc-symbols.h b/include/libc-symbols.h
5 index 6137304b0b..7d630f36d8 100644
6 --- a/include/libc-symbols.h
7 +++ b/include/libc-symbols.h
8 @@ -508,7 +508,7 @@ for linking")
10 # if !defined SHARED && IS_IN (libc) && !defined LIBC_NONSHARED \
11 && (!defined PIC || !defined NO_HIDDEN_EXTERN_FUNC_IN_PIE) \
12 - && !defined NO_HIDDEN
13 + && !defined NO_HIDDEN && defined USE_LDCONFIG
14 # define __hidden_proto_hiddenattr(attrs...) \
15 __attribute__ ((visibility ("hidden"), ##attrs))
16 # define hidden_proto(name, attrs...) \