about summary refs log tree commit diff
path: root/scripts/data/localplt-s390x-linux-gnu.data
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2012-07-20 23:23:20 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2012-07-20 23:28:34 +0530
commitb2ae49dab80bb00771dd4c29b518f1829690d55b (patch)
treec00539a38b053050c8d1417a78366361af9e33ae /scripts/data/localplt-s390x-linux-gnu.data
parentd37cbdaa86f484dc5be58be391da739df862bf96 (diff)
downloadglibc-b2ae49dab80bb00771dd4c29b518f1829690d55b.tar.gz
glibc-b2ae49dab80bb00771dd4c29b518f1829690d55b.tar.xz
glibc-b2ae49dab80bb00771dd4c29b518f1829690d55b.zip
Fix tst-pthread-getattr test case
In some cases, the compiler would optimize out the call to
allocate_and_test and thus result in a false positive for the test
case. Another problem was the fact that the compiler could in some
cases generate additional shifting of the stack pointer, resulting in
alloca moving the stack pointer beyond what is allowed by the
rlimit. Hence, accessing the stackaddr returned by pthread_getattr_np
is safer than relying on the alloca'd result.

Another problem is when RLIMIT may be very large, which may result in
violation of other resource limits. Hence we cap the max stack size to
8M for this test.
Diffstat (limited to 'scripts/data/localplt-s390x-linux-gnu.data')
0 files changed, 0 insertions, 0 deletions