diff options
author | Jeff Law <law@gcc.gnu.org> | 1996-12-11 14:28:52 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1996-12-11 14:28:52 -0700 |
commit | d2c4d860c690764f881087b8501f6052204bed03 (patch) | |
tree | ebd66cb7bcd251108ef00a38479b5cc22731bd3c | |
parent | 11bb1f11d0281452623182be508d916eccf8a2a1 (diff) | |
download | gcc-d2c4d860c690764f881087b8501f6052204bed03.zip gcc-d2c4d860c690764f881087b8501f6052204bed03.tar.gz gcc-d2c4d860c690764f881087b8501f6052204bed03.tar.bz2 |
mn10300.c: New file for Matsushita MN10300 port.
* mn10300/mn10300.c: New file for Matsushita MN10300 port.
* mn10300/{mn10300.h,mn10300.md,t-mn10300,xm-mn10300.h}: Likewise.
* config.sub: Recognize mn10300 as a basic machine type.
* configure: Similarly.
* ginclude/stdarg.h: mn10300 is little endian.
* ginclude/varargs.h: Likewise.
From-SVN: r13281
-rw-r--r-- | gcc/ginclude/stdarg.h | 2 | ||||
-rw-r--r-- | gcc/ginclude/varargs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 3350cfb..52bb645 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -81,7 +81,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ /* We cast to void * and then to TYPE * because this avoids a warning about increasing the alignment requirement. */ -#if defined (__arm__) || defined (__i386__) || defined (__i860__) || defined (__ns32000__) || defined (__vax__) +#if defined (__arm__) || defined (__i386__) || defined (__i860__) || defined (__ns32000__) || defined (__vax__) || defined (__mn10300__) /* This is for little-endian machines; small args are padded upward. */ #define va_arg(AP, TYPE) \ (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \ diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h index c820f92..e93c3ee 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -100,7 +100,7 @@ typedef void *__gnuc_va_list; (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int)) #endif -#if defined (__arm__) || defined (__i386__) || defined (__i860__) || defined (__ns32000__) || defined (__vax__) +#if defined (__arm__) || defined (__i386__) || defined (__i860__) || defined (__ns32000__) || defined (__vax__) || defined (__mn10300__) /* This is for little-endian machines; small args are padded upward. */ #define va_arg(AP, TYPE) \ (AP = (__gnuc_va_list) ((char *) (AP) + __va_rounded_size (TYPE)), \ |