summaryrefslogtreecommitdiff
path: root/src/thread/x32
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/x32')
-rw-r--r--src/thread/x32/syscall_cp.s10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/thread/x32/syscall_cp.s b/src/thread/x32/syscall_cp.s
index 70605c19..79709a55 100644
--- a/src/thread/x32/syscall_cp.s
+++ b/src/thread/x32/syscall_cp.s
@@ -1,9 +1,16 @@
.text
+.global __cp_begin
+.hidden __cp_begin
+.global __cp_end
+.hidden __cp_end
+.global __cp_cancel
+.hidden __cp_cancel
+.hidden __cancel
.global __syscall_cp_internal
+.hidden __syscall_cp_internal
.type __syscall_cp_internal,@function
__syscall_cp_internal:
-.global __cp_begin
__cp_begin:
mov (%rdi),%eax
test %eax,%eax
@@ -18,6 +25,5 @@ __cp_begin:
mov 16(%rsp),%r9
mov %r11,8(%rsp)
syscall
-.global __cp_end
__cp_end:
ret