projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in bsd-kvm.c
[deliverable/binutils-gdb.git]
/
bfd
/
cpu-ia64-opc.c
diff --git
a/bfd/cpu-ia64-opc.c
b/bfd/cpu-ia64-opc.c
index 8e670e61353537aafec607996cb9112e2132e1f1..5156f4c22adfc3f5b0f70808cd383f55a7d9faf7 100644
(file)
--- a/
bfd/cpu-ia64-opc.c
+++ b/
bfd/cpu-ia64-opc.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1998-20
17
Free Software Foundation, Inc.
+/* Copyright (C) 1998-20
20
Free Software Foundation, Inc.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of BFD, the Binary File Descriptor library.
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
This file is part of BFD, the Binary File Descriptor library.
@@
-186,7
+186,7
@@
ext_imms_scaled (const struct ia64_operand *self, ia64_insn code,
ia64_insn *valuep, int scale)
{
int i, bits = 0, total = 0;
ia64_insn *valuep, int scale)
{
int i, bits = 0, total = 0;
- BFD_HOST_64_BIT val = 0, sign;
+ BFD_HOST_
U_
64_BIT val = 0, sign;
for (i = 0; i < NELEMS (self->field) && self->field[i].bits; ++i)
{
for (i = 0; i < NELEMS (self->field) && self->field[i].bits; ++i)
{
@@
-196,10
+196,10
@@
ext_imms_scaled (const struct ia64_operand *self, ia64_insn code,
total += bits;
}
/* sign extend: */
total += bits;
}
/* sign extend: */
- sign = (BFD_HOST_64_BIT) 1 << (total - 1);
+ sign = (BFD_HOST_
U_
64_BIT) 1 << (total - 1);
val = (val ^ sign) - sign;
val = (val ^ sign) - sign;
- *valuep =
(val << scale)
;
+ *valuep =
val << scale
;
return 0;
}
return 0;
}
This page took
0.025531 seconds
and
4
git commands to generate.