From c18d0a23b634ae001ea877020c0236bfca1468e5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 1 May 2026 14:17:00 +0100 Subject: [PATCH] [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 --- src/arch/x86_64/include/bits/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86_64/include/bits/compiler.h b/src/arch/x86_64/include/bits/compiler.h index 99185b058..e846445f1 100644 --- a/src/arch/x86_64/include/bits/compiler.h +++ b/src/arch/x86_64/include/bits/compiler.h @@ -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