aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/i386/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/i386/sysdep-cancel.h
parent7da1e9116ab8acfbec5b0afaf9ad57391ae25479 (diff)
downloadglibc-8348dcc8ed4f262eefffcd9a9000aede69ad531e.tar
glibc-8348dcc8ed4f262eefffcd9a9000aede69ad531e.tar.gz
glibc-8348dcc8ed4f262eefffcd9a9000aede69ad531e.tar.bz2
glibc-8348dcc8ed4f262eefffcd9a9000aede69ad531e.zip
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/i386/sysdep-cancel.h')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h b/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
index e932359327..8eb6ede89d 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
+++ b/nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h
@@ -32,10 +32,14 @@
L(name##START): \
cmpl $0, %gs:MULTIPLE_THREADS_OFFSET; \
jne L(pseudo_cancel); \
+ .type __##syscall_name##_nocancel,@function; \
+ .globl __##syscall_name##_nocancel; \
+ __##syscall_name##_nocancel: \
DO_CALL (syscall_name, args); \
cmpl $-4095, %eax; \
jae SYSCALL_ERROR_LABEL; \
ret; \
+ .size __##syscall_name##_nocancel,.-__##syscall_name##_nocancel; \
L(pseudo_cancel): \
CENABLE \
SAVE_OLDTYPE_##args \