summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/stdarg.h
Commit message (Collapse)AuthorAgeFilesLines
* Copy amd64 stdarg.h to x86 and replace amd64/i386/pc98 stdarg.h with stubs.tijl2012-02-281-72/+3
|
* Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoleteskan2006-09-211-1/+1
| | | | | the former and __builtin_va_start was present in all GCC version 3.1 and later.
* Remove diffs to i386 version that came in via the compiler support ifdefs.peter2005-03-111-1/+2
| | | | | This changes things like whitespace, inconsistent use of #ifndef vs #if !defined(), different macro argument orders, mismatched comments, etc.
* netchild's mega-patch to isolate compiler dependencies into a centraljoerg2005-03-021-1/+3
| | | | | | | | | | | | | | | | place. This moves the dependency on GCC's and other compiler's features into the central sys/cdefs.h file, while the individual source files can then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to refer to #if __GNUC__ > 3.1415 && __BARC__ <= 42. By now, GCC and ICC (the Intel compiler) have been actively tested on IA32 platforms by netchild. Extension to other compilers is supposed to be possible, of course. Submitted by: netchild Reviewed by: various developers on arch@, some time ago
* Add __va_copy and make it always visible, in spite of the __ISO_C_VISIBLEpeter2003-10-241-1/+4
| | | | | | | | | setting. Make va_copy be an alias if __ISO_C_VISIBLE >= 1999. Why? more than a few ports have an autoconf that looks for __va_copy because it is available on glibc. It is critical that we use it if at all possible on amd64. It generally isn't a problem for i386 and its ilk because autoconf driven code tends to fall back to an assignment.
* Provide a fake varargs implementation for lint's benefit. This waypeter2003-05-101-0/+13
| | | | | | it can see the intent of the va_* macros, even though it cannot work. Approved by: re (blanket amd64/*)
* o Add conditionals to allow va_list to be defined in other headers.mike2002-10-061-0/+6
| | | | | o Standardize on _MACHINE_STDARG_H_ to allow multiple header includes. o Restrict the definition of va_copy() to C99 environments.
* Implement C99's va_copy() macro.mike2002-09-181-0/+3
|
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* Gcc 3.1 varargs support.obrien2002-06-301-0/+47
OpenPOWER on IntegriCloud