source: clfs-sysroot/patches/glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch@ 9c69069

Last change on this file since 9c69069 was 93fcbff, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Updated Glibc to 2.6.1.

  • Property mode set to 100644
File size: 822 bytes
  • ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h

    Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
    Date: 07-02-2007
    Initial Package Version: 2.6
    Origin: http://sourceware.org/ml/libc-ports/2007-05/msg00051.html
    Upstream Status: Unknown
    Description: Defines RTLD_SINGLE_THREAD_P for arm.
    
    diff -Naur glibc-2.6.orig/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h glibc-2.6/ports/sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h
    old new  
    126126# define NO_CANCELLATION 1
    127127
    128128#endif
     129
     130#ifndef __ASSEMBLER__
     131# define RTLD_SINGLE_THREAD_P \
     132  __builtin_expect (THREAD_GETMEM (THREAD_SELF, \
     133   header.multiple_threads) == 0, 1)
     134#endif
Note: See TracBrowser for help on using the repository browser.