Skip to content
Commit 9d0e3032 authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

elf: Add test case for [BZ #19329]



Test concurrent dlopen and pthread_create when the loaded modules have
TLS.  This triggers dl-tls assertion failures more reliably than the
nptl/tst-stack4 test.

The dlopened module has 100 DT_NEEDED dependencies with TLS, they were
reused from an existing TLS test. The number of created threads during
dlopen depends on filesystem speed and hardware, but at most 3 threads
are alive at a time to limit resource usage.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent f4f8f4d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment