summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKazuhiro Inaoka <inaoka.kazuhiro@renesas.com>2008-04-30 11:58:32 +0300
committerDaniel Stone <daniel@fooishbar.org>2008-04-30 11:58:32 +0300
commitce36ae526d88d20ff67cd6cb429fb06f48d231f6 (patch)
tree5e9de5ccb00c52e18d4da54d77bb47631374e6f0 /include
parentb71b51c982706501b6229532ce342752207426bb (diff)
Add M32R architecture support (bug #10020)
Still needs autotools support, so this won't actually _build_: it's just a starting point.
Diffstat (limited to 'include')
-rw-r--r--include/servermd.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/servermd.h b/include/servermd.h
index 7b0a32840..8e6de0959 100644
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -217,6 +217,26 @@ SOFTWARE.
#endif /* SuperH */
+#if defined(__m32r__)
+
+#if defined(__BIG_ENDIAN__)
+# define IMAGE_BYTE_ORDER MSBFirst
+# define BITMAP_BIT_ORDER MSBFirst
+# define GLYPHPADBYTES 4
+# define GETLEFTBITS_ALIGNMENT 1
+#else
+# define IMAGE_BYTE_ORDER LSBFirst
+# define BITMAP_BIT_ORDER LSBFirst
+# define GLYPHPADBYTES 4
+# define GETLEFTBITS_ALIGNMENT 1
+#endif
+
+#define AVOID_MEMORY_READ
+#define FAST_CONSTANT_OFFSET_MODE
+#define LARGE_INSTRUCTION_CACHE
+#define PLENTIFUL_REGISTERS
+
+#endif /* __m32r__ */
#if (defined(sun) && (defined(__sparc) || defined(sparc))) || \
(defined(__uxp__) && (defined(sparc) || defined(mc68000))) || \