diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-18 05:09:52 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-18 05:09:52 +0000 |
commit | 9c5b8369abae21b86c0c80f3336f2eb2a52adee0 (patch) | |
tree | e0f800f456a1a8b2465a69db1b32adc53e8a9407 /gold/testsuite/Makefile.am | |
parent | 8a2492ee53079de2710f5c0970760e179efee4bd (diff) | |
download | gdb-9c5b8369abae21b86c0c80f3336f2eb2a52adee0.zip gdb-9c5b8369abae21b86c0c80f3336f2eb2a52adee0.tar.gz gdb-9c5b8369abae21b86c0c80f3336f2eb2a52adee0.tar.bz2 |
* archive.cc (Archive::add_symbols): Check for a version attached
to the symbol name in the archive map.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_11.
(ver_test_11_SOURCES, ver_test_11_DEPENDENCIES): Define.
(ver_test_11_LDFLAGS, ver_test_11_LDADD): Define.
(ver_test_11.a): New target.
* testsuite/Makefile.in: Rebuild.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 9ea4f95..1c699f7 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -819,6 +819,14 @@ ver_test_10.syms: ver_test_10.so ver_test_10.so: gcctestdir/ld ver_test_2.o ver_test_10.script $(CXXLINK) -Bgcctestdir/ -shared -Wl,--version-script,$(srcdir)/ver_test_10.script ver_test_2.o +check_PROGRAMS += ver_test_11 +ver_test_11_SOURCES = ver_test_main_2.cc +ver_test_11_DEPENDENCIES = gcctestdir/ld ver_test_11.a +ver_test_11_LDFLAGS = -Bgcctestdir/ -Wl,-R,. +ver_test_11_LDADD = ver_test_11.a +ver_test_11.a: ver_test_1.o ver_test_2.o ver_test_4.o + $(TEST_AR) rc $@ $^ + check_PROGRAMS += protected_1 protected_1_SOURCES = \ protected_main_1.cc protected_main_2.cc protected_main_3.cc |