summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-09-02 08:47:09 +0000
committerUlrich Drepper <drepper@redhat.com>2003-09-02 08:47:09 +0000
commit8348dcc8ed4f262eefffcd9a9000aede69ad531e (patch)
treeb02aeaab661c72902f6bb5a00b9f2bcf0f45e819 /nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
parent7da1e9116ab8acfbec5b0afaf9ad57391ae25479 (diff)
Update.
2003-09-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/not-cancel.h: New file. * sysdeps/unix/sysv/linux/x86-64/not-cancel.h: New file. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Make sure the code in subsections has a symbol associated with it. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Also defined symbol for entry point to avoid cancellation. * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Likewise.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
index 8081d72468..f8d726ddd8 100644
--- a/nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
+++ b/nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h
@@ -31,10 +31,14 @@
ENTRY (name) \
SINGLE_THREAD_P; \
jne L(pseudo_cancel); \
+ .type __##syscall_name##_nocancel,@function; \
+ .globl __##syscall_name##_nocancel; \
+ __##syscall_name##_nocancel: \
DO_CALL (syscall_name, args); \
cmpq $-4095, %rax; \
jae SYSCALL_ERROR_LABEL; \
ret; \
+ .size __##syscall_name##_nocancel,.-__##syscall_name##_nocancel; \
L(pseudo_cancel): \
/* Save registers that might get destroyed. */ \
SAVESTK_##args \