From 1e1f96b5f65f58bdb8dbbc697ac0b27f1894cbcf Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Tue, 13 May 2014 09:36:56 -0400 Subject: [PATCH] configure.ac: Fix assembly for explicit JALR relocation check. 2014-05-13 Catherine Moore Sandra Loosemore gcc/ * configure.ac: Fix assembly for explicit JALR relocation check. * configure: Regenerate. Co-Authored-By: Sandra Loosemore From-SVN: r210375 --- gcc/ChangeLog | 6 ++++++ gcc/configure | 4 ++-- gcc/configure.ac | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc6ceb4..f848172 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-05-13 Catherine Moore + Sandra Loosemore + + * configure.ac: Fix assembly for explicit JALR relocation check. + * configure: Regenerate. + 2014-05-13 Kyrylo Tkachov * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR. diff --git a/gcc/configure b/gcc/configure index d912261..f4db0a0 100755 --- a/gcc/configure +++ b/gcc/configure @@ -26153,8 +26153,8 @@ $as_echo_n "checking assembler and linker for explicit JALR relocation... " >&6; fi elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x; then echo ' .ent x' > conftest.s - echo 'x: ld $2,%got_disp(y)($3)' >> conftest.s - echo ' ld $25,%call16(y)($28)' >> conftest.s + echo 'x: lw $2,%got_disp(y)($3)' >> conftest.s + echo ' lw $25,%call16(y)($28)' >> conftest.s echo ' .reloc 1f,R_MIPS_JALR,y' >> conftest.s echo '1: jalr $25' >> conftest.s echo ' .reloc 1f,R_MIPS_JALR,x' >> conftest.s diff --git a/gcc/configure.ac b/gcc/configure.ac index 5565524..8f17dfb 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4206,8 +4206,8 @@ x: fi elif test x$gcc_cv_as != x -a x$gcc_cv_ld != x -a x$gcc_cv_objdump != x; then echo ' .ent x' > conftest.s - echo 'x: ld $2,%got_disp(y)($3)' >> conftest.s - echo ' ld $25,%call16(y)($28)' >> conftest.s + echo 'x: lw $2,%got_disp(y)($3)' >> conftest.s + echo ' lw $25,%call16(y)($28)' >> conftest.s echo ' .reloc 1f,R_MIPS_JALR,y' >> conftest.s echo '1: jalr $25' >> conftest.s echo ' .reloc 1f,R_MIPS_JALR,x' >> conftest.s -- 2.7.4