Ignore "naked" attribute
PATCH 1/1 Ignore "naked" attribute
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 <[email protected]>
--- parse.c | 2 ++ 1 file changed, 2 insertions(+)
parse.c +2 -0
@@ -521,6 +521,8 @@ const char *ignored_attributes[] = {"__model__" ,"ms_abi" ,"__ms_abi__" , +"naked" , +"__naked__" ,"no_instrument_function" ,"__no_instrument_function__" , "noinline",
Signature · 1 line
Greetings, Michael.
Quoted 4 lines · Michael Buesch
The GCC "naked" attribute is used on certain architectures to generate functions without a prologue/epilogue.
Ignore it in sparse.
Applied.
Thanks,
Chris