summaryrefslogtreecommitdiff
path: root/src/thread/x86_64/clone.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/x86_64/clone.s')
-rw-r--r--src/thread/x86_64/clone.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/x86_64/clone.s b/src/thread/x86_64/clone.s
index ce67cc62..bf128a47 100644
--- a/src/thread/x86_64/clone.s
+++ b/src/thread/x86_64/clone.s
@@ -1,6 +1,7 @@
/* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */
.text
.global __uniclone
+.type __uniclone,@function
/* rdi = child_stack, rsi = start, rdx = pthread_struct */
__uniclone:
subq $8,%rsp /* pad parent stack to prevent branch later */