patches/uClibc/0.9.32/130-nptl-pthread-Correct-path-for-machine-specific-pt-initfini.c.patch
changeset 2612 a52574521bea
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/uClibc/0.9.32/130-nptl-pthread-Correct-path-for-machine-specific-pt-initfini.c.patch	Thu Aug 18 16:05:48 2011 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +commit ebe6c38d7e60e8a43d8b926c17a561a5a3e06a22
     1.5 +Author: Khem Raj <raj.khem@gmail.com>
     1.6 +Date:   Mon Jun 13 17:13:52 2011 -0700
     1.7 +
     1.8 +    nptl/pthread: Correct path for machine specific pt-initfini.c
     1.9 +    
    1.10 +    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    1.11 +    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    1.12 +
    1.13 +diff --git a/libpthread/nptl/sysdeps/pthread/Makefile.in b/libpthread/nptl/sysdeps/pthread/Makefile.in
    1.14 +index 398eaea..ca84642 100644
    1.15 +--- a/libpthread/nptl/sysdeps/pthread/Makefile.in
    1.16 ++++ b/libpthread/nptl/sysdeps/pthread/Makefile.in
    1.17 +@@ -75,8 +75,8 @@ CFLAGS-pt-initfini.c = -S -g0 $(PICFLAG) -fno-inline-functions	\
    1.18 + 			$(patsubst -f%,-fno-%,$(call check_gcc,-fexceptions,))
    1.19 + 
    1.20 + #ASFLAGS += $(PICFLAG) -I$(top_srcdir)include -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
    1.21 +-ifneq ($(wildcard $(libpthread_DIR)/sysdeps/linux/$(TARGET_ARCH)/pt-initfini.c),)
    1.22 +-PTHREAD_INITFINI := $(libpthread_DIR)/sysdeps/linux/$(TARGET_ARCH)/pt-initfini.c
    1.23 ++ifneq ($(wildcard $(libpthread_pthread_DIR)/../unix/sysv/linux/$(TARGET_ARCH)/pt-initfini.c),)
    1.24 ++PTHREAD_INITFINI := $(libpthread_pthread_DIR)/../unix/sysv/linux/$(TARGET_ARCH)/pt-initfini.c
    1.25 + else
    1.26 + PTHREAD_INITFINI := $(libpthread_pthread_DIR)/pt-initfini.c
    1.27 + endif