aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorCatherine Moore <clm@codesourcery.com>2014-05-13 09:36:56 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2014-05-13 09:36:56 -0400
commit1e1f96b5f65f58bdb8dbbc697ac0b27f1894cbcf (patch)
tree4708fd7b1a7a61b8faff9ab6a5c94f2d7a431481 /gcc
parent8fa5aaf3c066b3cbfe547b61089fb07a1a43c49f (diff)
downloadgcc-1e1f96b5f65f58bdb8dbbc697ac0b27f1894cbcf.zip
gcc-1e1f96b5f65f58bdb8dbbc697ac0b27f1894cbcf.tar.gz
gcc-1e1f96b5f65f58bdb8dbbc697ac0b27f1894cbcf.tar.bz2
configure.ac: Fix assembly for explicit JALR relocation check.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure4
-rw-r--r--gcc/configure.ac4
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 <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.
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