patches/uClibc/0.9.28.3/100-string-functions.patch
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sat Aug 04 23:15:02 2012 +0200 (2012-08-04)
changeset 3027 1ced7cc63576
parent 6 4267d95819bd
permissions -rw-r--r--
cc/gcc: remove duplicate code in core pass-1

Whatever the threading model (NPTL, LT...), we build the same
core pass-1 compiler, so there is no need to have a case-esac
construct.

Remove now mis-leading and incorect comment.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@1
     1
Give preference to target-optimised functions over glibc's ones,
yann@1
     2
which in turn ahave precedence over generic ones.
yann@1
     3
yann@1
     4
--- uClibc.orig/libc/Makefile	2005-07-20 08:10:44.000000000 +0200
yann@1
     5
+++ uclibc/libc/Makefile	2005-07-28 13:33:40.000000000 +0200
yann@1
     6
@@ -59,7 +59,7 @@
yann@1
     7
 	$(AR) dN 2 $(LIBNAME) $$objs && \
yann@1
     8
 	$(AR) dN 2 $(LIBNAME) $$objs
yann@1
     9
 	@for objfile in obj.signal \
yann@1
    10
-	                obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
yann@1
    11
+	                obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
yann@1
    12
 	                obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
yann@1
    13
 		if [ -e $$objfile ] ; then \
yann@1
    14
 			echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \