]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
pa.c (return_addr_rtx): Change 0xe0400002 to -532676606.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Fri, 24 Nov 2006 04:37:01 +0000 (04:37 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 24 Nov 2006 04:37:01 +0000 (04:37 +0000)
* pa.c (return_addr_rtx): Change 0xe0400002 to -532676606.

From-SVN: r119148

gcc/ChangeLog
gcc/config/pa/pa.c

index a3c057284545fdf55ef88f19af1b0dd4c3db24b3..43202958dba364a820fe808ada73277425cd4dcd 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-23  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.c (return_addr_rtx): Change 0xe0400002 to -532676606.
+
 2006-11-19  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        PR target/29114
index b1ce12c48a99d6059356bcc241586ef3b25cc6af..b472f2b66b644e7e9ed2901fc65988f210c8b012 100644 (file)
@@ -4682,8 +4682,10 @@ return_addr_rtx (int count, rtx frameaddr)
                 GEN_INT (0x00011820), NE, NULL_RTX, SImode, 1);
   emit_jump_insn (gen_bne (label));
 
+  /* 0xe0400002 must be specified as -532676606 so that it won't be
+     rejected as an invalid immediate operand on 64-bit hosts.  */
   emit_cmp_insn (gen_rtx_MEM (SImode, plus_constant (ins, 12)),
-                GEN_INT (0xe0400002), NE, NULL_RTX, SImode, 1);
+                GEN_INT (-532676606), NE, NULL_RTX, SImode, 1);
 
   /* If there is no export stub then just use the value saved from
      the return pointer register.  */