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".
This commit is contained in:
parent
9ba6657a6b
commit
f6fb832249
@ -1,3 +1,9 @@
|
||||
2014-05-30 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
* 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 <hongjiu.lu@intel.com>
|
||||
|
||||
PR gold/16945
|
||||
|
@ -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 $@ $<
|
||||
|
||||
|
@ -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 $@ $<
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user