Skip to content

Commit 6d34b86

Browse files
authored
Merge pull request #4489 from 0xc0170/fix_issue#4486
mbed sdk boot: fix gcc sw init hook attribute
2 parents 8a6f28d + b1c7943 commit 6d34b86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/mbed_sdk_boot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void _platform_post_stackheap_init(void)
6767

6868
extern int __real_main(void);
6969

70-
__attribute__((naked)) void software_init_hook(void)
70+
void software_init_hook(void)
7171
{
7272
mbed_sdk_init();
7373
software_init_hook_rtos();

0 commit comments

Comments
 (0)