musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/stdarg.h
AgeCommit message (Collapse)AuthorLines
2016年12月15日remove legacy i386 fallback stdarg implementation and framework Rich Felker-4/+0
this has been slated for removal for a long time. there is fundamentally no way to implement stdarg without compiler assistance; any attempt to do so has serious undefined behavior; its working depends not just (as a common misconception goes) on ABI, but also on assumptions about compiler code generation internal to a translation unit, which is not subject to external ABI constraints.
2011年04月27日use compiler builtins for variadic macros when available Rich Felker-0/+7
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月15日split off arch-specific stdarg.h stuff Rich Felker-15/+1
2011年02月12日initial check-in, version 0.5.0 v0.5.0 Rich Felker-0/+32
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 06:40:52 +0000

AltStyle によって変換されたページ (->オリジナル) /