From: Cary Coutant Date: Fri, 30 May 2014 17:21:27 +0000 (-0700) Subject: Fix testsuite to use newly-built linker for ehdr_start_test_4, and fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6fb832249b8c64e9c35571fdabc323a62ad31fa;p=binutils-gdb.git Fix testsuite to use newly-built linker for ehdr_start_test_4, and fix check script to look for the right binding. gold/ * testsuite/Makefile.am (ehdr_start_test_4): Fix typo in -B option. * testsuite/Makefile.in: Regenerate. * testsuite/ehdr_start_test_4.sh: Look for "U" instead of "w". --- diff --git a/gold/ChangeLog b/gold/ChangeLog index a9dd87b2c40..7b6fa81598e 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,9 @@ +2014-05-30 Cary Coutant + + * testsuite/Makefile.am (ehdr_start_test_4): Fix typo in -B option. + * testsuite/Makefile.in: Regenerate. + * testsuite/ehdr_start_test_4.sh: Look for "U" instead of "w". + 2014-05-27 H.J. Lu PR gold/16945 diff --git a/gold/testsuite/Makefile.am b/gold/testsuite/Makefile.am index 0373464ffba..379ac8a8f3b 100644 --- a/gold/testsuite/Makefile.am +++ b/gold/testsuite/Makefile.am @@ -2241,7 +2241,7 @@ MOSTLYCLEANFILES += ehdr_start_test_4 ehdr_start_test_4.syms: ehdr_start_test_4 $(TEST_NM) ehdr_start_test_4 > $@ ehdr_start_test_4: ehdr_start_test_4.o gcctestdir/ld - $(CXXLINK) -Bgcctestdir/ld/ -Wl,-Ttext=0x100100 $< + $(CXXLINK) -Bgcctestdir/ -Wl,-Ttext=0x100100 $< ehdr_start_test_4.o: ehdr_start_test.cc $(CXXCOMPILE) -c -DEHDR_START_WEAK -o $@ $< diff --git a/gold/testsuite/Makefile.in b/gold/testsuite/Makefile.in index 11403ac885e..04a42e8dbbb 100644 --- a/gold/testsuite/Makefile.in +++ b/gold/testsuite/Makefile.in @@ -5597,7 +5597,7 @@ uninstall-am: @GCC_TRUE@@NATIVE_LINKER_TRUE@ehdr_start_test_4.syms: ehdr_start_test_4 @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_NM) ehdr_start_test_4 > $@ @GCC_TRUE@@NATIVE_LINKER_TRUE@ehdr_start_test_4: ehdr_start_test_4.o gcctestdir/ld -@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXLINK) -Bgcctestdir/ld/ -Wl,-Ttext=0x100100 $< +@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXLINK) -Bgcctestdir/ -Wl,-Ttext=0x100100 $< @GCC_TRUE@@NATIVE_LINKER_TRUE@ehdr_start_test_4.o: ehdr_start_test.cc @GCC_TRUE@@NATIVE_LINKER_TRUE@ $(CXXCOMPILE) -c -DEHDR_START_WEAK -o $@ $< diff --git a/gold/testsuite/ehdr_start_test_4.sh b/gold/testsuite/ehdr_start_test_4.sh index ad0a5a7ef07..5e3d20fc66b 100755 --- a/gold/testsuite/ehdr_start_test_4.sh +++ b/gold/testsuite/ehdr_start_test_4.sh @@ -35,6 +35,6 @@ check() fi } -check ehdr_start_test_4.syms "w __ehdr_start" +check ehdr_start_test_4.syms "U __ehdr_start" exit 0