[build] Remove redundant regparm function attribute for x86_64

The regparm function attribute is meaningful only for i386, not for
x86_64, and is reported as a build error by GCC 16.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2026-05-01 14:17:00 +01:00
parent 2d28657ef6
commit c18d0a23b6
+1 -1
View File
@@ -13,7 +13,7 @@ FILE_SECBOOT ( PERMITTED );
#define ASM_NO_PREFIX "c"
/** Declare a function with standard calling conventions */
#define __asmcall __attribute__ (( regparm(0) ))
#define __asmcall
/** Declare a function with libgcc implicit linkage */
#define __libgcc