From b4677f0316a98e86d05f75814aade7bee324fae1 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 18 Mar 2005 21:31:31 +0000 Subject: [PATCH] * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn from bfd_vma to ia64_insn, remove broken cast. --- bfd/ChangeLog | 5 +++++ bfd/elfxx-ia64.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 10cf0607f3a..71119882c89 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-03-18 Andreas Schwab + + * 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 * 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 a34fb80541c..f94182d7ae8 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; -- 2.30.2