changeset 98810:09f1342109b9

* configure.in: Add support for GNU/Linux on SuperH. * MACHINES: Add section for SuperH. * m/sh3.h: New file, machine description for SuperH.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 18 Oct 2008 08:11:30 +0000
parents 56ffea265e5a
children e51cb1bd0e3a
files ChangeLog configure configure.in etc/ChangeLog etc/MACHINES src/ChangeLog src/m/sh3.h
diffstat 7 files changed, 35 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Oct 18 07:56:05 2008 +0000
+++ b/ChangeLog	Sat Oct 18 08:11:30 2008 +0000
@@ -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.
--- a/configure	Sat Oct 18 07:56:05 2008 +0000
+++ b/configure	Sat Oct 18 08:11:30 2008 +0000
@@ -2650,6 +2650,11 @@
     machine=xtensa opsys=gnu-linux
     ;;
 
+  ## SuperH Linux-based GNU system
+  sh[34]*-*-linux-gnu* )
+    machine=sh3 opsys=gnu-linux
+  ;;
+
   * )
     unported=yes
   ;;
--- a/configure.in	Sat Oct 18 07:56:05 2008 +0000
+++ b/configure.in	Sat Oct 18 08:11:30 2008 +0000
@@ -540,6 +540,11 @@
     machine=xtensa opsys=gnu-linux
     ;;
 
+  ## SuperH Linux-based GNU system
+  sh[34]*-*-linux-gnu* )
+    machine=sh3 opsys=gnu-linux
+  ;;
+
   * )
     unported=yes
   ;;
--- a/etc/ChangeLog	Sat Oct 18 07:56:05 2008 +0000
+++ b/etc/ChangeLog	Sat Oct 18 08:11:30 2008 +0000
@@ -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
--- a/etc/MACHINES	Sat Oct 18 07:56:05 2008 +0000
+++ b/etc/MACHINES	Sat Oct 18 08:11:30 2008 +0000
@@ -426,6 +426,12 @@
   (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.
--- a/src/ChangeLog	Sat Oct 18 07:56:05 2008 +0000
+++ b/src/ChangeLog	Sat Oct 18 08:11:30 2008 +0000
@@ -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.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/m/sh3.h	Sat Oct 18 08:11:30 2008 +0000
@@ -0,0 +1,7 @@
+/* Machine description file for SuperH. */
+
+#ifdef __BIG_ENDIAN__
+# define WORDS_BIG_ENDIAN
+#endif
+
+#define NO_ARG_ARRAY