crosstool-ng/patches/uClibc/0.9.32/130-nptl-pthread-Correct-path-for-machine-specific-pt-initfini.c.patch
Yann E. MORIN" b7e9cbb06c libc/uClibc: add latest release 0.9.32 + patchset
The patchset was obtained by dumping each changeset on the
upstream 0.9.32 branch since the release:
  git log v0.9.32..origin/0.9.32 |sed -r -e '/^commit/!d; s/.* //;' |tac

and then creating a patch from each changeset.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-06-27 00:12:29 +02:00

25 lines
1.2 KiB
Diff

commit ebe6c38d7e60e8a43d8b926c17a561a5a3e06a22
Author: Khem Raj <raj.khem@gmail.com>
Date: Mon Jun 13 17:13:52 2011 -0700
nptl/pthread: Correct path for machine specific pt-initfini.c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
diff --git a/libpthread/nptl/sysdeps/pthread/Makefile.in b/libpthread/nptl/sysdeps/pthread/Makefile.in
index 398eaea..ca84642 100644
--- a/libpthread/nptl/sysdeps/pthread/Makefile.in
+++ b/libpthread/nptl/sysdeps/pthread/Makefile.in
@@ -75,8 +75,8 @@ CFLAGS-pt-initfini.c = -S -g0 $(PICFLAG) -fno-inline-functions \
$(patsubst -f%,-fno-%,$(call check_gcc,-fexceptions,))
#ASFLAGS += $(PICFLAG) -I$(top_srcdir)include -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
-ifneq ($(wildcard $(libpthread_DIR)/sysdeps/linux/$(TARGET_ARCH)/pt-initfini.c),)
-PTHREAD_INITFINI := $(libpthread_DIR)/sysdeps/linux/$(TARGET_ARCH)/pt-initfini.c
+ifneq ($(wildcard $(libpthread_pthread_DIR)/../unix/sysv/linux/$(TARGET_ARCH)/pt-initfini.c),)
+PTHREAD_INITFINI := $(libpthread_pthread_DIR)/../unix/sysv/linux/$(TARGET_ARCH)/pt-initfini.c
else
PTHREAD_INITFINI := $(libpthread_pthread_DIR)/pt-initfini.c
endif