linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Ignore "naked" attribute
@ 2009-11-29 22:59 Michael Buesch
  2009-11-30 23:24 ` Christopher Li
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Buesch @ 2009-11-29 22:59 UTC (permalink / raw)
  To: Christopher Li; +Cc: linux-sparse

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@bu3sch.de>


---
 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Ignore "naked" attribute
  2009-11-29 22:59 [PATCH] Ignore "naked" attribute Michael Buesch
@ 2009-11-30 23:24 ` Christopher Li
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Li @ 2009-11-30 23:24 UTC (permalink / raw)
  To: Michael Buesch; +Cc: linux-sparse

On Sun, Nov 29, 2009 at 2:59 PM, Michael Buesch <mb@bu3sch.de> wrote:
> The GCC "naked" attribute is used on certain architectures to generate
> functions without a prologue/epilogue.
>
> Ignore it in sparse.
Applied.

Thanks,

Chris

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-11-30 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-29 22:59 [PATCH] Ignore "naked" attribute Michael Buesch
2009-11-30 23:24 ` Christopher Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).