* bfd/bfd-in2.h (BFD_RELOC_ARM_HVC): New enum value.
[binutils-gdb.git] / opcodes / s390-dis.c
index fe208ba9ff25b524cce113092bd1c0bfc861aaab..b9eeb7976b7a6b362eccdc685eadbdd4a10745c4 100644 (file)
@@ -196,8 +196,6 @@ print_insn_s390 (bfd_vma memaddr, struct disassemble_info *info)
          separator = 0;
          for (opindex = opcode->operands; *opindex != 0; opindex++)
            {
-             unsigned int value;
-
              operand = s390_operands + *opindex;
              value = s390_extract_operand (buffer, operand);
 
@@ -222,8 +220,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