]> sourceware.org Git - glibc.git/commitdiff
Define __libc_initial for the static libc
authorFlorian Weimer <fweimer@redhat.com>
Fri, 9 Aug 2024 14:17:14 +0000 (16:17 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 19 Aug 2024 14:12:08 +0000 (16:12 +0200)
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit eb0e50e9a1cf80a2ba6f33f990a08ef37a3267fb)

include/libc-internal.h

index 87ac591835637e4d849f1112a351772af4b79f07..1ef43ffe673907a0615379ff48c869dc4bc5dab5 100644 (file)
@@ -53,6 +53,9 @@ extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
    is not for an audit module, not loaded via dlmopen, and not loaded
    via static dlopen either).  */
 extern _Bool __libc_initial attribute_hidden;
+#else
+/* The static libc is always the initial namespace.  */
+# define __libc_initial ((_Bool) 1)
 #endif
 
 #endif /* _LIBC_INTERNAL  */
This page took 0.044125 seconds and 5 git commands to generate.