configure.ac: Fix assembly for explicit JALR relocation check.
authorCatherine Moore <clm@codesourcery.com>
Tue, 13 May 2014 13:36:56 +0000 (09:36 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Tue, 13 May 2014 13:36:56 +0000 (09:36 -0400)
2014-05-13  Catherine Moore  <clm@codesourcery.com>
    Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* configure.ac: Fix assembly for explicit JALR relocation check.
* configure: Regenerate.

Co-Authored-By: Sandra Loosemore <sandra@codesourcery.com>
From-SVN: r210375

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index cc6ceb4..f848172 100644 (file)
@@ -1,3 +1,9 @@
+2014-05-13  Catherine Moore  <clm@codesourcery.com>
+           Sandra Loosemore  <sandra@codesourcery.com>
+
+       * configure.ac: Fix assembly for explicit JALR relocation check.
+       * configure: Regenerate.
+
 2014-05-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR.
index d912261..f4db0a0 100755 (executable)
@@ -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
index 5565524..8f17dfb 100644 (file)
@@ -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