Add ... to set current_function_varargs.
From-SVN: r6987
This commit is contained in:
parent
5d3fe1fed2
commit
bc97bfd804
@ -28,7 +28,7 @@ typedef struct {
|
||||
|
||||
/* varargs support */
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl
|
||||
#define va_dcl int __builtin_va_alist;...
|
||||
#define va_start(pvar) ((pvar) = * (__gnuc_va_list *) __builtin_saveregs ())
|
||||
|
||||
#else /* STDARG.H */
|
||||
|
@ -43,7 +43,7 @@ typedef struct
|
||||
(AP).__va_arg = (int) (__builtin_argsize() - 4 + 3) / 4 )
|
||||
#endif
|
||||
#define va_alist __va_1st_arg
|
||||
#define va_dcl register int va_alist;
|
||||
#define va_dcl register int va_alist;...
|
||||
|
||||
#endif /* _STDARG_H */
|
||||
|
||||
|
@ -36,7 +36,7 @@ typedef void * __gnuc_va_list;
|
||||
#else
|
||||
|
||||
#define va_alist __builtin_va_alist
|
||||
#define va_dcl int __builtin_va_alist;
|
||||
#define va_dcl int __builtin_va_alist;...
|
||||
|
||||
#ifdef __GCC_NEW_VARARGS__
|
||||
#define va_start(AP) ((AP) = (char *) __builtin_saveregs ())
|
||||
|
Loading…
Reference in New Issue
Block a user