aboutsummaryrefslogtreecommitdiff
path: root/opcodes/h8300-dis.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-27fix set but unused variable warningsAlan Modra1-14/+1
2007-07-05Change source files over to GPLv3.Nick Clifton1-9/+11
2006-10-26 * h8300-dis.c (bfd_h8_disassemble): Add missing consts.Daniel Jacobowitz1-3/+3
2006-09-16* bfd-in.h (STRING_AND_COMMA): New macro. Takes one constant string as itsNick Clifton1-2/+2
argument and emits the string followed by a comma and then the length of the string. (CONST_STRNEQ): New macro. Checks to see if a variable string has a constant string as its initial characters. (CONST_STRNCPY): New macro. Copies a constant string to the start of a variable string. * bfd-in2.h: Regenerate. * <remainign files>: Make use of the new macros.
2005-07-07Kaveh Ghazi's printf format attribute checking patch.Jim Wilson1-4/+4
bfd: * elf32-xtensa.c (vsprint_msg): Add format attribute. Fix format bugs. * vms.h (_bfd_vms_debug): Add format attribute. (_bfd_vms_debug, _bfd_hexdump): Fix typos. binutils: * bucomm.h (report): Add format attribute. * dlltool.c (inform): Likewise. * dllwrap.c (display, inform, warn): Likewise. * objdump.c (objdump_sprintf): Likewise. * readelf.c (error, warn): Likewise. Fix format bugs. gas: * config/tc-tic30.c (debug): Add format attribute. Fix format bugs. include: * dis-asm.h (fprintf_ftype): Add format attribute. opcodes: * arc-dis.c, arm-dis.c, cris-dis.c, crx-dis.c, d10v-dis.c, d30v-dis.c, fr30-dis.c, h8300-dis.c, h8500-dis.c, i860-dis.c, ia64-dis.c, ip2k-dis.c, m10200-dis.c, m10300-dis.c, m88k-dis.c, mcore-dis.c, mips-dis.c, ms1-dis.c, or32-dis.c, ppc-dis.c, sh64-dis.c, sparc-dis.c, tic4x-dis.c, tic80-dis.c, v850-dis.c: Fix format bugs. * ia64-gen.c (fail, warn): Add format attribute. * or32-opc.c (debug): Likewise.
2005-07-01Update function declarations to ISO C90 formattingNick Clifton1-174/+130
2005-05-07Update the address and phone number of the FSFNick Clifton1-1/+1
2004-07-22Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 ↵Nick Clifton1-23/+13
disassemblers
2004-04-15Treat adds and subs as a special caseNick Clifton1-0/+11
2003-11-19 * h8300-dis.c (print_colon_thingie): Remove.Kazu Hirata1-19/+0
2003-06-10opcodes/Richard Sandiford1-1/+1
* h8300-dis.c (bfd_h8_disassemble): Don't print brackets round rts/l and rte/l register lists. gas/ * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register lists. Allow single-register ranges. testsuite/ * gas/h8300/h8sx_rtsl.[sd]: New test. * gas/h8300/h8300.exp: Run it.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder1-190/+532
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * disassemble.c (disassembler): Add support for h8300sx. * h8300-dis.c: Ditto.
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-2/+2
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-182002-11-11 Klee Dienes <kdienes@apple.com>Klee Dienes1-9/+31
* h8300.h (h8_opcode): Remove 'length' field. (h8_opcodes): Mark as 'const' (both the declaration and definition). Modify initializer and initializer macros to no longer initialize the length field. 2002-11-11 Klee Dienes <kdienes@apple.com> * h8300-dis.c: Include libiberty.h (for xmalloc). (struct h8_instruction): New type, used to wrap h8_opcodes with a length field (computed at run-time). (h8_instructions): New variable. (bfd_h8_disassemble_init): Allocate the storage for h8_instructions. Fill h8_instructions with pointers to the appropriate opcode and the correct value for the length field. (bfd_h8_disassemble): Iterate through h8_instructions instead of h8_opcodes.
2002-06-08 * a29k-dis.c: Replace CONST with const.Alan Modra1-5/+6
* h8300-dis.c: Likewise. * m68k-dis.c: Likewise. * or32-dis.c: Likewise. * sparc-dis.c: Likewise.
2001-08-26For include/opcode:Andreas Jaeger1-2/+6
* d30v.h: Fix declaration of reg_name_cnt. * d10v.h: Fix declaration of d10v_reg_name_cnt. * arc.h: Add prototypes from opcodes/arc-opc.c. For opcodes: * tic54x-dis.c: Add unused attributes where needed. * z8k-dis.c (output_instr): Add unused attribute. * h8300-dis.c: Add missing prototypes. (bfd_h8_disassemble): Make static. * cris-dis.c: Add missing prototype. * h8500-dis.c: Likewise. * m68hc11-dis.c: Likewise. * pj-dis.c: Likewise. * tic54x-dis.c: Likewise. * v850-dis.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * z8k-dis.c: Likewise. * d10v-dis.c: Add missing prototype. (dis_long): Remove unused variable. (dis_2_short): Likewise. * sh-dis.c: Add missing prototypes. * v850-opc.c: Likewise. Add unused attributes where needed. * ns32k-dis.c: Add missing prototypes. (bit_extract_simple): Remove unused variable.
2001-03-13Fix typos in ChangeLogs; fix dates in copyright noticesNick Clifton1-1/+1
2000-07-03Fix formatting.Nick Clifton1-6/+4
2000-06-12 * h8300-dis.c: Fix formatting.Jeff Law1-32/+34
(bfd_h8_disassemble): Distinguish adds/subs, inc/dec.[wl] correctly.
2000-06-02Fix formattingNick Clifton1-50/+48
2000-06-01Applied patch from Kazu Hirata <kazu@hxi.com> to fix disassembly of inc.lNick Clifton1-75/+50
and dec.l instructions
2000-05-30Replace defines with those from intl/libgettext.h to quieten gcc warnings.Nick Clifton1-2/+2
2000-04-14More portability patches. Include sysdep.h everywhere.Alan Modra1-0/+1
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+457