[PATCH] Ignore "naked" attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The GCC "naked" attribute is used on certain architectures to generate
functions without a prologue/epilogue.

Ignore it in sparse.

Signed-off-by: Michael Buesch <mb@xxxxxxxxx>


---
 parse.c |    2 ++
 1 file changed, 2 insertions(+)

--- sparse-dev.orig/parse.c
+++ sparse-dev/parse.c
@@ -521,6 +521,8 @@ const char *ignored_attributes[] = {
 	"__model__",
 	"ms_abi",
 	"__ms_abi__",
+	"naked",
+	"__naked__",
 	"no_instrument_function",
 	"__no_instrument_function__",
 	"noinline",

-- 
Greetings, Michael.
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux