From 31b5c2e753dbcb3d5023bccc8e644d0bcb56b2ad Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 18 Feb 2016 23:23:38 +0000 Subject: [librm] Provide an abstraction wrapper for prot_call Signed-off-by: Michael Brown --- src/arch/x86_64/include/bits/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86_64/include/bits') diff --git a/src/arch/x86_64/include/bits/compiler.h b/src/arch/x86_64/include/bits/compiler.h index f70b2e517..98c560e7d 100644 --- a/src/arch/x86_64/include/bits/compiler.h +++ b/src/arch/x86_64/include/bits/compiler.h @@ -7,7 +7,7 @@ #ifndef ASSEMBLY /** Declare a function with standard calling conventions */ -#define __asmcall __attribute__ (( regparm(0) )) +#define __asmcall __attribute__ (( used, regparm(0) )) /** Declare a function with libgcc implicit linkage */ #define __libgcc -- cgit v1.2.3-55-g7522