From: John David Anglin Date: Fri, 24 Nov 2006 04:30:57 +0000 (+0000) Subject: pa.c (return_addr_rtx): Change 0xe0400002 to -532676606. X-Git-Tag: releases/gcc-4.3.0~8307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af1e323e93b86d33d9474dcdb64774b5e8c258e8;p=thirdparty%2Fgcc.git pa.c (return_addr_rtx): Change 0xe0400002 to -532676606. * pa.c (return_addr_rtx): Change 0xe0400002 to -532676606. From-SVN: r119145 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d5dfb09e39a0..c671d35a3292 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-11-23 John David Anglin + + * pa.c (return_addr_rtx): Change 0xe0400002 to -532676606. + 2006-11-24 Manuel Lopez-Ibanez PR c/2707 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 7c5f6f35e5de..7b274fdc9934 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -4338,8 +4338,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. */