source: patches/glibc-2.5-alpha_sigsuspend-1.patch@ 4dca606

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 4dca606 was 558dc6a, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Add a patch to glibc that adds sigsuspend_nocancel to alpha.

  • Property mode set to 100644
File size: 1009 bytes
RevLine 
[558dc6a]1Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
2Date: 2007-02-17
3Initial Package Version: 2.5
4Upstream Status: Unknown
5Origin: http://sourceware.org/ml/libc-alpha/2006-10/msg00074.html
6Description: Adds sigsuspend_nocancel to alpha.
7
8--- glibc-2.5.orig/sysdeps/unix/sysv/linux/alpha/sigsuspend.S 2007-02-17 11:02:56.000000000 -0500
9+++ glibc-2.5/sysdeps/unix/sysv/linux/alpha/sigsuspend.S 2007-02-17 11:03:29.000000000 -0500
10@@ -31,3 +31,21 @@
11 libc_hidden_def (__sigsuspend)
12 weak_alias (__sigsuspend, sigsuspend)
13 strong_alias (__sigsuspend, __libc_sigsuspend)
14+
15+#ifndef NO_CANCELLATION
16+ .globl __sigsuspend_nocancel;
17+ .align 4;
18+ .type __sigsuspend_nocancel, @function;
19+ .usepv __sigsuspend_nocancel, std;
20+ cfi_startproc;
21+__LABEL(__sigsuspend_nocancel)
22+ ldgp gp, 0(pv);
23+ PSEUDO_PROF;
24+ PSEUDO_PREPARE_ARGS
25+ lda v0, SYS_ify(sigsuspend);
26+ call_pal PAL_callsys;
27+ bne a3, SYSCALL_ERROR_LABEL;
28+ ret;
29+ cfi_endproc;
30+ .size __sigsuspend_nocancel, .-__sigsuspend_nocancel
31+#endif
Note: See TracBrowser for help on using the repository browser.