Replace __attribute__((naked, no_instrument_function)) with naked_function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
919f8a9a72
commit
7bcd29dae0
@ -55,12 +55,9 @@
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
void __cyg_profile_func_enter(void *func, void *caller)
|
||||
__attribute__((naked, no_instrument_function));
|
||||
void __cyg_profile_func_exit(void *func, void *caller)
|
||||
__attribute__((naked, no_instrument_function));
|
||||
void __stack_overflow_trap(void)
|
||||
__attribute__((naked, no_instrument_function));
|
||||
void __cyg_profile_func_enter(void *func, void *caller) naked_function;
|
||||
void __cyg_profile_func_exit(void *func, void *caller) naked_function;
|
||||
void __stack_overflow_trap(void) naked_function;
|
||||
|
||||
/****************************************************************************
|
||||
* Name: __stack_overflow_trap
|
||||
|
@ -55,12 +55,9 @@
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
void __cyg_profile_func_enter(void *func, void *caller)
|
||||
__attribute__((naked, no_instrument_function));
|
||||
void __cyg_profile_func_exit(void *func, void *caller)
|
||||
__attribute__((naked, no_instrument_function));
|
||||
void __stack_overflow_trap(void)
|
||||
__attribute__((naked, no_instrument_function));
|
||||
void __cyg_profile_func_enter(void *func, void *caller) naked_function;
|
||||
void __cyg_profile_func_exit(void *func, void *caller) naked_function;
|
||||
void __stack_overflow_trap(void) naked_function;
|
||||
|
||||
/****************************************************************************
|
||||
* Name: __stack_overflow_trap
|
||||
|
Loading…
Reference in New Issue
Block a user