This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add ppc440 dialect for objdump


Hi Hiroki,

2007-01-23 Hiroki Kaminaga <kaminaga@sm.sony.co.jp>

* ppc-dis.c (powerpc_dialect): Handle ppc440.

Approved and applied.


Note - I extended your patch to mention that -M440 is now accepted as a command line option to objdump.

Cheers
  Nick


opcodes/ChangeLog * ppc-dis.c (print_ppc_disassembler_options): Note the -M440 can be used.

binutils/ChangeLog
	* doc/binutils.texi (objdump): Document support for disassembling
	the 440 PowerPC architecture.


Index: opcodes/ppc-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/ppc-dis.c,v
retrieving revision 1.24
diff -c -3 -p -r1.24 ppc-dis.c
*** opcodes/ppc-dis.c 24 Oct 2006 01:27:28 -0000 1.24
--- opcodes/ppc-dis.c 2 Feb 2007 12:36:34 -0000
*************** the -M switch:\n");
*** 311,316 ****
--- 315,321 ----
fprintf (stream, " booke|booke32|booke64 Disassemble the BookE instructions\n");
fprintf (stream, " e300 Disassemble the e300 instructions\n");
fprintf (stream, " e500|e500x2 Disassemble the e500 instructions\n");
+ fprintf (stream, " 440 Disassemble the 440 instructions\n");
fprintf (stream, " efs Disassemble the EFS instructions\n");
fprintf (stream, " power4 Disassemble the Power4 instructions\n");
fprintf (stream, " power5 Disassemble the Power5 instructions\n");


Index: binutils/doc/binutils.texi
===================================================================
RCS file: /cvs/src/src/binutils/doc/binutils.texi,v
retrieving revision 1.97
diff -c -3 -p -r1.97 binutils.texi
*** binutils/doc/binutils.texi	5 Sep 2006 08:22:27 -0000	1.97
--- binutils/doc/binutils.texi	2 Feb 2007 12:39:18 -0000
*************** suffix could be inferred by the operands
*** 1771,1777 ****
  For PPC, @option{booke}, @option{booke32} and @option{booke64} select
  disassembly of BookE instructions.  @option{32} and @option{64} select
  PowerPC and PowerPC64 disassembly, respectively.  @option{e300} selects
! disassembly for the e300 family.

  For MIPS, this option controls the printing of instruction mnemonic
  names and register names in disassembled instructions.  Multiple
--- 1771,1778 ----
  For PPC, @option{booke}, @option{booke32} and @option{booke64} select
  disassembly of BookE instructions.  @option{32} and @option{64} select
  PowerPC and PowerPC64 disassembly, respectively.  @option{e300} selects
! disassembly for the e300 family.  @option{440} selects disassembly for
! the powerPC 440.

  For MIPS, this option controls the printing of instruction mnemonic
  names and register names in disassembled instructions.  Multiple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]