about summary refs log tree commit diff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-18 16:33:52 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-22 14:24:26 +0000
commitd4a845daaf05e22207243b69624def1ee59607ac (patch)
tree1bb9a87846f5ebc3e0c30417c652162fb77e9829 /elf/Makefile
parent69ecb7b4a3287e814d315e0bab05705be4d9a010 (diff)
downloadglibc-d4a845daaf05e22207243b69624def1ee59607ac.tar.gz
glibc-d4a845daaf05e22207243b69624def1ee59607ac.tar.xz
glibc-d4a845daaf05e22207243b69624def1ee59607ac.zip
Fix elf/tst-dlmopen-twice to support enough link namespaces
The test dlmopens 10 namespaces recursively, which requires a glibc
tunable setting, otherwise it may run out of static TLS.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 72178d33ff..399b709a7d 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -2979,6 +2979,7 @@ tst-audit-tlsdesc-ENV = LD_AUDIT=$(objpfx)tst-auditmod-tlsdesc.so
 $(objpfx)tst-audit-tlsdesc-dlopen.out: $(objpfx)tst-auditmod-tlsdesc.so
 tst-audit-tlsdesc-dlopen-ENV = LD_AUDIT=$(objpfx)tst-auditmod-tlsdesc.so
 
+tst-dlmopen-twice-ENV = GLIBC_TUNABLES=glibc.rtld.nns=10
 $(objpfx)tst-dlmopen-twice.out: \
   $(objpfx)tst-dlmopen-twice-mod1.so \
   $(objpfx)tst-dlmopen-twice-mod2.so