diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-13 10:34:21 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-13 10:34:21 +0000 |
commit | 30e959eb1b236886e9c2208301767468efb42eff (patch) | |
tree | d7f759f6a4222ff16fe67c8125db1e7117f306fa /boehm-gc | |
parent | 391e9e03ddd2f26d92bc51fd9633406fb83d97c1 (diff) | |
download | gcc-30e959eb1b236886e9c2208301767468efb42eff.tar.gz |
Add support for M32R
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 4 | ||||
-rw-r--r-- | boehm-gc/include/private/gcconfig.h | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 68dd4204e56..2e3fcc47e93 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -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. diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h index 38c2a96cc48..64cbde22c30 100644 --- a/boehm-gc/include/private/gcconfig.h +++ b/boehm-gc/include/private/gcconfig.h @@ -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 |