From: Andreas Schwab Date: Fri, 18 Mar 2005 21:31:31 +0000 (+0000) Subject: * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4677f0316a98e86d05f75814aade7bee324fae1;p=binutils-gdb.git * elfxx-ia64.c (elfNN_ia64_install_value): Change type of insn from bfd_vma to ia64_insn, remove broken cast. --- 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;