summaryrefslogtreecommitdiffstats
path: root/firmware/asm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/asm')
-rw-r--r--firmware/asm/sh/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/asm/sh/thread.c b/firmware/asm/sh/thread.c
index e63470c4a1..c0e0ceb549 100644
--- a/firmware/asm/sh/thread.c
+++ b/firmware/asm/sh/thread.c
@@ -30,6 +30,7 @@ static void USED_ATTR __start_thread(void)
{
/* r8 = context */
asm volatile (
+ ".global _start_thread \n"
"_start_thread: \n" /* Start here - no naked attribute */
"mov.l @(4, r8), r0 \n" /* Fetch thread function pointer */
"mov.l @(28, r8), r15 \n" /* Set initial sp */