diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-11 23:33:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-11 23:33:11 +0000 |
commit | c03c769248a8169cae13bf922dd3693bf4ffe0e9 (patch) | |
tree | 11f0a21fb7e8aaf91e2dc303c24d0c99ac6c16b2 /gold/testsuite/Makefile.am | |
parent | 535890bb6466aa82b46ea191a37e75b8936aa913 (diff) | |
download | gdb-c03c769248a8169cae13bf922dd3693bf4ffe0e9.zip gdb-c03c769248a8169cae13bf922dd3693bf4ffe0e9.tar.gz gdb-c03c769248a8169cae13bf922dd3693bf4ffe0e9.tar.bz2 |
From Cary Coutant: Test TLS initial-exec model.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 293ff68..e24c0ba 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -317,6 +317,7 @@ if TLS check_PROGRAMS += tls_test check_PROGRAMS += tls_pic_test check_PROGRAMS += tls_shared_test +check_PROGRAMS += tls_shared_ie_test tls_test_pic.o: tls_test.cc $(CXXCOMPILE) -c -fpic -o $@ $< tls_test_file2_pic.o: tls_test_file2.cc @@ -324,6 +325,13 @@ tls_test_file2_pic.o: tls_test_file2.cc tls_test_shared.so: tls_test_pic.o tls_test_file2_pic.o gcctestdir/ld $(CXXLINK) -Bgcctestdir/ -shared tls_test_pic.o tls_test_file2_pic.o +tls_test_pic_ie.o: tls_test.cc + $(CXXCOMPILE) -c -fpic -ftls-model=initial-exec -o $@ $< +tls_test_file2_pic_ie.o: tls_test_file2.cc + $(CXXCOMPILE) -c -fpic -ftls-model=initial-exec -o $@ $< +tls_test_ie_shared.so: tls_test_pic_ie.o tls_test_file2_pic_ie.o gcctestdir/ld + $(CXXLINK) -Bgcctestdir/ -shared tls_test_pic_ie.o tls_test_file2_pic_ie.o + 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/ @@ -339,6 +347,11 @@ tls_shared_test_DEPENDENCIES = gcctestdir/ld tls_test_shared.so tls_shared_test_LDFLAGS = -Bgcctestdir/ -Wl,-R,. tls_shared_test_LDADD = tls_test_shared.so -lpthread +tls_shared_ie_test_SOURCES = tls_test_main.cc +tls_shared_ie_test_DEPENDENCIES = gcctestdir/ld tls_test_ie_shared.so +tls_shared_ie_test_LDFLAGS = -Bgcctestdir/ -Wl,-R,. +tls_shared_ie_test_LDADD = tls_test_ie_shared.so -lpthread + if STATIC_TLS check_PROGRAMS += tls_static_test check_PROGRAMS += tls_static_pic_test |