[__i860__]: Add to little-endian conditional.
authorRichard Stallman <rms@gnu.org>
Tue, 26 Oct 1993 23:29:24 +0000 (23:29 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 26 Oct 1993 23:29:24 +0000 (23:29 +0000)
From-SVN: r5906

gcc/ginclude/stdarg.h
gcc/ginclude/varargs.h

index 95abf7b5da8d1c5294f111ecfd85b2661faa407c..822618dde19c218688feb9a58c9aed9888290add 100644 (file)
@@ -75,7 +75,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 (__ns32000__) || defined (__vax__)
+#if defined (__arm__) || defined (__i386__) || defined (__i860__) || defined (__ns32000__) || defined (__vax__)
 /* 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)),    \
index 20cbcf95feabdf7a1f4da51ac227a393f5b1c054..974b2adb2b7cffb17c82ea35e7d6bb8e8e084b69 100644 (file)
@@ -93,7 +93,7 @@ typedef void *__gnuc_va_list;
 #define __va_rounded_size(TYPE)  \
   (((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
 
-#if defined (__arm__) || defined (__i386__) || defined (__ns32000__) || defined (__vax__)
+#if defined (__arm__) || defined (__i386__) || defined (__i860__) || defined (__ns32000__) || defined (__vax__)
 /* 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)),    \