From: Catherine Moore Date: Tue, 13 May 2014 13:36:56 +0000 (-0400) Subject: configure.ac: Fix assembly for explicit JALR relocation check. X-Git-Tag: releases/gcc-5.1.0~7612 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e1f96b5f65f58bdb8dbbc697ac0b27f1894cbcf;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cc6ceb4dce73..f8481729212c 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 d912261c1cf9..f4db0a036560 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 5565524c89a8..8f17dfb42bbd 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