← Commit list

ac2b50ebe

Denis Vlasenko
Denis Vlasenko
2008-06-27
FAILED Duration: 17s

Subject

add stdcall to FAST_FUNC

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/platform.h+3 -3
@@ -102,9 +102,9 @@
* on non-static, busybox internal functions. Recent versions of gcc
* optimize statics automatically. FAST_FUNC on static is required
* only if you need to match a function pointer's type */
-#if __GNUC_PREREQ(3,0) && defined(i386)
-/* || defined(__x86_64__)? */
-# define FAST_FUNC __attribute__((regparm(3)))
+#if __GNUC_PREREQ(3,0) && defined(i386) /* || defined(__x86_64__)? */
+/* stdcall makes callee to pop arguments from stack, not caller */
+# define FAST_FUNC __attribute__((regparm(3),stdcall))
/* #elif ... - add your favorite arch today! */
#else
# define FAST_FUNC