aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorWill Newton <willnewton@sourceware.org>2013-07-18 15:49:22 +0000
committerWill Newton <willnewton@sourceware.org>2013-07-18 15:49:22 +0000
commit623cc2854011a4ffa83755d7ce9a9e078fa7ec80 (patch)
tree29deb49c7bd2c05038c9e1654516c4591f44bf03 /gas
parent39b07303826d3c6c4045b41c62541611d1f93729 (diff)
downloadgdb-623cc2854011a4ffa83755d7ce9a9e078fa7ec80.zip
gdb-623cc2854011a4ffa83755d7ce9a9e078fa7ec80.tar.gz
gdb-623cc2854011a4ffa83755d7ce9a9e078fa7ec80.tar.bz2
gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads.
On Ubuntu by default the compiler passes --as-needed to ld which means no DT_NEEDED entry is added for libpthread when building the TLS tests. This causes the test to fail as libpthread is required to look up TLS variables. Add calls to pthread_testcancel to make sure libpthread gets linked. gdb/testsuite/ChangeLog: 2013-07-18 Will Newton <will.newton@linaro.org> * gdb.threads/tls-nodebug.c: Call pthread_testcancel to ensure the test is linked against pthreads. * gdb.threads/tls-var-main.c: Likewise. * gdb.threads/tls-shared.c: Likewise.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions