X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=opcodes%2Farc-dis.c;h=ba674549e00edd7f4a93180f1806bfb4aa5c5670;hb=21d799b5c48956e71980143cb33035262984ed67;hp=b5eb8a58d0a81d592b73918fb3eeec9b31045063;hpb=fa9efd0fbc3f388e06f8f893c168e8e612216230;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c index b5eb8a58d0..ba674549e0 100644 --- a/opcodes/arc-dis.c +++ b/opcodes/arc-dis.c @@ -1,5 +1,5 @@ /* Instruction printing code for the ARC. - Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2005, 2007 + Copyright 1994, 1995, 1997, 1998, 2000, 2001, 2002, 2005, 2007, 2009 Free Software Foundation, Inc. Contributed by Doug Evans (dje@cygnus.com). @@ -1201,7 +1201,7 @@ decodeInstr (bfd_vma address, /* Address of this instruction. */ s.instName = _instName; /* Disassemble. */ - bytes = dsmOneArcInst (address, (void *)& s); + bytes = dsmOneArcInst (address, & s); /* Display the disassembly instruction. */ (*func) (stream, "%08lx ", s.words[0]); @@ -1228,6 +1228,6 @@ disassembler_ftype arc_get_disassembler (void *ptr) { if (ptr) - build_ARC_extmap (ptr); + build_ARC_extmap ((struct bfd *) ptr); return decodeInstr; }