diff options
author | Florian Weimer <fweimer@redhat.com> | 2024-08-09 16:17:14 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-10-03 11:48:39 +0200 |
commit | 6d433cecb9d2b3352bc53be9723bc10142695e82 (patch) | |
tree | e4e8aac86c4598b21751ac5b4ab6e3e7005c8387 | |
parent | x86: Fix bug in strchrnul-evex512 [BZ #32078] (diff) | |
download | glibc-6d433cecb9d2b3352bc53be9723bc10142695e82.tar.gz glibc-6d433cecb9d2b3352bc53be9723bc10142695e82.tar.bz2 glibc-6d433cecb9d2b3352bc53be9723bc10142695e82.zip |
Define __libc_initial for the static libc
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
(cherry picked from commit eb0e50e9a1cf80a2ba6f33f990a08ef37a3267fb)
(cherry picked from commit 37c2aa4eaa0adc4193bc0e1f520b677ad30c9e4d)
-rw-r--r-- | include/libc-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h index 87ac591835..1ef43ffe67 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -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 */ |