We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a407b commit 3211002Copy full SHA for 3211002
src/startup/mldr/elfcalls/threads.c
@@ -329,7 +329,7 @@ static void* darling_thread_entry(void* p)
329
// Zero out the frame base register.
330
"mov fp, #0\n"
331
// Switch to the new stack.
332
- "mov %[stack_ptr], sp\n"
+ "mov sp, %[stack_ptr]\n"
333
// Push a fake return address.
334
"mov lr, #0\n"
335
// Jump to the entry point.
0 commit comments