aboutsummaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-07-30 16:09:11 -0700
committerRoland McGrath <roland@hack.frob.com>2012-07-30 16:34:33 -0700
commitbea9b19322c77265033a068ac60c95a37e798a80 (patch)
treed3fad60d4780a5d86fe5dbedd994c3cd7625890b /elf/rtld.c
parentfc56c5bbc1a0d56b9b49171dd377c73c268ebcfd (diff)
downloadglibc-bea9b19322c77265033a068ac60c95a37e798a80.zip
glibc-bea9b19322c77265033a068ac60c95a37e798a80.tar.gz
glibc-bea9b19322c77265033a068ac60c95a37e798a80.tar.bz2
Fix lots of bitrot for stub configurations.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 06c4220..fc221ac 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -133,8 +133,10 @@ struct rtld_global _rtld_global =
._dl_nns = 1,
._dl_ns =
{
+#ifdef _LIBC_REENTRANT
[LM_ID_BASE] = { ._ns_unique_sym_table
= { .lock = _RTLD_LOCK_RECURSIVE_INITIALIZER } }
+#endif
}
};
/* If we would use strong_alias here the compiler would see a