* i386/t-dgux (EXTRA_PARTS): Add crti.o
(crti.o): Add build rule and dependencies.
+ * fixinc/fixinc.dgux: Use modified _int_varargs.h
Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
#ifndef __INT_VARARGS_H
#define __INT_VARARGS_H
-#if defined(__m88k__) && defined (__DGUX__)
-#ifndef __GNUC_VA_LIST
-#define __GNUC_VA_LIST
-typedef struct
-{
- int __va_arg; /* argument number */
- int *__va_stk; /* start of args passed on stack */
- int *__va_reg; /* start of args passed in regs */
-} __gnuc_va_list;
-#endif /* not __GNUC_VA_LIST */
-#endif /* 88k && dgux */
-
-#ifndef _VA_LIST_
+#ifndef ___int_features_h
+#include <sys/_int_features.h>
+#endif
+
+#if !(defined(_VA_LIST) || defined(_VA_LIST_))
+#define _VA_LIST
#define _VA_LIST_
-typedef __gnuc_va_list va_list;
-#endif /* _VA_LIST_ */
-#endif /* __INT_VARARGS_H */
+#ifdef __LINT__
+
+#ifdef __STDC__
+typedef void * va_list;
+#else
+typedef char * va_list;
+#endif
+
+#else
+#if _M88K_ANY
+
+#if defined(__DCC__)
+
+typedef struct {
+ int next_arg;
+ int *mem_ptr;
+ int *reg_ptr;
+} va_list;
+
+#else /* ! defined(__DCC__) */
+
+typedef struct {
+ int __va_arg; /* argument number */
+ int *__va_stk; /* start of args passed on stack */
+ int *__va_reg; /* start of args passed in regs */
+} va_list;
+
+#endif /* ! defined(__DCC__) */
+
+#elif _IX86_ANY
+
+#if defined(__GNUC__) || defined(__STDC__)
+typedef void * va_list;
+#else
+typedef char * va_list;
+#endif
+
+#endif /* _IX86_ANY */
+
+#endif /* __LINT__ */
+#endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */
+#endif /* #ifndef __INT_VARARGS_H */
EOF
chmod a+r ${LIB}/$file