summaryrefslogtreecommitdiff
path: root/arch/x86_64/bits/stdarg.h
AgeCommit message (Collapse)AuthorLines
2016-01-27deduplicate the bulk of the arch bits headersRich Felker-4/+0
all bits headers that were identical for a number of 'clean' archs are moved to the new arch/generic tree. in addition, a few headers that differed only cosmetically from the new generic version are removed. additional deduplication may be possible in mman.h and in several headers (limits.h, posix.h, stdint.h) that mostly depend on whether the arch is 32- or 64-bit, but they are left alone for now because greater gains are likely possible with more invasive changes to header logic, which is beyond the scope of this commit.
2011-04-27use compiler builtins for variadic macros when availableRich Felker-1/+0
this slightly cuts down on the degree musl "fights with" gcc, but more importantly, it fixes a critical bug when gcc inlines a variadic function and optimizes out the variadic arguments due to noticing that they were "not used" (by __builtin_va_arg). we leave the old code in place if __GNUC__ >= 3 is false; it seems like it might be necessary at least for tinycc support and perhaps if anyone ever gets around to fixing gcc 2.95.3 enough to make it work..
2011-02-15Port musl to x86-64. One giant commit!Nicholas J. Kain-0/+5