patches/glibc/2.5.1/280-alpha-sigsuspend.patch
changeset 747 d3e603e7c17c
parent 746 b150d6f590fc
child 748 61cd4eb6034d
     1.1 --- a/patches/glibc/2.5.1/280-alpha-sigsuspend.patch	Mon Jul 28 21:08:01 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,24 +0,0 @@
     1.4 ---- glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S.orig	2006-10-22 22:17:01.000000000 +0200
     1.5 -+++ glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S	2006-10-22 22:18:05.000000000 +0200
     1.6 -@@ -31,3 +31,21 @@
     1.7 - libc_hidden_def (__sigsuspend)
     1.8 - weak_alias (__sigsuspend, sigsuspend)
     1.9 - strong_alias (__sigsuspend, __libc_sigsuspend)
    1.10 -+
    1.11 -+#ifndef NO_CANCELLATION
    1.12 -+	.globl __sigsuspend_nocancel;
    1.13 -+	.align 4;
    1.14 -+	.type __sigsuspend_nocancel, @function;
    1.15 -+	.usepv __sigsuspend_nocancel, std;
    1.16 -+	cfi_startproc;
    1.17 -+__LABEL(__sigsuspend_nocancel)
    1.18 -+	ldgp    gp, 0(pv);
    1.19 -+	PSEUDO_PROF;
    1.20 -+	PSEUDO_PREPARE_ARGS
    1.21 -+	lda     v0, SYS_ify(sigsuspend);
    1.22 -+	call_pal PAL_callsys;
    1.23 -+	bne     a3, SYSCALL_ERROR_LABEL;
    1.24 -+	ret;
    1.25 -+	cfi_endproc;
    1.26 -+	.size __sigsuspend_nocancel, .-__sigsuspend_nocancel
    1.27 -+#endif