Add support for M32R

From-SVN: r88976
This commit is contained in:
Kazuhiro Inaoka 2004-10-13 10:34:21 +00:00 committed by Nick Clifton
parent cbb0dcef12
commit 66c0e3b596
2 changed files with 25 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-10-13 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* include/private/gcconfig.h: Add m32r-linux target.
2004-09-27 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac: Update all AC_DEFINEs to newer style.

View File

@ -249,6 +249,10 @@
# define SH
# define mach_type_known
# endif
# if defined(LINUX) && defined(__m32r__)
# define M32R
# define mach_type_known
# endif
# if defined(__alpha) || defined(__alpha__)
# define ALPHA
# if !defined(LINUX) && !defined(NETBSD) && !defined(OPENBSD) && !defined(FREEBSD)
@ -1818,6 +1822,23 @@
# define DATAEND /* not needed */
# endif
# ifdef M32R
# define CPP_WORDSZ 32
# define MACH_TYPE "M32R"
# define ALIGNMENT 4
# ifdef LINUX
# define OS_TYPE "LINUX"
# define LINUX_STACKBOTTOM
# undef STACK_GRAN
# define STACK_GRAN 0x10000000
# define USE_GENERIC_PUSH_REGS
# define DYNAMIC_LOADING
# define SEARCH_FOR_DATA_START
extern int _end[];
# define DATAEND (_end)
# endif
# endif
# ifdef X86_64
# define MACH_TYPE "X86_64"
# define ALIGNMENT 8