diff options
author | Ian Lance Taylor <iant@google.com> | 2008-03-14 05:57:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-03-14 05:57:19 +0000 |
commit | be3e620119165a017266af64ae310cd6343a370a (patch) | |
tree | 57915f9f4f0cdf98cba70ce17782e116ba16dc4e /gold/testsuite/Makefile.am | |
parent | 36cf3ec26ac5ecc440b4fe014404981136778d2d (diff) | |
download | gdb-be3e620119165a017266af64ae310cd6343a370a.zip gdb-be3e620119165a017266af64ae310cd6343a370a.tar.gz gdb-be3e620119165a017266af64ae310cd6343a370a.tar.bz2 |
Don't get confused about whether a symbol is the default version if we
see a later reference to it. Add tests for this case.
Diffstat (limited to 'gold/testsuite/Makefile.am')
-rw-r--r-- | gold/testsuite/Makefile.am | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 0d1db37..191618a 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -534,6 +534,21 @@ ver_test_3.o: ver_test_3.cc ver_test_4.o: ver_test_4.cc $(CXXCOMPILE) -c -fpic -o $@ $< +check_PROGRAMS += ver_test_2 +ver_test_2_SOURCES = ver_test_main_2.cc +ver_test_2_DEPENDENCIES = gcctestdir/ld ver_test_4.so ver_test_2.so +ver_test_2_LDFLAGS = -Bgcctestdir/ -Wl,-R,. +ver_test_2_LDADD = ver_test_4.so ver_test_2.so + +if READELF + +check_SCRIPTS += ver_test_2.sh +check_DATA += ver_test_2.syms +ver_test_2.syms: ver_test_2 + readelf -s $< >$@ 2>/dev/null + +endif + check_PROGRAMS += script_test_1 script_test_1_SOURCES = script_test_1.cc script_test_1_DEPENDENCIES = gcctestdir/ld script_test_1.t |