2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* s390-dis.c (print_insn_s390): Avoid 'long long'.
This commit is contained in:
parent
7330f9c3a4
commit
c8676ae452
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||
|
||||
* s390-dis.c (print_insn_s390): Avoid 'long long'.
|
||||
|
||||
2009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||
|
||||
* s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands.
|
||||
|
|
|
@ -222,8 +222,8 @@ print_insn_s390 (bfd_vma memaddr, struct disassemble_info *info)
|
|||
else if (operand->flags & S390_OPERAND_CR)
|
||||
(*info->fprintf_func) (info->stream, "%%c%i", value);
|
||||
else if (operand->flags & S390_OPERAND_PCREL)
|
||||
(*info->print_address_func) (memaddr +
|
||||
(((long long)(int)value) << 1), info);
|
||||
(*info->print_address_func) (memaddr + (int)value + (int)value,
|
||||
info);
|
||||
else if (operand->flags & S390_OPERAND_SIGNED)
|
||||
(*info->fprintf_func) (info->stream, "%i", (int) value);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue