Commit e13d81d0 by Richard Stallman

*** empty log message ***

From-SVN: r216
parent fdfc1b92
......@@ -94,6 +94,7 @@ typedef __va_buf va_list;
#define va_arg(_AP, _MODE) \
__extension__ \
({__voidptr *__ap = (__voidptr*)&_AP; \
register int __size = sizeof (_MODE); \
register int __onstack = \
......
......@@ -34,6 +34,7 @@ typedef char * __va___list;
in the stack are made to be word-aligned; for an aggregate that is
not word-aligned, we advance the pointer to the first non-reg slot. */
#define va_arg(pvar,TYPE) \
__extension__ \
({ TYPE __va_temp; \
((__builtin_classify_type (__va_temp) >= 12) \
? ((pvar) += __va_rounded_size (TYPE *), \
......
......@@ -32,6 +32,7 @@ typedef struct {
#define va_end(pvar)
#define va_arg(pvar,type) \
__extension__ \
({ type __va_result; \
if ((pvar).__pnt >= 20) { \
__va_result = *( (type *) ((pvar).__stack + (pvar).__pnt - 20)); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment