binutils ChangeLog:
[deliverable/binutils-gdb.git] / opcodes / ia64-dis.c
index 5e46796fa80e22976da304835f796d189ca4b59b..4c63815289c380a79addef683d603ebc1528b8b5 100644 (file)
@@ -1,5 +1,5 @@
 /* ia64-dis.c -- Disassemble ia64 instructions
-   Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+   Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
    This file is part of GDB, GAS, and the GNU binutils.
@@ -167,10 +167,10 @@ print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
         }
       else if (odesc - elf64_ia64_operands == IA64_OPND_TGT64)
        {
-         /* 60-bit immedate for long branches.  */
+         /* 60-bit immediate for long branches. */
          value = (((insn >> 13) & 0xfffff)
                   | (((insn >> 36) & 1) << 59)
-                  | (slot[1] << 20)) << 4;
+                  | (((slot[1] >> 2) & 0x7fffffffffLL) << 20)) << 4;
        }
       else
        {
This page took 0.025111 seconds and 4 git commands to generate.