summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-07-03 03:32:50 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-07-03 03:32:50 +0000
commit080f533c201500c3ad5aa694f48a593f174a34af (patch)
treea42da3283ee258b38950815c517c11c8369f1e87
parent45c47a8ca0084ca08ecdb04f8813959be7cf09b2 (diff)
downloadgdb-080f533c201500c3ad5aa694f48a593f174a34af.tar.gz
* ppc.h (PPC_OPCODE_COMMON): Expand comment.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/ppc.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index e1b96f14900..82bdc8f4514 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2010-07-03 Alan Modra <amodra@gmail.com>
+
+ * ppc.h (PPC_OPCODE_COMMON): Expand comment.
+
2010-06-29 Alan Modra <amodra@gmail.com>
* maxq.h: Delete file.
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index 2d99cd493dc..6e3a84b0cf5 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -89,7 +89,10 @@ extern const int powerpc_num_opcodes;
#define PPC_OPCODE_601 0x20
/* Opcode is supported in both the Power and PowerPC architectures
- (ie, compiler's -mcpu=common or assembler's -mcom). */
+ (ie, compiler's -mcpu=common or assembler's -mcom). More than just
+ the intersection of PPC_OPCODE_PPC with the union of PPC_OPCODE_POWER
+ and PPC_OPCODE_POWER2 because many instructions changed mnemonics
+ between POWER and POWERPC. */
#define PPC_OPCODE_COMMON 0x40
/* Opcode is supported for any Power or PowerPC platform (this is