From 17ad14e5780533db90171e16b95dbeda4e81ffb0 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 6 Oct 2016 20:28:30 +0200 Subject: 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. --- test/nptl/Makefile.in | 28 +++++++++++++++++++++++++--- 1 file 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 -- cgit v1.2.3