mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Also defined symbol for entry point to avoid cancellation. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h (PSEUDO): Likewise. * sysdeps/unix/sysv/linux/i386/not-cancel.h (__open_nocancel, __close_nocancel, __read_nocancel, __write_nocancel, __waitpid_nocancel): Add attribute_hidden. If not in libc.so, libpthread.so or librt.so, define to corresponding function without _nocancel suffix. * sysdeps/unix/sysv/linux/s390/not-cancel.h: New file. * sysdeps/unix/sysv/linux/powerpc/not-cancel.h: New file. * sysdeps/unix/sysv/linux/sparc/not-cancel.h: New file.
This commit is contained in:
1
nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h
Normal file
1
nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h
Normal file
@ -0,0 +1 @@
|
||||
#include "../i386/not-cancel.h"
|
@ -32,10 +32,14 @@ ENTRY(name) \
|
||||
ld [%g7 + MULTIPLE_THREADS_OFFSET], %g1; \
|
||||
cmp %g1, 0; \
|
||||
bne 1f; \
|
||||
.type __##syscall_name##_nocancel,@function; \
|
||||
.globl __##syscall_name##_nocancel; \
|
||||
__##syscall_name##_nocancel: \
|
||||
mov SYS_ify(syscall_name), %g1; \
|
||||
ta 0x10; \
|
||||
bcs __syscall_error_handler; \
|
||||
nop; \
|
||||
.size __##syscall_name##_nocancel,.-__##syscall_name##_nocancel; \
|
||||
.subsection 2; \
|
||||
cfi_startproc; \
|
||||
1: save %sp, -96, %sp; \
|
||||
|
@ -31,10 +31,14 @@
|
||||
ENTRY(name) \
|
||||
ld [%g7 + MULTIPLE_THREADS_OFFSET], %g1; \
|
||||
brnz,pn %g1, 1f; \
|
||||
.type __##syscall_name##_nocancel,@function; \
|
||||
.globl __##syscall_name##_nocancel; \
|
||||
__##syscall_name##_nocancel: \
|
||||
mov SYS_ify(syscall_name), %g1; \
|
||||
ta 0x6d; \
|
||||
bcs,pn %xcc, __syscall_error_handler; \
|
||||
nop; \
|
||||
.size __##syscall_name##_nocancel,.-__##syscall_name##_nocancel; \
|
||||
.subsection 2; \
|
||||
1: save %sp, -192, %sp; \
|
||||
CENABLE; \
|
||||
|
Reference in New Issue
Block a user