* config/tc-ia64.c (note_register_values): Warning fix.

* config/tc-mips.c (append_insn): Likewise.
This commit is contained in:
Alan Modra 2003-06-30 04:10:48 +00:00
parent 113202d6bc
commit 6344efa4f2
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-06-30 Alan Modra <amodra@bigpond.net.au>
* config/tc-ia64.c (note_register_values): Warning fix.
* config/tc-mips.c (append_insn): Likewise.
2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (mips_set_options,mips_opts): Support for

View file

@ -8940,7 +8940,7 @@ note_register_values (idesc)
else if (idesc->operands[i] == IA64_OPND_PR_ROT)
{
if (idesc->operands[1] & ((valueT) 1 << 43))
qp_changemask = ~(valueT) 0xFFFFFFFFFFF | idesc->operands[1];
qp_changemask = -((valueT) 1 << 44) | idesc->operands[1];
else
qp_changemask = idesc->operands[1];
qp_changemask &= ~(valueT) 0xFFFF;

View file

@ -2116,7 +2116,8 @@ append_insn (place, ip, address_expr, reloc_type)
break;
case BFD_RELOC_MIPS_HIGHEST:
tmp = (address_expr->X_add_number + 0x800080008000) >> 16;
tmp = (address_expr->X_add_number
+ ((valueT) 0x8000 << 32) + 0x80008000) >> 16;
tmp >>= 16;
ip->insn_opcode |= (tmp >> 16) & 0xffff;
break;