diff options
author | Ian Lance Taylor <iant@google.com> | 2007-10-12 17:32:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-10-12 17:32:20 +0000 |
commit | e03748586c49e8ad61ee2e4103668eb4ba3fc0e3 (patch) | |
tree | a8810f1a35c4f7a7c9557e0c0462605d10428305 /gold/testsuite/Makefile.am | |
parent | 2152e0479e9f184ba5d55e16f40cda6db7721d67 (diff) | |
download | gdb-e03748586c49e8ad61ee2e4103668eb4ba3fc0e3.zip gdb-e03748586c49e8ad61ee2e4103668eb4ba3fc0e3.tar.gz gdb-e03748586c49e8ad61ee2e4103668eb4ba3fc0e3.tar.bz2 |
From Craig Silverstein: expand the TLS test to a second file, to test
IE to LE conversion.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index c3e2928..8e1adb6 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -287,25 +287,25 @@ exception_shared.so: exception_test_1_pic.o exception_test_2_pic.o if TLS -tls_test_SOURCES = tls_test.cc tls_test_main.cc tls_test.h +tls_test_SOURCES = tls_test.cc tls_test_file2.cc tls_test_main.cc tls_test.h tls_test_DEPENDENCIES = gcctestdir/ld tls_test_LDFLAGS = -Bgcctestdir/ tls_test_LDADD = -lpthread tls_pic_test_SOURCES = tls_test_main.cc -tls_pic_test_DEPENDENCIES = gcctestdir/ld tls_test_pic.o +tls_pic_test_DEPENDENCIES = gcctestdir/ld tls_test_pic.o tls_test_file2_pic.o tls_pic_test_LDFLAGS = -Bgcctestdir/ -tls_pic_test_LDADD = tls_test_pic.o -lpthread +tls_pic_test_LDADD = tls_test_pic.o tls_test_file2_pic.o -lpthread -tls_static_test_SOURCES = tls_test.cc tls_test_main.cc +tls_static_test_SOURCES = tls_test.cc tls_test_file2.cc tls_test_main.cc tls_static_test_DEPENDENCIES = gcctestdir/ld tls_static_test_LDFLAGS = -Bgcctestdir/ -static tls_static_test_LDADD = -lpthread tls_static_pic_test_SOURCES = tls_test_main.cc -tls_static_pic_test_DEPENDENCIES = gcctestdir/ld +tls_static_pic_test_DEPENDENCIES = gcctestdir/ld tls_test_pic.o tls_test_file2_pic.o tls_static_pic_test_LDFLAGS = -Bgcctestdir/ -static -tls_static_pic_test_LDADD = tls_test_pic.o -lpthread +tls_static_pic_test_LDADD = tls_test_pic.o tls_test_file2_pic.o -lpthread tls_shared_test_SOURCES = tls_test_main.cc tls_shared_test_DEPENDENCIES = gcctestdir/ld tls_test_shared.so @@ -315,8 +315,11 @@ tls_shared_test_LDADD = tls_test_shared.so -lpthread tls_test_pic.o: tls_test.cc $(CXXCOMPILE) -c -fpic -o $@ $< -tls_test_shared.so: tls_test_pic.o - $(CXXLINK) -shared tls_test_pic.o +tls_test_file2_pic.o: tls_test_file2.cc + $(CXXCOMPILE) -c -fpic -o $@ $< + +tls_test_shared.so: tls_test_pic.o tls_test_file2_pic.o + $(CXXLINK) -shared tls_test_pic.o tls_test_file2_pic.o if FN_PTRS_IN_SO_WITHOUT_PIC @@ -325,8 +328,8 @@ tls_shared_nonpic_test_DEPENDENCIES = gcctestdir/ld tls_test_shared_nonpic.so tls_shared_nonpic_test_LDFLAGS = -Bgcctestdir/ -Wl,-R,. tls_shared_nonpic_test_LDADD = tls_test_shared_nonpic.so -lpthread -tls_test_shared_nonpic.so: tls_test.o - $(CXXLINK) -shared tls_test.o +tls_test_shared_nonpic.so: tls_test.o tls_test_file2.o + $(CXXLINK) -shared tls_test.o tls_test_file2.o endif |