add stdcall to FAST_FUNC
text data bss dec hex filename 804476 611 6868 811955 c63b3 busybox_old 804373 611 6868 811852 c634c busybox_unstripped
This commit is contained in:
parent
d699544205
commit
ac2b50ebea
@ -102,9 +102,9 @@
|
|||||||
* on non-static, busybox internal functions. Recent versions of gcc
|
* on non-static, busybox internal functions. Recent versions of gcc
|
||||||
* optimize statics automatically. FAST_FUNC on static is required
|
* optimize statics automatically. FAST_FUNC on static is required
|
||||||
* only if you need to match a function pointer's type */
|
* only if you need to match a function pointer's type */
|
||||||
#if __GNUC_PREREQ(3,0) && defined(i386)
|
#if __GNUC_PREREQ(3,0) && defined(i386) /* || defined(__x86_64__)? */
|
||||||
/* || defined(__x86_64__)? */
|
/* stdcall makes callee to pop arguments from stack, not caller */
|
||||||
# define FAST_FUNC __attribute__((regparm(3)))
|
# define FAST_FUNC __attribute__((regparm(3),stdcall))
|
||||||
/* #elif ... - add your favorite arch today! */
|
/* #elif ... - add your favorite arch today! */
|
||||||
#else
|
#else
|
||||||
# define FAST_FUNC
|
# define FAST_FUNC
|
||||||
|
Loading…
Reference in New Issue
Block a user