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
  • sysdeps/unix/sysv/linux/alpha/sigsuspend.S

    Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
    Date: 2007-02-17
    Initial Package Version: 2.5
    Upstream Status: Unknown
    Origin: http://sourceware.org/ml/libc-alpha/2006-10/msg00074.html
    Description: Adds sigsuspend_nocancel to alpha.
    
    old new  
    3131libc_hidden_def (__sigsuspend)
    3232weak_alias (__sigsuspend, sigsuspend)
    3333strong_alias (__sigsuspend, __libc_sigsuspend)
     34
     35#ifndef NO_CANCELLATION
     36        .globl __sigsuspend_nocancel;
     37        .align 4;
     38        .type __sigsuspend_nocancel, @function;
     39        .usepv __sigsuspend_nocancel, std;
     40        cfi_startproc;
     41__LABEL(__sigsuspend_nocancel)
     42        ldgp    gp, 0(pv);
     43        PSEUDO_PROF;
     44        PSEUDO_PREPARE_ARGS
     45        lda     v0, SYS_ify(sigsuspend);
     46        call_pal PAL_callsys;
     47        bne     a3, SYSCALL_ERROR_LABEL;
     48        ret;
     49        cfi_endproc;
     50        .size __sigsuspend_nocancel, .-__sigsuspend_nocancel
     51#endif
Note: See TracBrowser for help on using the repository browser.