This is the mail archive of the binutils@sources.redhat.com 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]

[patch]: fix booke comments/descriptions




hi folks.


it was pointed out to me that i have written "motorola booke" in a
few places in my recent patches.  booke is not moto specific...
this fixes those places i found.


commited as "obvious".


.mrg.


	[gas/ChangeLog]
	* config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.

	[include/opcode/ChangeLog]
	* ppc.h (PPC_OPCODE_BOOKE): BookE is not Motorola specific.
	(PPC_OPCODE_BOOKE64): Likewise.


Index: gas/config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.41
diff -p -r1.41 tc-ppc.c
*** tc-ppc.c	2001/12/20 07:34:44	1.41
--- tc-ppc.c	2002/01/03 02:03:36
*************** PowerPC options:\n\
*** 1037,1044 ****
  			generate code For Motorola PowerPC 7400/7410/7450/7455\n\
  -mppc64, -m620		generate code for Motorola PowerPC 620\n\
  -mppc64bridge		generate code for PowerPC 64, including bridge insns\n\
! -mbooke64		generate code for 64-bit Motorola BookE\n\
! -mbooke, mbooke32	generate code for 32-bit Motorola BookE\n\
  -maltivec		generate code for AltiVec\n\
  -mcom			generate code Power/PowerPC common instructions\n\
  -many			generate code for any architecture (PWR/PWRX/PPC)\n\
--- 1037,1044 ----
  			generate code For Motorola PowerPC 7400/7410/7450/7455\n\
  -mppc64, -m620		generate code for Motorola PowerPC 620\n\
  -mppc64bridge		generate code for PowerPC 64, including bridge insns\n\
! -mbooke64		generate code for 64-bit PowerPC BookE\n\
! -mbooke, mbooke32	generate code for 32-bit PowerPC BookE\n\
  -maltivec		generate code for AltiVec\n\
  -mcom			generate code Power/PowerPC common instructions\n\
  -many			generate code for any architecture (PWR/PWRX/PPC)\n\

Index: include/opcode/ppc.h
===================================================================
RCS file: /cvs/src/src/include/opcode/ppc.h,v
retrieving revision 1.10
diff -p -r1.10 ppc.h
*** ppc.h	2001/11/15 01:08:52	1.10
--- ppc.h	2002/01/03 02:03:40
*************** extern const int powerpc_num_opcodes;
*** 94,103 ****
  /* Opcode is supported by PowerPC 403 processor.  */
  #define PPC_OPCODE_403 (02000)
  
! /* Opcode is supported by Motorola BookE processor.  */
  #define PPC_OPCODE_BOOKE (04000)
  
! /* Opcode is only supported by 64-bit Motorola BookE processor.  */
  #define PPC_OPCODE_BOOKE64 (010000)
  
  /* A macro to extract the major opcode from an instruction.  */
--- 94,103 ----
  /* Opcode is supported by PowerPC 403 processor.  */
  #define PPC_OPCODE_403 (02000)
  
! /* Opcode is supported by PowerPC BookE processor.  */
  #define PPC_OPCODE_BOOKE (04000)
  
! /* Opcode is only supported by 64-bit PowerPC BookE processor.  */
  #define PPC_OPCODE_BOOKE64 (010000)
  
  /* A macro to extract the major opcode from an instruction.  */


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