[i386] Rename __cdecl to __asmcall

__cdecl is a misleading name, since it currently encapsulates both
cdecl and regparm(0) attributes.  Rename to __asmcall.
This commit is contained in:
Michael Brown
2008-11-18 16:18:32 -08:00
parent 446b6d5fdd
commit dc60c24146
14 changed files with 32 additions and 22 deletions

View File

@@ -22,11 +22,11 @@ endif
CFLAGS += -mpreferred-stack-boundary=2
# Code size reduction. Use regparm for all functions - C functions
# called from assembly (or vice versa) need __cdecl now
# called from assembly (or vice versa) need __asmcall now
#
CFLAGS += -mregparm=3
# Code size reduction. Use -mrtd (same __cdecl requirements as above)
# Code size reduction. Use -mrtd (same __asmcall requirements as above)
CFLAGS += -mrtd
# Code size reduction. This is the logical complement to -mregparm=3.