aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/aero/generic/thread_entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/sysdeps/aero/generic/thread_entry.S')
-rw-r--r--lib/mlibc/sysdeps/aero/generic/thread_entry.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/mlibc/sysdeps/aero/generic/thread_entry.S b/lib/mlibc/sysdeps/aero/generic/thread_entry.S
new file mode 100644
index 0000000..498fda3
--- /dev/null
+++ b/lib/mlibc/sysdeps/aero/generic/thread_entry.S
@@ -0,0 +1,10 @@
+.section .text
+.global __mlibc_start_thread
+
+__mlibc_start_thread:
+ pop %rdi
+ pop %rsi
+ pop %rdx
+ call __mlibc_enter_thread
+.section .note.GNU-stack,"",%progbits
+