changeset 102:9b859d40640a

More PowerPC and mips macros.
author David A. Holland
date Tue, 11 Jun 2013 10:51:30 -0400
parents 110a1bc4de02
children 343af355df1b
files CHANGES config.h
diffstat 2 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CHANGES	Tue Jun 11 10:51:30 2013 -0400
@@ -0,0 +1,5 @@
+pending
+   - auto-recognize more builtin PowerPC and mips macros
+
+release 0.1 (20130610)
+   - first release, works with at least some imake templates
--- a/config.h	Tue Jun 11 00:20:55 2013 -0400
+++ b/config.h	Tue Jun 11 10:51:30 2013 -0400
@@ -106,8 +106,22 @@
 #define CONFIG_CPU "__sparc"
 #elif defined(__mips)
 #define CONFIG_CPU "__mips"
+#elif defined(__mips__)
+#define CONFIG_CPU "__mips__"
+#elif defined(__mipsel__)
+#define CONFIG_CPU "__mipsel__"
 #elif defined(__POWERPC__)
 #define CONFIG_CPU "__POWERPC__"
+#elif defined(__POWERPC__)
+#define CONFIG_CPU "__powerpc__"
+#elif defined(__PPC__)
+#define CONFIG_CPU "__PPC__"
+#elif defined(__ppc__)
+#define CONFIG_CPU "__ppc__"
+#elif defined(__PPC64__)
+#define CONFIG_CPU "__PPC64__"
+#elif defined(__ppc64__)
+#define CONFIG_CPU "__ppc64__"
 #elif defined(__ARM__)
 #define CONFIG_CPU "__ARM__"
 #else