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
This commit is contained in:
parent
11bb1f11d0
commit
d2c4d860c6
@ -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)), \
|
||||
|
@ -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)), \
|
||||
|
Loading…
Reference in New Issue
Block a user