# HG changeset patch # User Dan Nicolaescu # Date 1224317490 0 # Node ID 09f1342109b93084351bff180f08ac7cf7780b9e # Parent 56ffea265e5a6cf6c3c6b90818f9ff86c66b1699 * configure.in: Add support for GNU/Linux on SuperH. * MACHINES: Add section for SuperH. * m/sh3.h: New file, machine description for SuperH. diff -r 56ffea265e5a -r 09f1342109b9 ChangeLog --- 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 + + * 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 -r 56ffea265e5a -r 09f1342109b9 configure --- 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 ;; diff -r 56ffea265e5a -r 09f1342109b9 configure.in --- 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 ;; diff -r 56ffea265e5a -r 09f1342109b9 etc/ChangeLog --- 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 + + * MACHINES: Add section for SuperH. + 2008-10-12 Carsten Dominik * refcards/orgcard.tex: Add description for attachments, plus diff -r 56ffea265e5a -r 09f1342109b9 etc/MACHINES --- 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. diff -r 56ffea265e5a -r 09f1342109b9 src/ChangeLog --- 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 + + * m/sh3.h: New file, machine description for SuperH. + 2008-10-17 Martin Rudalics * window.c (Fsplit_window): Rename arg horflag to horizontal. diff -r 56ffea265e5a -r 09f1342109b9 src/m/sh3.h --- /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