Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
0a85964e
Commit
0a85964e
authored
Jun 26, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1294
parent
59d52763
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
16 deletions
+36
-16
gcc/ginclude/stdarg.h
+36
-16
No files found.
gcc/ginclude/stdarg.h
View file @
0a85964e
...
...
@@ -4,7 +4,10 @@
Thus, va_arg (..., short) is not valid. */
#ifndef _STDARG_H
#ifndef __need___va_list
#define _STDARG_H
#endif
#undef __need___va_list
#ifndef __GNUC__
/* Use the system's macros with the system's compiler. */
...
...
@@ -29,23 +32,20 @@
#include "va-i960.h"
#else
#ifdef _HIDDEN_VA_LIST
/* On OSF1, this means varargs.h is "half-loaded". */
#undef _VA_LIST
#endif
/* Define __gnuc_va_list. */
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. */
#ifndef _VA_LIST_
/* The macro _VA_LIST is used in SCO Unix 3.2. */
#ifndef _VA_LIST
#define _VA_LIST_
#define _VA_LIST
#ifndef __svr4__
typedef
char
*
va_list
;
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
#ifdef __svr4__
typedef
char
*
__gnuc_va_list
;
#else
typedef
void
*
va_list
;
typedef
void
*
__gnuc_
va_list
;
#endif
#endif
/* _VA_LIST */
#endif
/* _VA_LIST_ */
#endif
/* Define the standard macros for the user,
if this invocation was from the user program. */
#ifdef __STDARG_H
/* Amount of space required in an argument list for an arg of type TYPE.
TYPE may alternatively be an expression whose type is used. */
...
...
@@ -56,12 +56,13 @@ typedef void *va_list;
#define va_start(AP, LASTARG) \
(AP = ((char *) __builtin_next_arg ()))
void
va_end
(
va_list
);
/* Defined in libgcc.a */
void
va_end
(
__gnuc_
va_list
);
/* Defined in libgcc.a */
#define va_end(AP)
#define va_arg(AP, TYPE) \
(AP = ((char *) (AP)) += __va_rounded_size (TYPE), \
*((TYPE *) ((char *) (AP) - __va_rounded_size (TYPE))))
#endif
/* _STDARG_H */
#endif
/* not i960 */
#endif
/* not sparc */
...
...
@@ -69,5 +70,24 @@ void va_end (va_list); /* Defined in libgcc.a */
#endif
/* not hp9000s800 */
#endif
/* not i860 */
#endif
/* not m88k */
#endif
/* __GNUC__ */
#ifdef _STDARG_H
/* Define va_list, if desired, from __gnuc_va_list. */
#ifdef _HIDDEN_VA_LIST
/* On OSF1, this means varargs.h is "half-loaded". */
#undef _VA_LIST
#endif
/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. */
#ifndef _VA_LIST_
/* The macro _VA_LIST is used in SCO Unix 3.2. */
#ifndef _VA_LIST
#define _VA_LIST_
#define _VA_LIST
typedef
__gnuc_va_list
va_list
;
#endif
/* _VA_LIST */
#endif
/* _VA_LIST_ */
#endif
/* _STDARG_H */
#endif
/* __GNUC__ */
#endif
/* not _STDARG_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment