aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2005-03-18 21:31:31 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2005-03-18 21:31:31 +0000
commitb4677f0316a98e86d05f75814aade7bee324fae1 (patch)
treea1d7853c40a611c17f4b1df49c89e8c5353be784
parent93ad78a72d4752c44d41ec4a834c1d9aa4f9bb2e (diff)
downloadgdb-b4677f0316a98e86d05f75814aade7bee324fae1.zip
gdb-b4677f0316a98e86d05f75814aade7bee324fae1.tar.gz
gdb-b4677f0316a98e86d05f75814aade7bee324fae1.tar.bz2
* elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
from bfd_vma to ia64_insn, remove broken cast.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-ia64.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 10cf060..7111988 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-18 Andreas Schwab <schwab@suse.de>
+
+ * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn
+ from bfd_vma to ia64_insn, remove broken cast.
+
2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
* elf32-m68k.c (elf_cfv4e_plt0_entry): plt entry for coldfire v4e.
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index a34fb80..f94182d 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -3119,7 +3119,8 @@ elfNN_ia64_install_value (hit_addr, v, r_type)
{
const struct ia64_operand *op;
int bigendian = 0, shift = 0;
- bfd_vma t0, t1, insn, dword;
+ bfd_vma t0, t1, dword;
+ ia64_insn insn;
enum ia64_opnd opnd;
const char *err;
size_t size = 8;
@@ -3308,7 +3309,7 @@ elfNN_ia64_install_value (hit_addr, v, r_type)
insn = (dword >> shift) & 0x1ffffffffffLL;
op = elf64_ia64_operands + opnd;
- err = (*op->insert) (op, val, (ia64_insn *)& insn);
+ err = (*op->insert) (op, val, &insn);
if (err)
return bfd_reloc_overflow;