projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* solib.h (CLEAR_SOLIB, SOLIB_ADD)
[deliverable/binutils-gdb.git]
/
opcodes
/
ia64-dis.c
diff --git
a/opcodes/ia64-dis.c
b/opcodes/ia64-dis.c
index 6e71728eb2a4f948e718fe9daeddb7d60453f37c..366b6812f1d6bbbc3609a85c5e9bd876bc89c234 100644
(file)
--- a/
opcodes/ia64-dis.c
+++ b/
opcodes/ia64-dis.c
@@
-1,5
+1,5
@@
/* ia64-dis.c -- Disassemble ia64 instructions
/* ia64-dis.c -- Disassemble ia64 instructions
- Copyright
(C) 1998, 1999
Free Software Foundation, Inc.
+ Copyright
1998, 1999, 2000, 2002
Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of GDB, GAS, and the GNU binutils.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of GDB, GAS, and the GNU binutils.
@@
-16,8
+16,8
@@
You should have received a copy of the GNU General Public License
along with this file; see the file COPYING. If not, write to the
You should have received a copy of the GNU General Public License
along with this file; see the file COPYING. If not, write to the
- Free Software Foundation, 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Free Software Foundation, 5
1 Franklin Street - Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
#include <assert.h>
#include <string.h>
#include <assert.h>
#include <string.h>
@@
-117,7
+117,7
@@
print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
{
/* skip L slot in MLI template: */
slotnum = 2;
{
/* skip L slot in MLI template: */
slotnum = 2;
- retval
= 16 -
slot_multiplier;
+ retval
+=
slot_multiplier;
}
insn = slot[slotnum];
}
insn = slot[slotnum];
@@
-167,10
+167,10
@@
print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
}
else if (odesc - elf64_ia64_operands == IA64_OPND_TGT64)
{
}
else if (odesc - elf64_ia64_operands == IA64_OPND_TGT64)
{
- /* 60-bit immed
ate for long branches.
*/
+ /* 60-bit immed
iate for long branches.
*/
value = (((insn >> 13) & 0xfffff)
| (((insn >> 36) & 1) << 59)
value = (((insn >> 13) & 0xfffff)
| (((insn >> 36) & 1) << 59)
- | (
slot[1]
<< 20)) << 4;
+ | (
((slot[1] >> 2) & 0x7fffffffffLL)
<< 20)) << 4;
}
else
{
}
else
{
@@
-261,7
+261,7
@@
print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
(*info->fprintf_func) (info->stream, ";;");
done:
(*info->fprintf_func) (info->stream, ";;");
done:
- ia64_free_opcode (idesc);
+ ia64_free_opcode (
(struct ia64_opcode *)
idesc);
failed:
if (slotnum == 2)
retval += 16 - 3*slot_multiplier;
failed:
if (slotnum == 2)
retval += 16 - 3*slot_multiplier;
This page took
0.024166 seconds
and
4
git commands to generate.