summaryrefslogtreecommitdiff
path: root/test/nptl
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-06 20:28:30 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-06 20:28:30 +0200
commit17ad14e5780533db90171e16b95dbeda4e81ffb0 (patch)
treeaeab381f2eff2192ef5b23a58270c0f19633d562 /test/nptl
parentd4d4f37fda7fa57e57132ff2f0d735ce7cc2178e (diff)
test: fix tests including non-wrapper libgcc exception handling code
The tests shouldn't include libgcc exception handling functions directly from libgcc.a when a non-shared gcc compiler is used while compiling the testcases. These fixes open testsuite regressions found for ppc and xtensa.
Diffstat (limited to 'test/nptl')
-rw-r--r--test/nptl/Makefile.in28
1 files changed, 25 insertions, 3 deletions
diff --git a/test/nptl/Makefile.in b/test/nptl/Makefile.in
index f5d76da8e..9a3b10489 100644
--- a/test/nptl/Makefile.in
+++ b/test/nptl/Makefile.in
@@ -103,9 +103,31 @@ CFLAGS_tst-tls5modf.so := -fPIC -DPIC -DSHARED -shared -DNOT_IN_libc
CFLAGS_tst-fini1mod.so := -fPIC -DPIC -DSHARED -shared -DNOT_IN_libc
LDFLAGS_tst-cond11 = -lrt
LDFLAGS_tst-cond19 = -lrt
-LDFLAGS_tst-cancel18 = -lrt
-LDFLAGS_tst-cancelx18 = -lrt
-LDFLAGS_tst-clock2 = -lrt
+
+LDFLAGS_tst-cancelx2 = -lc
+LDFLAGS_tst-cancelx3 = -lc
+LDFLAGS_tst-cancelx4 = -lc
+LDFLAGS_tst-cancelx6 = -lc
+LDFLAGS_tst-cancelx6 = -lc
+LDFLAGS_tst-cancelx7 = -lc
+LDFLAGS_tst-cancelx8 = -lc
+LDFLAGS_tst-cancelx9 = -lc
+LDFLAGS_tst-cancelx10 = -lc
+LDFLAGS_tst-cancelx11 = -lc
+LDFLAGS_tst-cancelx12 = -lc
+LDFLAGS_tst-cancelx13 = -lc
+LDFLAGS_tst-cancelx14 = -lc
+LDFLAGS_tst-cancelx15 = -lc
+LDFLAGS_tst-cancelx16 = -lc
+LDFLAGS_tst-cancelx18 = -lc
+LDFLAGS_tst-cancelx20 = -lc
+LDFLAGS_tst-cancelx21 = -lc
+LDFLAGS_tst-cleanupx0 = -lc
+LDFLAGS_tst-cleanupx1 = -lc
+LDFLAGS_tst-cleanupx2 = -lc
+LDFLAGS_tst-cleanupx3 = -lc
+LDFLAGS_tst-oncex3 = -lc
+LDFLAGS_tst-oncex4 = -lc
LDFLAGS_tst-rwlock14 = -lrt
LDFLAGS_tst-fini1 = -Wl,-rpath=./ tst-fini1mod.so
LDFLAGS_tst-fini1mod.so = -Wl,-soname=tst-fini1mod.so