summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure5
-rw-r--r--configure.in5
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/MACHINES6
-rw-r--r--src/ChangeLog4
-rw-r--r--src/m/sh3.h7
7 files changed, 35 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index aaa023442fb..831c8e3ffe4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-18 Ulrich Mueller <ulm@gentoo.org>
+
+ * configure.in: Add support for GNU/Linux on SuperH.
+
2008-10-12 Andreas Schwab <schwab@suse.de>
* configure.in: Only check for m17n-flt if HAVE_LIBOTF.
diff --git a/configure b/configure
index 9995b710e08..c78ee2cf5dc 100755
--- a/configure
+++ b/configure
@@ -2650,6 +2650,11 @@ _ACEOF
machine=xtensa opsys=gnu-linux
;;
+ ## SuperH Linux-based GNU system
+ sh[34]*-*-linux-gnu* )
+ machine=sh3 opsys=gnu-linux
+ ;;
+
* )
unported=yes
;;
diff --git a/configure.in b/configure.in
index 0807fb9f02c..326830dc056 100644
--- a/configure.in
+++ b/configure.in
@@ -540,6 +540,11 @@ dnl see the `changequote' comment above.
machine=xtensa opsys=gnu-linux
;;
+ ## SuperH Linux-based GNU system
+ sh[34]*-*-linux-gnu* )
+ machine=sh3 opsys=gnu-linux
+ ;;
+
* )
unported=yes
;;
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 6ea7ddebbfd..2a1ef635321 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-18 Ulrich Mueller <ulm@gentoo.org>
+
+ * MACHINES: Add section for SuperH.
+
2008-10-12 Carsten Dominik <dominik@science.uva.nl>
* refcards/orgcard.tex: Add description for attachments, plus
diff --git a/etc/MACHINES b/etc/MACHINES
index 6d494285a33..3f7e23a459d 100644
--- a/etc/MACHINES
+++ b/etc/MACHINES
@@ -426,6 +426,12 @@ Sun 4 (sparc), Sun 386 (sparc-sun-solaris2.*,
(now remapped as part of the text). These are never
swapped in.
+SuperH (sh[34]*-*-linux-gnu)
+
+ Emacs 23.0.60 was reported to work on GNU/Linux (October 2008).
+ Tested on a little-endian sh4 system (cpu type SH7751R) running
+ Gentoo Linux 2008.0.
+
Tadpole 68K (m68k-tadpole-sysv)
Changes merged in 19.1.
diff --git a/src/ChangeLog b/src/ChangeLog
index fe330b9e0ee..4dba71224ae 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-18 Ulrich Mueller <ulm@gentoo.org>
+
+ * m/sh3.h: New file, machine description for SuperH.
+
2008-10-17 Martin Rudalics <rudalics@gmx.at>
* window.c (Fsplit_window): Rename arg horflag to horizontal.
diff --git a/src/m/sh3.h b/src/m/sh3.h
new file mode 100644
index 00000000000..134eb16b9b8
--- /dev/null
+++ b/src/m/sh3.h
@@ -0,0 +1,7 @@
+/* Machine description file for SuperH. */
+
+#ifdef __BIG_ENDIAN__
+# define WORDS_BIG_ENDIAN
+#endif
+
+#define NO_ARG_ARRAY