about summary refs log tree commit diff
path: root/nptl/tst-cleanupx4aux.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-06-29 20:24:30 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-29 20:24:44 -0700
commitdfc9ea7b017570ee87d4cbd2bfe62833f0da64e1 (patch)
treec5b32e835f30016d56abf08e21323d1e8be4692e /nptl/tst-cleanupx4aux.c
parent6a40d8df0c269a953726a432c50702372b86c500 (diff)
downloadglibc-dfc9ea7b017570ee87d4cbd2bfe62833f0da64e1.tar.gz
glibc-dfc9ea7b017570ee87d4cbd2bfe62833f0da64e1.tar.xz
glibc-dfc9ea7b017570ee87d4cbd2bfe62833f0da64e1.zip
Compile tst-cleanupx4 test with -fexceptions
tst-cleanupx4 is linked with tst-cleanupx4.o and tst-cleanup4aux.o.
Since tst-cleanupx4.o is compiled from tst-cleanup4.c with -fexceptions,
tst-cleanup4aux.c should also be compiled with -fexceptions.

Tested on x86-64 and i686.

	[BZ #18645]
	* nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
	(test-extras): Add tst-cleanupx4aux.
	(CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
	($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
	tst-cleanupx4aux.o.
	* nptl/tst-cleanupx4aux.c: New file.
Diffstat (limited to 'nptl/tst-cleanupx4aux.c')
-rw-r--r--nptl/tst-cleanupx4aux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/tst-cleanupx4aux.c b/nptl/tst-cleanupx4aux.c
new file mode 100644
index 0000000000..00bafe4580
--- /dev/null
+++ b/nptl/tst-cleanupx4aux.c
@@ -0,0 +1 @@
+#include "tst-cleanup4aux.c"