From fac5dc61dbee2378a881be28e8ff234a3c5b8839 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 18 Oct 2008 08:11:30 +0000 Subject: [PATCH] * configure.in: Add support for GNU/Linux on SuperH. * MACHINES: Add section for SuperH. * m/sh3.h: New file, machine description for SuperH. --- ChangeLog | 4 ++++ configure | 5 +++++ configure.in | 5 +++++ etc/ChangeLog | 4 ++++ etc/MACHINES | 6 ++++++ src/ChangeLog | 4 ++++ src/m/sh3.h | 7 +++++++ 7 files changed, 35 insertions(+) create mode 100644 src/m/sh3.h diff --git a/ChangeLog b/ChangeLog index aaa023442fb..831c8e3ffe4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-10-18 Ulrich Mueller + + * configure.in: Add support for GNU/Linux on SuperH. + 2008-10-12 Andreas Schwab * 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 + + * MACHINES: Add section for SuperH. + 2008-10-12 Carsten Dominik * 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 + + * m/sh3.h: New file, machine description for SuperH. + 2008-10-17 Martin Rudalics * 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 -- 2.39.5