diff options
author | Michael Brown | 2008-11-19 01:18:32 +0100 |
---|---|---|
committer | Michael Brown | 2008-11-19 20:12:53 +0100 |
commit | dc60c2414658f27b88f212bba8a36180ab8657fb (patch) | |
tree | d4ad6d883d3fe6d4f7dfb9f75786f2815537d7dd /src/arch/i386/Makefile | |
parent | [pxe] Move all PXE files to arch/i386 (diff) | |
download | ipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.tar.gz ipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.tar.xz ipxe-dc60c2414658f27b88f212bba8a36180ab8657fb.zip |
[i386] Rename __cdecl to __asmcall
__cdecl is a misleading name, since it currently encapsulates both
cdecl and regparm(0) attributes. Rename to __asmcall.
Diffstat (limited to 'src/arch/i386/Makefile')
-rw-r--r-- | src/arch/i386/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile index 7d3e7639..e376b481 100644 --- a/src/arch/i386/Makefile +++ b/src/arch/i386/Makefile @@ -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. |