patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch
author Cody P Schafer <dev@codyps.com>
Mon May 12 00:02:13 2014 +0200 (2014-05-12)
changeset 3322 eb13867a034c
permissions -rw-r--r--
arch/powerpc: add powerpc64le support

Technically, I don't forbid powerpcle support either, but I'm not sure that
there is any library/compiler support for that at the moment (though the hw
technically makes it possible).

powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).

Also make powerpc64 non-experimental. It's practically old at this point.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun>
Patchwork-Id: 347775
yann@2518
     1
commit fc643f77a3abc8743620445f47b1bade9862d45a
yann@2518
     2
Author: Khem Raj <raj.khem@gmail.com>
yann@2518
     3
Date:   Fri Jun 10 13:05:34 2011 -0700
yann@2518
     4
yann@2518
     5
    nptl/Makefile.in: Fix the build break caused by UCLIBC_CTOR_DTOR enabling
yann@2518
     6
    
yann@2518
     7
    Extra / somehow does not match the target and complains that
yann@2518
     8
    $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o has no rules to
yann@2518
     9
    build
yann@2518
    10
    
yann@2518
    11
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
yann@2518
    12
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
yann@2518
    13
yann@2518
    14
diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
yann@2518
    15
index 70616a1..92d72a6 100644
yann@2518
    16
--- a/libpthread/nptl/Makefile.in
yann@2518
    17
+++ b/libpthread/nptl/Makefile.in
yann@2518
    18
@@ -64,8 +64,8 @@ endif
yann@2518
    19
 librt-so-y += $(librt_OBJS:.o=.oS) $(librt-pt-shared-only-routines-y:.o=.oS)
yann@2518
    20
 
yann@2518
    21
 ifeq ($(UCLIBC_CTOR_DTOR),y)
yann@2518
    22
-START_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crti.o
yann@2518
    23
-END_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crtn.o
yann@2518
    24
+START_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o
yann@2518
    25
+END_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crtn.o
yann@2518
    26
 LDFLAGS-libpthread.so += -nostartfiles
yann@2518
    27
 $(top_builddir)lib/libpthread.so: | $(START_FILE-libpthread.so) $(END_FILE-libpthread.so)
yann@2518
    28
 endif