Pass -mrelax-relocations=yes to $(TEST_AS)
x86_64_mov_to_lea5.o and x86_64_mov_to_lea6.o must be assembled with -mrelax-relocations=yes since when assembler is configured with --disable-x86-relax-relocations, R_X86_64_GOTPCRELX relocation won't be generated. This linker optimization requires R_X86_64_GOTPCRELX relocation. This patch also removed the duplicated x86_64_overflow_pc32.o target. * testsuite/Makefile.am (x86_64_mov_to_lea5.o): Pass -mrelax-relocations=yes to $(TEST_AS). (x86_64_mov_to_lea6.o): Likewise. (x86_64_overflow_pc32.o): Remove duplicated target. * testsuite/Makefile.in: Regenerated.
This commit is contained in:
parent
b442c911ee
commit
1cd17042aa
3 changed files with 12 additions and 8 deletions
|
@ -1,3 +1,11 @@
|
|||
2016-02-15 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* testsuite/Makefile.am (x86_64_mov_to_lea5.o): Pass
|
||||
-mrelax-relocations=yes to $(TEST_AS).
|
||||
(x86_64_mov_to_lea6.o): Likewise.
|
||||
(x86_64_overflow_pc32.o): Remove duplicated target.
|
||||
* testsuite/Makefile.in: Regenerated.
|
||||
|
||||
2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
|
||||
|
||||
* s390.cc (Target_s390::match_view_u): New helper method.
|
||||
|
|
|
@ -1010,9 +1010,9 @@ x86_64_mov_to_lea3.o: x86_64_mov_to_lea2.s
|
|||
x86_64_mov_to_lea4.o: x86_64_mov_to_lea2.s
|
||||
$(TEST_AS) --64 -o $@ $<
|
||||
x86_64_mov_to_lea5.o: x86_64_mov_to_lea3.s
|
||||
$(TEST_AS) --x32 -o $@ $<
|
||||
$(TEST_AS) --x32 -mrelax-relocations=yes -o $@ $<
|
||||
x86_64_mov_to_lea6.o: x86_64_mov_to_lea3.s
|
||||
$(TEST_AS) --64 -o $@ $<
|
||||
$(TEST_AS) --64 -mrelax-relocations=yes -o $@ $<
|
||||
x86_64_mov_to_lea7.o: x86_64_mov_to_lea4.s
|
||||
$(TEST_AS) --x32 -o $@ $<
|
||||
x86_64_mov_to_lea8.o: x86_64_mov_to_lea4.s
|
||||
|
@ -1091,8 +1091,6 @@ x86_64_overflow_pc32.err: x86_64_overflow_pc32.o gcctestdir/ld
|
|||
check_SCRIPTS += x32_overflow_pc32.sh
|
||||
check_DATA += x32_overflow_pc32.err
|
||||
MOSTLYCLEANFILES += x32_overflow_pc32.err
|
||||
x86_64_overflow_pc32.o: x86_64_overflow_pc32.s
|
||||
$(TEST_AS) -o $@ $<
|
||||
x32_overflow_pc32.o: x86_64_overflow_pc32.s
|
||||
$(TEST_AS) --x32 -o $@ $<
|
||||
x32_overflow_pc32.err: x32_overflow_pc32.o gcctestdir/ld
|
||||
|
|
|
@ -5455,9 +5455,9 @@ uninstall-am:
|
|||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x86_64_mov_to_lea4.o: x86_64_mov_to_lea2.s
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) --64 -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x86_64_mov_to_lea5.o: x86_64_mov_to_lea3.s
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) --x32 -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) --x32 -mrelax-relocations=yes -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x86_64_mov_to_lea6.o: x86_64_mov_to_lea3.s
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) --64 -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) --64 -mrelax-relocations=yes -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x86_64_mov_to_lea7.o: x86_64_mov_to_lea4.s
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) --x32 -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x86_64_mov_to_lea8.o: x86_64_mov_to_lea4.s
|
||||
|
@ -5528,8 +5528,6 @@ uninstall-am:
|
|||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ rm -f $@; \
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ exit 1; \
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ fi
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x86_64_overflow_pc32.o: x86_64_overflow_pc32.s
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x32_overflow_pc32.o: x86_64_overflow_pc32.s
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@ $(TEST_AS) --x32 -o $@ $<
|
||||
@DEFAULT_TARGET_X86_64_TRUE@@GCC_TRUE@@NATIVE_LINKER_TRUE@x32_overflow_pc32.err: x32_overflow_pc32.o gcctestdir/ld
|
||||
|
|
Loading…
Reference in a new issue