Index: patches/uClibc-0.9.30.1-branch_update-1.patch
===================================================================
--- patches/uClibc-0.9.30.1-branch_update-1.patch	(revision 35e09633ac3ff8f105632a08f7d453120463dc5f)
+++ 	(revision )
@@ -1,1005 +1,0 @@
-Submitted By: Jim Gifford (jim at cross-lfs dot org)
-Date: 03-28-2009
-Initial Package Version: 0.9.30.1
-Origin: Upstream
-Upstream Status: Applied
-Description: This is a branch update for uClibc-0.9.30.1, and should be
-             rechecked periodically.
-
-diff -Naur uClibc-0.9.30.1.orig/include/math.h uClibc-0.9.30.1/include/math.h
---- uClibc-0.9.30.1.orig/include/math.h	2008-12-22 03:55:13.000000000 -0800
-+++ uClibc-0.9.30.1/include/math.h	2009-03-12 09:51:53.727930000 -0700
-@@ -118,7 +118,7 @@
- # undef	__MATH_PRECNAME
- 
- # if (__STDC__ - 0 || __GNUC__ - 0) \
--     && (defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ || defined __LDBL_COMPAT)
-+     && (!defined __NO_LONG_DOUBLE_MATH || defined __LDBL_COMPAT)
- #  ifdef __LDBL_COMPAT
- 
- #   ifdef __USE_ISOC99
-@@ -230,7 +230,7 @@
-   };
- 
- /* Return number of classification appropriate for X.  */
--# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# ifdef __NO_LONG_DOUBLE_MATH
- #  define fpclassify(x) \
-      (sizeof (x) == sizeof (float) ? __fpclassifyf (x) : __fpclassify (x))
- # else
-@@ -242,7 +242,7 @@
- # endif
- 
- /* Return nonzero value if sign of X is negative.  */
--# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# ifdef __NO_LONG_DOUBLE_MATH
- #  define signbit(x) \
-      (sizeof (x) == sizeof (float) ? __signbitf (x) : __signbit (x))
- # else
-@@ -254,7 +254,7 @@
- # endif
- 
- /* Return nonzero value if X is not +-Inf or NaN.  */
--# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# ifdef __NO_LONG_DOUBLE_MATH
- #  define isfinite(x) \
-      (sizeof (x) == sizeof (float) ? __finitef (x) : __finite (x))
- # else
-@@ -270,7 +270,7 @@
- 
- /* Return nonzero value if X is a NaN.  We could use `fpclassify' but
-    we already have this functions `__isnan' and it is faster.  */
--# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# ifdef __NO_LONG_DOUBLE_MATH
- #  define isnan(x) \
-      (sizeof (x) == sizeof (float) ? __isnanf (x) : __isnan (x))
- # else
-@@ -282,7 +282,7 @@
- # endif
- 
- /* Return nonzero value is X is positive or negative infinity.  */
--# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# ifdef __NO_LONG_DOUBLE_MATH
- #  define isinf(x) \
-      (sizeof (x) == sizeof (float) ? __isinff (x) : __isinf (x))
- # else
-diff -Naur uClibc-0.9.30.1.orig/include/tgmath.h uClibc-0.9.30.1/include/tgmath.h
---- uClibc-0.9.30.1.orig/include/tgmath.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/include/tgmath.h	2009-03-12 09:51:53.727930000 -0700
-@@ -36,7 +36,7 @@
- 
- #if __GNUC_PREREQ (2, 7)
- 
--# ifndef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# ifdef __NO_LONG_DOUBLE_MATH
- #  define __tgml(fct) fct
- # else
- #  define __tgml(fct) fct ## l
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/arm/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/arm/dl-sysdep.h	2008-09-25 01:35:20.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -15,7 +15,7 @@
-   GOT_BASE[1] = (unsigned long) MODULE; \
- }
- 
--static __inline__ unsigned long arm_modulus(unsigned long m, unsigned long p)
-+static __always_inline unsigned long arm_modulus(unsigned long m, unsigned long p)
- {
- 	unsigned long i,t,inc;
- 	i=p; t=0;
-@@ -72,7 +72,7 @@
-    first element of the GOT.  We used to use the PIC register to do this
-    without a constant pool reference, but GCC 4.2 will use a pseudo-register
-    for the PIC base, so it may not be in r10.  */
--static __inline__ Elf32_Addr __attribute__ ((unused))
-+static __always_inline Elf32_Addr __attribute__ ((unused))
- elf_machine_dynamic (void)
- {
-   Elf32_Addr dynamic;
-@@ -104,7 +104,7 @@
- }
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr __attribute__ ((unused))
-+static __always_inline Elf32_Addr __attribute__ ((unused))
- elf_machine_load_address (void)
- {
- 	extern void __dl_start __asm__ ("_dl_start");
-@@ -128,7 +128,7 @@
- 	return pcrel_addr - got_addr;
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/bfin/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/bfin/dl-sysdep.h	2008-07-23 04:23:36.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -213,7 +213,7 @@
- #endif
- 
- #include <elf.h>
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/cris/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/cris/dl-sysdep.h	2008-07-23 04:19:00.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -39,7 +39,7 @@
-      || ((type) == R_CRIS_GLOB_DAT)) * ELF_RTYPE_CLASS_PLT)	\
-    | (((type) == R_CRIS_COPY) * ELF_RTYPE_CLASS_COPY))
- 
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_dynamic(void)
- {
- 	/* Don't just set this to an asm variable "r0" since that's not logical
-@@ -61,7 +61,7 @@
-    there's some other symbol we could use, that we don't *have* to force a
-    GOT entry for.  */
- 
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_load_address(void)
- {
- 	Elf32_Addr gotaddr_diff;
-@@ -95,7 +95,7 @@
- 	return gotaddr_diff;
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr,
-                      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/i386/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/i386/dl-sysdep.h	2008-09-15 09:36:11.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -42,8 +42,8 @@
- /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
-    first element of the GOT.  This must be inlined in a function which
-    uses global data.  */
--static __inline__ Elf32_Addr elf_machine_dynamic (void) attribute_unused;
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr elf_machine_dynamic (void) attribute_unused;
-+static __always_inline Elf32_Addr
- elf_machine_dynamic (void)
- {
- 	register Elf32_Addr *got __asm__ ("%ebx");
-@@ -52,8 +52,8 @@
- 
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr elf_machine_load_address (void) attribute_unused;
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr elf_machine_load_address (void) attribute_unused;
-+static __always_inline Elf32_Addr
- elf_machine_load_address (void)
- {
- 	/* It doesn't matter what variable this is, the reference never makes
-@@ -66,7 +66,7 @@
- 	return addr;
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/m68k/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/m68k/dl-sysdep.h	2008-09-15 09:36:11.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -41,7 +41,7 @@
- /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
-    first element of the GOT.  This must be inlined in a function which
-    uses global data.  */
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_dynamic (void)
- {
- 	register Elf32_Addr *got __asm__ ("%a5");
-@@ -50,7 +50,7 @@
- 
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_load_address (void)
- {
- 	Elf32_Addr addr;
-@@ -60,7 +60,7 @@
- 	return addr;
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/mips/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/mips/dl-sysdep.h	2008-09-15 09:36:11.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -163,7 +163,7 @@
- 
- #define OFFSET_GP_GOT 0x7ff0
- 
--static __inline__ ElfW(Addr) *
-+static __always_inline ElfW(Addr) *
- elf_mips_got_from_gpreg (ElfW(Addr) gpreg)
- {
- 	/* FIXME: the offset of gp from GOT may be system-dependent. */
-@@ -173,7 +173,7 @@
- /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
-    first element of the GOT.  This must be inlined in a function which
-    uses global data.  We assume its $gp points to the primary GOT.  */
--static __inline__ ElfW(Addr)
-+static __always_inline ElfW(Addr)
- elf_machine_dynamic (void)
- {
- 	register ElfW(Addr) gp __asm__ ("$28");
-@@ -192,7 +192,7 @@
- #endif
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ ElfW(Addr)
-+static __always_inline ElfW(Addr)
- elf_machine_load_address (void)
- {
- 	ElfW(Addr) addr;
-@@ -208,7 +208,7 @@
- 	return addr;
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (ElfW(Addr) load_off, const ElfW(Addr) rel_addr,
- 		      ElfW(Word) relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/powerpc/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/powerpc/dl-sysdep.h	2008-09-15 09:36:11.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -90,7 +90,7 @@
- #define ELF_MACHINE_PLTREL_OVERLAP 1
- 
- /* Return the value of the GOT pointer.  */
--static __inline__ Elf32_Addr * __attribute__ ((const))
-+static __always_inline Elf32_Addr * __attribute__ ((const))
- ppc_got (void)
- {
- 	Elf32_Addr *got;
-@@ -109,14 +109,14 @@
- 
- /* Return the link-time address of _DYNAMIC, stored as
-    the first value in the GOT. */
--static __inline__ Elf32_Addr __attribute__ ((const))
-+static __always_inline Elf32_Addr __attribute__ ((const))
- elf_machine_dynamic (void)
- {
- 	return *ppc_got();
- }
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr __attribute__ ((const))
-+static __always_inline Elf32_Addr __attribute__ ((const))
- elf_machine_load_address (void)
- {
-   Elf32_Addr *branchaddr;
-@@ -164,7 +164,7 @@
-   return runtime_dynamic - elf_machine_dynamic ();
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/sh/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/sh/dl-sysdep.h	2008-09-15 09:36:11.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -25,7 +25,7 @@
- struct elf_resolve;
- extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry);
- 
--static __inline__ unsigned int
-+static __always_inline unsigned int
- _dl_urem(unsigned int n, unsigned int base)
- {
-   int res;
-@@ -100,7 +100,7 @@
- /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
-    first element of the GOT.  This must be inlined in a function which
-    uses global data.  */
--static __inline__ Elf32_Addr __attribute__ ((unused))
-+static __always_inline Elf32_Addr __attribute__ ((unused))
- elf_machine_dynamic (void)
- {
- 	register Elf32_Addr *got;
-@@ -109,7 +109,7 @@
- }
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr __attribute__ ((unused))
-+static __always_inline Elf32_Addr __attribute__ ((unused))
- elf_machine_load_address (void)
- {
- 	Elf32_Addr addr;
-@@ -151,7 +151,7 @@
-     } \
-   }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/sh64/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/sh64/dl-sysdep.h	2008-09-15 09:36:11.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -42,7 +42,7 @@
- /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
-    first element of the GOT.  This must be inlined in a function which
-    uses global data.  */
--static __inline__ Elf32_Addr elf_machine_dynamic(void)
-+static __always_inline Elf32_Addr elf_machine_dynamic(void)
- {
- 	register Elf32_Addr *got;
- 
-@@ -70,7 +70,7 @@
- }
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr elf_machine_load_address(void)
-+static __always_inline Elf32_Addr elf_machine_load_address(void)
- {
- 	Elf32_Addr addr;
- 
-@@ -123,7 +123,7 @@
- 	}						\
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		     Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/sparc/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/sparc/dl-sysdep.h	2008-09-15 09:36:11.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -49,7 +49,7 @@
- 
- #ifndef COMPILE_ASM
- /* Cheap modulo implementation, taken from arm/ld_sysdep.h. */
--static __inline__ unsigned long
-+static __always_inline unsigned long
- sparc_mod(unsigned long m, unsigned long p)
- {
- 	unsigned long i, t, inc;
-@@ -127,7 +127,7 @@
- /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
-    first element of the GOT.  This must be inlined in a function which
-    uses global data.  */
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_dynamic (void)
- {
- 	register Elf32_Addr *got __asm__ ("%l7");
-@@ -138,7 +138,7 @@
- }
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_load_address (void)
- {
- 	register Elf32_Addr *pc __asm__ ("%o7"), *got __asm__ ("%l7");
-@@ -157,7 +157,7 @@
- 	return (Elf32_Addr) got - *got + (pc[2] - pc[3]) * 4 - 4;
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/ldso/ldso/xtensa/dl-sysdep.h uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h
---- uClibc-0.9.30.1.orig/ldso/ldso/xtensa/dl-sysdep.h	2008-07-23 04:19:00.000000000 -0700
-+++ uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h	2009-03-05 09:18:44.955696000 -0800
-@@ -87,7 +87,7 @@
-   (((type) == R_XTENSA_JMP_SLOT) * ELF_RTYPE_CLASS_PLT)
- 
- /* Return the link-time address of _DYNAMIC.  */
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_dynamic (void)
- {
-   /* This function is only used while bootstrapping the runtime linker.
-@@ -97,7 +97,7 @@
- }
- 
- /* Return the run-time load address of the shared object.  */
--static __inline__ Elf32_Addr
-+static __always_inline Elf32_Addr
- elf_machine_load_address (void)
- {
-   Elf32_Addr addr, tmp;
-@@ -118,7 +118,7 @@
-   return addr - 3;
- }
- 
--static __inline__ void
-+static __always_inline void
- elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
- 		      Elf32_Word relative_count)
- {
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/alpha/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/alpha/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -78,3 +78,7 @@
- 
- # endif /* GNUC before 3.4 */
- #endif /* COMPLEX_H */
-+
-+#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/alpha/bits/wordsize.h uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/alpha/bits/wordsize.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/alpha/bits/wordsize.h	2009-03-12 09:51:53.727930000 -0700
-@@ -18,13 +18,13 @@
- 
- #define __WORDSIZE	64
- 
--#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL
-+#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
- 
- /* Signal that we didn't used to have a `long double'. The changes all
-    the `long double' function variants to be redirects to the double
-    functions.  */
- # define __LONG_DOUBLE_MATH_OPTIONAL	1
- # ifndef __LONG_DOUBLE_128__
--#  undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#  define __NO_LONG_DOUBLE_MATH		1
- # endif
- #endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/arm/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/arm/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/arm/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -34,3 +34,11 @@
- # define FP_ILOGBNAN	(2147483647)
- 
- #endif	/* ISO C99 */
-+
-+#ifndef __NO_LONG_DOUBLE_MATH
-+/* Signal that we do not really have a `long double'.  This disables the
-+   declaration of all the `long double' function variants.  */
-+/* XXX The FPA does support this but the patterns in GCC are currently
-+   turned off.  */
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/common/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/common/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/common/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -35,3 +35,9 @@
- # define FP_ILOGBNAN	2147483647
- 
- #endif	/* ISO C99 */
-+
-+#ifndef __NO_LONG_DOUBLE_MATH
-+/* Signal that we do not really have a `long double'.  The disables the
-+   declaration of all the `long double' function variants.  */
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/i386/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/i386/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/i386/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -44,3 +44,7 @@
- # define FP_ILOGBNAN	(-2147483647 - 1)
- 
- #endif	/* ISO C99 */
-+
-+#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/ia64/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/ia64/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/ia64/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -35,3 +35,7 @@
- # define FP_ILOGBNAN	2147483647
- 
- #endif	/* ISO C99 */
-+
-+#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/m68k/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/m68k/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/m68k/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -36,3 +36,7 @@
- # define FP_ILOGBNAN	(2147483647)
- 
- #endif	/* ISO C99 */
-+
-+#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/mips/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/mips/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/mips/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -39,8 +39,10 @@
- 
- #endif	/* ISO C99 */
- 
--#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && _MIPS_SIM == _ABIO32
-+#if ! defined __NO_LONG_DOUBLE_MATH && _MIPS_SIM == _ABIO32
- /* Signal that we do not really have a `long double'.  This disables the
-    declaration of all the `long double' function variants.  */
--# error defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ and _MIPS_SIM == _ABIO32
-+# define __NO_LONG_DOUBLE_MATH	1
-+#elif !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# define __NO_LONG_DOUBLE_MATH	1
- #endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/nios/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/nios/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/nios/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -34,3 +34,11 @@
- # define FP_ILOGBNAN	(2147483647)
- 
- #endif	/* ISO C99 */
-+
-+#ifndef __NO_LONG_DOUBLE_MATH
-+/* Signal that we do not really have a `long double'.  This disables the
-+   declaration of all the `long double' function variants.  */
-+/* XXX The FPA does support this but the patterns in GCC are currently
-+   turned off.  */
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/nios2/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/nios2/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/nios2/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -34,3 +34,11 @@
- # define FP_ILOGBNAN	(2147483647)
- 
- #endif	/* ISO C99 */
-+
-+#ifndef __NO_LONG_DOUBLE_MATH
-+/* Signal that we do not really have a `long double'.  This disables the
-+   declaration of all the `long double' function variants.  */
-+/* XXX The FPA does support this but the patterns in GCC are currently
-+   turned off.  */
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/powerpc/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/powerpc/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -65,11 +65,13 @@
- 
- #endif	/* ISO C99 */
- 
--#ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#ifndef __NO_LONG_DOUBLE_MATH
- #include <bits/wordsize.h>
- /* Signal that we do not really have a `long double'.  The disables the
-    declaration of all the `long double' function variants.  */
- # if __WORDSIZE == 32
--#  undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#  define __NO_LONG_DOUBLE_MATH	1
-+# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#  define __NO_LONG_DOUBLE_MATH	1
- # endif  /* __WORDSIZE == 32 */
--#endif  /* __UCLIBC_HAS_LONG_DOUBLE_MATH__ */
-+#endif  /* __NO_LONG_DOUBLE_MATH */
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/powerpc/bits/wordsize.h uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/powerpc/bits/wordsize.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/powerpc/bits/wordsize.h	2009-03-12 09:51:53.727930000 -0700
-@@ -7,13 +7,13 @@
- # define __WORDSIZE	32
- #endif
- 
--#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL
-+#if !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL
- 
- /* Signal the glibc ABI didn't used to have a `long double'.
-    The changes all the `long double' function variants to be redirects
-    to the double functions.  */
- # define __LONG_DOUBLE_MATH_OPTIONAL   1
- # ifndef __LONG_DOUBLE_128__
--#  undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#  define __NO_LONG_DOUBLE_MATH        1
- # endif
- #endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/sh/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/sh/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/sh/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -61,3 +61,9 @@
- # define FP_ILOGBNAN	0x7fffffff
- 
- #endif	/* ISO C99 */
-+
-+#ifndef __NO_LONG_DOUBLE_MATH
-+/* Signal that we do not really have a `long double'.  The disables the
-+   declaration of all the `long double' function variants.  */
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/sparc/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/sparc/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -57,13 +57,15 @@
- 
- #endif	/* ISO C99 */
- 
--#ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#ifndef __NO_LONG_DOUBLE_MATH
- 
- # if __WORDSIZE == 32
- /* Signal that in 32bit ABI we do not really have a `long double'.
-    The disables the declaration of all the `long double' function
-    variants.  */
--#  undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#  define __NO_LONG_DOUBLE_MATH	1
-+# elif !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#  define __NO_LONG_DOUBLE_MATH	1
- # endif
- 
- #endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/sparc/bits/mathinline.h uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/sparc/bits/mathinline.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/mathinline.h	2009-03-12 09:51:53.727930000 -0700
-@@ -37,7 +37,7 @@
- 
- # if __WORDSIZE == 32
- 
--#  ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#  ifndef __NO_LONG_DOUBLE_MATH
- 
- #   define __unordered_cmp(x, y) \
-   (__extension__							      \
-@@ -157,7 +157,7 @@
-   return __u.__i[0] < 0;
- }
- 
--#    ifdef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#    ifndef __NO_LONG_DOUBLE_MATH
- __MATH_INLINE int
- __NTH (__signbitl (long double __x))
- {
-@@ -219,7 +219,7 @@
-   _Qp_sqrt (&__r, &__x);
-   return __r;
- }
--#   elif defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#   elif !defined __NO_LONG_DOUBLE_MATH
- __MATH_INLINE long double
- sqrtl (long double __x) __THROW
- {
-@@ -257,7 +257,7 @@
-   _Qp_sqrt(&__r, &__x);
-   return __r;
- }
--#   elif defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#   elif !defined __NO_LONG_DOUBLE_MATH
- __MATH_INLINE long double
- __ieee754_sqrtl (long double __x)
- {
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/sparc/bits/wordsize.h uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/sparc/bits/wordsize.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/sparc/bits/wordsize.h	2009-03-12 09:51:53.727930000 -0700
-@@ -6,7 +6,7 @@
- # define __WORDSIZE	32
- #endif
- 
--#if 0 /* uClibc: done in mathdefs.h: defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __LONG_DOUBLE_MATH_OPTIONAL*/
-+#if 0 /* uClibc: done in mathdefs.h: !defined __NO_LONG_DOUBLE_MATH && !defined __LONG_DOUBLE_MATH_OPTIONAL*/
- 
- # if __WORDSIZE == 32
- /* Signal that in 32bit ABI we didn't used to have a `long double'.
-@@ -14,7 +14,7 @@
-    to the double functions.  */
- #  define __LONG_DOUBLE_MATH_OPTIONAL   1
- #  ifndef __LONG_DOUBLE_128__
--#   undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#   define __NO_LONG_DOUBLE_MATH        1
- #  endif
- # endif
- #endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/x86_64/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/x86_64/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/x86_64/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -46,3 +46,7 @@
- # define FP_ILOGBNAN	(-2147483647 - 1)
- 
- #endif	/* ISO C99 */
-+
-+#if !defined __NO_LONG_DOUBLE_MATH && !defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# define __NO_LONG_DOUBLE_MATH	1
-+#endif
-diff -Naur uClibc-0.9.30.1.orig/libc/sysdeps/linux/xtensa/bits/mathdef.h uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h
---- uClibc-0.9.30.1.orig/libc/sysdeps/linux/xtensa/bits/mathdef.h	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libc/sysdeps/linux/xtensa/bits/mathdef.h	2009-03-12 09:51:53.727930000 -0700
-@@ -36,8 +36,8 @@
- 
- #endif	/* ISO C99 */
- 
--#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#ifndef __NO_LONG_DOUBLE_MATH
- /* Signal that we do not really have a `long double'.  The disables the
-    declaration of all the `long double' function variants.  */
--# undef __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+# define __NO_LONG_DOUBLE_MATH	1
- #endif
-diff -Naur uClibc-0.9.30.1.orig/libm/ldouble_wrappers.c uClibc-0.9.30.1/libm/ldouble_wrappers.c
---- uClibc-0.9.30.1.orig/libm/ldouble_wrappers.c	2009-02-24 06:31:14.000000000 -0800
-+++ uClibc-0.9.30.1/libm/ldouble_wrappers.c	2009-03-12 09:51:53.727930000 -0700
-@@ -13,6 +13,16 @@
- #include "math.h"
- #include <complex.h>
- 
-+#if defined __NO_LONG_DOUBLE_MATH
-+# define int_WRAPPER_C99(func) /* not needed */
-+# else
-+# define int_WRAPPER_C99(func) \
-+int func##l(long double x) \
-+{ \
-+    return func((double) x); \
-+} \
-+libm_hidden_def(func##l)
-+#endif
- 
- /* Implement the following, as defined by SuSv3 */
- #if 0
-@@ -543,46 +553,28 @@
- #endif
- 
- 
--#ifdef __DO_C99_MATH__
-+#if defined __DO_C99_MATH__
- 
- #ifdef L_fpclassifyl
--int __fpclassifyl (long double x)
--{
--	return __fpclassify ( (double) x );
--}
--libm_hidden_def(__fpclassifyl)
-+int_WRAPPER_C99(__fpclassify)
- #endif
- 
- #ifdef L_finitel
--int __finitel (long double x)
--{
--	return __finite ( (double)x );
--}
--libm_hidden_def(__finitel)
-+int_WRAPPER_C99(__finite)
- #endif
- 
- #ifdef L_signbitl
--int __signbitl (long double x)
--{
--	return __signbitl ( (double)x );
--}
--libm_hidden_def(__signbitl)
-+int_WRAPPER_C99(__signbit)
- #endif
- 
- #ifdef L_isnanl
--int __isnanl (long double x)
--{
--	return __isnan ( (double)x );
--}
--libm_hidden_def(__isnanl)
-+int_WRAPPER_C99(__isnan)
- #endif
- 
- #ifdef L_isinfl
--int __isinfl (long double x)
--{
--	return __isinf ( (double)x );
--}
--libm_hidden_def(__isinfl)
-+int_WRAPPER_C99(__isinf)
- #endif
- 
--#endif
-+#endif /* DO_C99_MATH */
-+
-+#undef int_WRAPPER_C99
-diff -Naur uClibc-0.9.30.1.orig/libm/nan.c uClibc-0.9.30.1/libm/nan.c
---- uClibc-0.9.30.1.orig/libm/nan.c	2008-10-03 07:24:28.000000000 -0700
-+++ uClibc-0.9.30.1/libm/nan.c	2009-03-12 09:51:53.727930000 -0700
-@@ -45,7 +45,7 @@
- }
- libm_hidden_def(nanf)
- 
--#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__
-+#if defined __UCLIBC_HAS_LONG_DOUBLE_MATH__ && !defined __NO_LONG_DOUBLE_MATH
- libm_hidden_proto(nanl)
- long double nanl (const char *tagp)
- {
-diff -Naur uClibc-0.9.30.1.orig/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h
---- uClibc-0.9.30.1.orig/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h	1969-12-31 16:00:00.000000000 -0800
-+++ uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/arm/sysdep-cancel.h	2009-03-28 09:09:19.312443917 -0700
-@@ -0,0 +1,9 @@
-+#include <sysdep.h>
-+
-+/* No multi-thread handling enabled.  */
-+#define SINGLE_THREAD_P (1)
-+#define RTLD_SINGLE_THREAD_P (1)
-+#define LIBC_CANCEL_ASYNC()	0 /* Just a dummy value.  */
-+#define LIBC_CANCEL_RESET(val)	((void)(val)) /* Nothing, but evaluate it.  */
-+#define LIBC_CANCEL_HANDLED()	/* Nothing.  */
-+
-diff -Naur uClibc-0.9.30.1.orig/libpthread/linuxthreads/sysdeps/arm/sysdep.h uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/arm/sysdep.h
---- uClibc-0.9.30.1.orig/libpthread/linuxthreads/sysdeps/arm/sysdep.h	1969-12-31 16:00:00.000000000 -0800
-+++ uClibc-0.9.30.1/libpthread/linuxthreads/sysdeps/arm/sysdep.h	2009-03-28 09:10:02.267196257 -0700
-@@ -0,0 +1,138 @@
-+/* Generic asm macros used on many machines.
-+   Copyright (C) 1991,92,93,96,98,2002,2003 Free Software Foundation, Inc.
-+   This file is part of the GNU C Library.
-+
-+   The GNU C Library is free software; you can redistribute it and/or
-+   modify it under the terms of the GNU Lesser General Public
-+   License as published by the Free Software Foundation; either
-+   version 2.1 of the License, or (at your option) any later version.
-+
-+   The GNU C Library is distributed in the hope that it will be useful,
-+   but WITHOUT ANY WARRANTY; without even the implied warranty of
-+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-+   Lesser General Public License for more details.
-+
-+   You should have received a copy of the GNU Lesser General Public
-+   License along with the GNU C Library; if not, write to the Free
-+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-+   02111-1307 USA.  */
-+
-+#ifndef C_LABEL
-+
-+/* Define a macro we can use to construct the asm name for a C symbol.  */
-+#ifdef	NO_UNDERSCORES
-+#ifdef	__STDC__
-+#define C_LABEL(name)		name##:
-+#else
-+#define C_LABEL(name)		name/**/:
-+#endif
-+#else
-+#ifdef	__STDC__
-+#define C_LABEL(name)		_##name##:
-+#else
-+#define C_LABEL(name)		_/**/name/**/:
-+#endif
-+#endif
-+
-+#endif
-+
-+#ifdef __ASSEMBLER__
-+/* Mark the end of function named SYM.  This is used on some platforms
-+   to generate correct debugging information.  */
-+#ifndef END
-+#define END(sym)
-+#endif
-+
-+#ifndef JUMPTARGET
-+#define JUMPTARGET(sym)		sym
-+#endif
-+
-+/* Makros to generate eh_frame unwind information.  */
-+# ifdef HAVE_ASM_CFI_DIRECTIVES
-+#  define cfi_startproc			.cfi_startproc
-+#  define cfi_endproc			.cfi_endproc
-+#  define cfi_def_cfa(reg, off)		.cfi_def_cfa reg, off
-+#  define cfi_def_cfa_register(reg)	.cfi_def_cfa_register reg
-+#  define cfi_def_cfa_offset(off)	.cfi_def_cfa_offset off
-+#  define cfi_adjust_cfa_offset(off)	.cfi_adjust_cfa_offset off
-+#  define cfi_offset(reg, off)		.cfi_offset reg, off
-+#  define cfi_rel_offset(reg, off)	.cfi_rel_offset reg, off
-+#  define cfi_register(r1, r2)		.cfi_register r1, r2
-+#  define cfi_return_column(reg)	.cfi_return_column reg
-+#  define cfi_restore(reg)		.cfi_restore reg
-+#  define cfi_same_value(reg)		.cfi_same_value reg
-+#  define cfi_undefined(reg)		.cfi_undefined reg
-+#  define cfi_remember_state		.cfi_remember_state
-+#  define cfi_restore_state		.cfi_restore_state
-+#  define cfi_window_save		.cfi_window_save
-+# else
-+#  define cfi_startproc
-+#  define cfi_endproc
-+#  define cfi_def_cfa(reg, off)
-+#  define cfi_def_cfa_register(reg)
-+#  define cfi_def_cfa_offset(off)
-+#  define cfi_adjust_cfa_offset(off)
-+#  define cfi_offset(reg, off)
-+#  define cfi_rel_offset(reg, off)
-+#  define cfi_register(r1, r2)
-+#  define cfi_return_column(reg)
-+#  define cfi_restore(reg)
-+#  define cfi_same_value(reg)
-+#  define cfi_undefined(reg)
-+#  define cfi_remember_state
-+#  define cfi_restore_state
-+#  define cfi_window_save
-+# endif
-+
-+#else /* ! ASSEMBLER */
-+# ifdef HAVE_ASM_CFI_DIRECTIVES
-+#  define CFI_STRINGIFY(Name) CFI_STRINGIFY2 (Name)
-+#  define CFI_STRINGIFY2(Name) #Name
-+#  define CFI_STARTPROC	".cfi_startproc"
-+#  define CFI_ENDPROC	".cfi_endproc"
-+#  define CFI_DEF_CFA(reg, off)	\
-+   ".cfi_def_cfa " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
-+#  define CFI_DEF_CFA_REGISTER(reg) \
-+   ".cfi_def_cfa_register " CFI_STRINGIFY(reg)
-+#  define CFI_DEF_CFA_OFFSET(off) \
-+   ".cfi_def_cfa_offset " CFI_STRINGIFY(off)
-+#  define CFI_ADJUST_CFA_OFFSET(off) \
-+   ".cfi_adjust_cfa_offset " CFI_STRINGIFY(off)
-+#  define CFI_OFFSET(reg, off) \
-+   ".cfi_offset " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
-+#  define CFI_REL_OFFSET(reg, off) \
-+   ".cfi_rel_offset " CFI_STRINGIFY(reg) "," CFI_STRINGIFY(off)
-+#  define CFI_REGISTER(r1, r2) \
-+   ".cfi_register " CFI_STRINGIFY(r1) "," CFI_STRINGIFY(r2)
-+#  define CFI_RETURN_COLUMN(reg) \
-+   ".cfi_return_column " CFI_STRINGIFY(reg)
-+#  define CFI_RESTORE(reg) \
-+   ".cfi_restore " CFI_STRINGIFY(reg)
-+#  define CFI_UNDEFINED(reg) \
-+   ".cfi_undefined " CFI_STRINGIFY(reg)
-+#  define CFI_REMEMBER_STATE \
-+   ".cfi_remember_state"
-+#  define CFI_RESTORE_STATE \
-+   ".cfi_restore_state"
-+#  define CFI_WINDOW_SAVE \
-+   ".cfi_window_save"
-+# else
-+#  define CFI_STARTPROC
-+#  define CFI_ENDPROC
-+#  define CFI_DEF_CFA(reg, off)
-+#  define CFI_DEF_CFA_REGISTER(reg)
-+#  define CFI_DEF_CFA_OFFSET(off)
-+#  define CFI_ADJUST_CFA_OFFSET(off)
-+#  define CFI_OFFSET(reg, off)
-+#  define CFI_REL_OFFSET(reg, off)
-+#  define CFI_REGISTER(r1, r2)
-+#  define CFI_RETURN_COLUMN(reg)
-+#  define CFI_RESTORE(reg)
-+#  define CFI_UNDEFINED(reg)
-+#  define CFI_REMEMBER_STATE
-+#  define CFI_RESTORE_STATE
-+#  define CFI_WINDOW_SAVE
-+# endif
-+
-+#endif /* __ASSEMBLER__ */
-+
-diff -Naur uClibc-0.9.30.1.orig/Rules.mak uClibc-0.9.30.1/Rules.mak
---- uClibc-0.9.30.1.orig/Rules.mak	2009-03-02 13:10:04.000000000 -0800
-+++ uClibc-0.9.30.1/Rules.mak	2009-03-25 12:26:54.011652000 -0700
-@@ -85,7 +85,7 @@
- MAJOR_VERSION := 0
- MINOR_VERSION := 9
- SUBLEVEL      := 30
--EXTRAVERSION  :=.1
-+EXTRAVERSION  :=.2-svn
- VERSION       := $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
- ifneq ($(EXTRAVERSION),)
- VERSION       := $(VERSION)$(EXTRAVERSION)
-@@ -393,7 +393,7 @@
- 	# -shared by itself would get us global function descriptors
- 	# and calls through PLTs, dynamic resolution of symbols, etc,
- 	# which would break as well, but -Bsymbolic comes to the rescue.
--	export LDPIEFLAG:=-Wl,-shared -Wl,-Bsymbolic
-+	export LDPIEFLAG:=-shared -Wl,-Bsymbolic
- 	UCLIBC_LDSO=ld.so.1
- endif
- 
-@@ -520,7 +520,7 @@
- 
- CFLAGS += $(call check_gcc,-std=gnu99,)
- 
--LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -Wl,-shared \
-+LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared \
- 	-Wl,--warn-common -Wl,--warn-once -Wl,-z,combreloc
- # binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok
- #LDFLAGS_NOSTRIP+=$(call check_ld,--gc-sections)
Index: patches/uClibc-0.9.31-configs-1.patch
===================================================================
--- patches/uClibc-0.9.31-configs-1.patch	(revision a9bbc469733308bf44c1bc0cfc6333c390c2e637)
+++ patches/uClibc-0.9.31-configs-1.patch	(revision a9bbc469733308bf44c1bc0cfc6333c390c2e637)
@@ -0,0 +1,2002 @@
+Submitted By: Joe Ciccone <jciccone@gmail.com>
+Date: 2010-11-28
+Initial Package Version: 0.9.31
+Origin: Joe Ciccone
+Upstream Status: None - CLFS Specific
+Description: Default configurations for CLFS builds of uClibc.
+
+diff -Naur uClibc-0.9.31.orig/clfs/config.alpha.little uClibc-0.9.31/clfs/config.alpha.little
+--- uClibc-0.9.31.orig/clfs/config.alpha.little	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.alpha.little	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,218 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:26:37 2010
++#
++TARGET_alpha=y
++# TARGET_arm is not set
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++# TARGET_hppa is not set
++# TARGET_i386 is not set
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++# TARGET_mips is not set
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++# TARGET_x86_64 is not set
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="alpha"
++FORCE_OPTIONS_FOR_ARCH=y
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_LITTLE_ENDIAN=y
++
++#
++# Using Little Endian
++#
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++ARCH_HAS_NO_SHARED=y
++ARCH_HAS_NO_LDSO=y
++UCLIBC_CTOR_DTOR=y
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++UCLIBC_HAS_ARC4RANDOM=y
++# HAVE_NO_SSP is not set
++# UCLIBC_HAS_SSP is not set
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
+diff -Naur uClibc-0.9.31.orig/clfs/config.arm.big uClibc-0.9.31/clfs/config.arm.big
+--- uClibc-0.9.31.orig/clfs/config.arm.big	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.arm.big	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,252 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:27:23 2010
++#
++# TARGET_alpha is not set
++TARGET_arm=y
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++# TARGET_hppa is not set
++# TARGET_i386 is not set
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++# TARGET_mips is not set
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++# TARGET_x86_64 is not set
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="arm"
++FORCE_OPTIONS_FOR_ARCH=y
++CONFIG_ARM_OABI=y
++# CONFIG_ARM_EABI is not set
++CONFIG_GENERIC_ARM=y
++# CONFIG_ARM610 is not set
++# CONFIG_ARM710 is not set
++# CONFIG_ARM7TDMI is not set
++# CONFIG_ARM720T is not set
++# CONFIG_ARM920T is not set
++# CONFIG_ARM922T is not set
++# CONFIG_ARM926T is not set
++# CONFIG_ARM10T is not set
++# CONFIG_ARM1136JF_S is not set
++# CONFIG_ARM1176JZ_S is not set
++# CONFIG_ARM1176JZF_S is not set
++# CONFIG_ARM_CORTEX_M3 is not set
++# CONFIG_ARM_CORTEX_M1 is not set
++# CONFIG_ARM_SA110 is not set
++# CONFIG_ARM_SA1100 is not set
++# CONFIG_ARM_XSCALE is not set
++# CONFIG_ARM_IWMMXT is not set
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_ANY_ENDIAN=y
++ARCH_BIG_ENDIAN=y
++ARCH_WANTS_BIG_ENDIAN=y
++# ARCH_WANTS_LITTLE_ENDIAN is not set
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++# ARCH_HAS_NO_SHARED is not set
++# ARCH_HAS_NO_LDSO is not set
++HAVE_SHARED=y
++# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
++LDSO_LDD_SUPPORT=y
++LDSO_CACHE_SUPPORT=y
++# LDSO_PRELOAD_FILE_SUPPORT is not set
++LDSO_BASE_FILENAME="ld.so"
++UCLIBC_STATIC_LDCONFIG=y
++LDSO_RUNPATH=y
++LDSO_SEARCH_INTERP_PATH=y
++UCLIBC_CTOR_DTOR=y
++# LDSO_GNU_HASH_SUPPORT is not set
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++# UCLIBC_BUILD_PIE is not set
++UCLIBC_HAS_ARC4RANDOM=y
++# HAVE_NO_SSP is not set
++# UCLIBC_HAS_SSP is not set
++UCLIBC_BUILD_RELRO=y
++# UCLIBC_BUILD_NOW is not set
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# SUPPORT_LD_DEBUG is not set
++# SUPPORT_LD_DEBUG_EARLY is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
+diff -Naur uClibc-0.9.31.orig/clfs/config.arm.little uClibc-0.9.31/clfs/config.arm.little
+--- uClibc-0.9.31.orig/clfs/config.arm.little	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.arm.little	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,252 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:27:45 2010
++#
++# TARGET_alpha is not set
++TARGET_arm=y
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++# TARGET_hppa is not set
++# TARGET_i386 is not set
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++# TARGET_mips is not set
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++# TARGET_x86_64 is not set
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="arm"
++FORCE_OPTIONS_FOR_ARCH=y
++CONFIG_ARM_OABI=y
++# CONFIG_ARM_EABI is not set
++CONFIG_GENERIC_ARM=y
++# CONFIG_ARM610 is not set
++# CONFIG_ARM710 is not set
++# CONFIG_ARM7TDMI is not set
++# CONFIG_ARM720T is not set
++# CONFIG_ARM920T is not set
++# CONFIG_ARM922T is not set
++# CONFIG_ARM926T is not set
++# CONFIG_ARM10T is not set
++# CONFIG_ARM1136JF_S is not set
++# CONFIG_ARM1176JZ_S is not set
++# CONFIG_ARM1176JZF_S is not set
++# CONFIG_ARM_CORTEX_M3 is not set
++# CONFIG_ARM_CORTEX_M1 is not set
++# CONFIG_ARM_SA110 is not set
++# CONFIG_ARM_SA1100 is not set
++# CONFIG_ARM_XSCALE is not set
++# CONFIG_ARM_IWMMXT is not set
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_ANY_ENDIAN=y
++ARCH_LITTLE_ENDIAN=y
++# ARCH_WANTS_BIG_ENDIAN is not set
++ARCH_WANTS_LITTLE_ENDIAN=y
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++# ARCH_HAS_NO_SHARED is not set
++# ARCH_HAS_NO_LDSO is not set
++HAVE_SHARED=y
++# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
++LDSO_LDD_SUPPORT=y
++LDSO_CACHE_SUPPORT=y
++# LDSO_PRELOAD_FILE_SUPPORT is not set
++LDSO_BASE_FILENAME="ld.so"
++UCLIBC_STATIC_LDCONFIG=y
++LDSO_RUNPATH=y
++LDSO_SEARCH_INTERP_PATH=y
++UCLIBC_CTOR_DTOR=y
++# LDSO_GNU_HASH_SUPPORT is not set
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++# UCLIBC_BUILD_PIE is not set
++UCLIBC_HAS_ARC4RANDOM=y
++# HAVE_NO_SSP is not set
++# UCLIBC_HAS_SSP is not set
++UCLIBC_BUILD_RELRO=y
++# UCLIBC_BUILD_NOW is not set
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# SUPPORT_LD_DEBUG is not set
++# SUPPORT_LD_DEBUG_EARLY is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
+diff -Naur uClibc-0.9.31.orig/clfs/config.hppa.big uClibc-0.9.31/clfs/config.hppa.big
+--- uClibc-0.9.31.orig/clfs/config.hppa.big	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.hppa.big	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,236 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:26:15 2010
++#
++# TARGET_alpha is not set
++# TARGET_arm is not set
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++TARGET_hppa=y
++# TARGET_i386 is not set
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++# TARGET_mips is not set
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++# TARGET_x86_64 is not set
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="hppa"
++FORCE_OPTIONS_FOR_ARCH=y
++# CONFIG_GENERIC_386 is not set
++# CONFIG_386 is not set
++# CONFIG_486 is not set
++# CONFIG_586 is not set
++# CONFIG_586MMX is not set
++# CONFIG_686 is not set
++# CONFIG_PENTIUMII is not set
++# CONFIG_PENTIUMIII is not set
++# CONFIG_PENTIUM4 is not set
++# CONFIG_K6 is not set
++# CONFIG_K7 is not set
++# CONFIG_ELAN is not set
++# CONFIG_CRUSOE is not set
++# CONFIG_WINCHIPC6 is not set
++# CONFIG_WINCHIP2 is not set
++# CONFIG_CYRIXIII is not set
++# CONFIG_NEHEMIAH is not set
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_BIG_ENDIAN=y
++
++#
++# Using Big Endian
++#
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++ARCH_HAS_NO_SHARED=y
++ARCH_HAS_NO_LDSO=y
++UCLIBC_CTOR_DTOR=y
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++UCLIBC_HAS_ARC4RANDOM=y
++HAVE_NO_SSP=y
++# PROPOLICE_BLOCK_ABRT is not set
++# PROPOLICE_BLOCK_SEGV is not set
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
+diff -Naur uClibc-0.9.31.orig/clfs/config.i386.little uClibc-0.9.31/clfs/config.i386.little
+--- uClibc-0.9.31.orig/clfs/config.i386.little	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.i386.little	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,256 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:23:29 2010
++#
++# TARGET_alpha is not set
++# TARGET_arm is not set
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++# TARGET_hppa is not set
++TARGET_i386=y
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++# TARGET_mips is not set
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++# TARGET_x86_64 is not set
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="i386"
++FORCE_OPTIONS_FOR_ARCH=y
++CONFIG_GENERIC_386=y
++# CONFIG_386 is not set
++# CONFIG_486 is not set
++# CONFIG_586 is not set
++# CONFIG_586MMX is not set
++# CONFIG_686 is not set
++# CONFIG_PENTIUMII is not set
++# CONFIG_PENTIUMIII is not set
++# CONFIG_PENTIUM4 is not set
++# CONFIG_K6 is not set
++# CONFIG_K7 is not set
++# CONFIG_ELAN is not set
++# CONFIG_CRUSOE is not set
++# CONFIG_WINCHIPC6 is not set
++# CONFIG_WINCHIP2 is not set
++# CONFIG_CYRIXIII is not set
++# CONFIG_NEHEMIAH is not set
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_LITTLE_ENDIAN=y
++
++#
++# Using Little Endian
++#
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++UCLIBC_HAS_LONG_DOUBLE_MATH=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++# ARCH_HAS_NO_SHARED is not set
++# ARCH_HAS_NO_LDSO is not set
++HAVE_SHARED=y
++# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
++LDSO_LDD_SUPPORT=y
++LDSO_CACHE_SUPPORT=y
++LDSO_PRELOAD_FILE_SUPPORT=y
++LDSO_BASE_FILENAME="ld.so"
++# UCLIBC_STATIC_LDCONFIG is not set
++LDSO_RUNPATH=y
++LDSO_SEARCH_INTERP_PATH=y
++UCLIBC_CTOR_DTOR=y
++LDSO_GNU_HASH_SUPPORT=y
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++# UCLIBC_BUILD_PIE is not set
++UCLIBC_HAS_ARC4RANDOM=y
++# HAVE_NO_SSP is not set
++UCLIBC_HAS_SSP=y
++UCLIBC_HAS_SSP_COMPAT=y
++SSP_QUICK_CANARY=y
++PROPOLICE_BLOCK_ABRT=y
++# PROPOLICE_BLOCK_SEGV is not set
++UCLIBC_BUILD_SSP=y
++UCLIBC_BUILD_RELRO=y
++UCLIBC_BUILD_NOW=y
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# SUPPORT_LD_DEBUG is not set
++# SUPPORT_LD_DEBUG_EARLY is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
+diff -Naur uClibc-0.9.31.orig/clfs/config.mips.big uClibc-0.9.31/clfs/config.mips.big
+--- uClibc-0.9.31.orig/clfs/config.mips.big	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.mips.big	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,242 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:28:31 2010
++#
++# TARGET_alpha is not set
++# TARGET_arm is not set
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++# TARGET_hppa is not set
++# TARGET_i386 is not set
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++TARGET_mips=y
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++# TARGET_x86_64 is not set
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="mips"
++FORCE_OPTIONS_FOR_ARCH=y
++CONFIG_MIPS_O32_ABI=y
++# CONFIG_MIPS_N32_ABI is not set
++# CONFIG_MIPS_N64_ABI is not set
++CONFIG_MIPS_ISA_1=y
++# CONFIG_MIPS_ISA_2 is not set
++# CONFIG_MIPS_ISA_3 is not set
++# CONFIG_MIPS_ISA_4 is not set
++# CONFIG_MIPS_ISA_MIPS32 is not set
++# CONFIG_MIPS_ISA_MIPS32R2 is not set
++# CONFIG_MIPS_ISA_MIPS64 is not set
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_ANY_ENDIAN=y
++ARCH_BIG_ENDIAN=y
++ARCH_WANTS_BIG_ENDIAN=y
++# ARCH_WANTS_LITTLE_ENDIAN is not set
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++# ARCH_HAS_NO_SHARED is not set
++# ARCH_HAS_NO_LDSO is not set
++HAVE_SHARED=y
++# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
++LDSO_LDD_SUPPORT=y
++LDSO_CACHE_SUPPORT=y
++# LDSO_PRELOAD_FILE_SUPPORT is not set
++LDSO_BASE_FILENAME="ld.so"
++UCLIBC_STATIC_LDCONFIG=y
++LDSO_RUNPATH=y
++LDSO_SEARCH_INTERP_PATH=y
++UCLIBC_CTOR_DTOR=y
++# LDSO_GNU_HASH_SUPPORT is not set
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++# UCLIBC_BUILD_PIE is not set
++UCLIBC_HAS_ARC4RANDOM=y
++# HAVE_NO_SSP is not set
++# UCLIBC_HAS_SSP is not set
++UCLIBC_BUILD_RELRO=y
++# UCLIBC_BUILD_NOW is not set
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# SUPPORT_LD_DEBUG is not set
++# SUPPORT_LD_DEBUG_EARLY is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
+diff -Naur uClibc-0.9.31.orig/clfs/config.mips.little uClibc-0.9.31/clfs/config.mips.little
+--- uClibc-0.9.31.orig/clfs/config.mips.little	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.mips.little	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,262 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:28:04 2010
++#
++# TARGET_alpha is not set
++# TARGET_arm is not set
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++# TARGET_hppa is not set
++# TARGET_i386 is not set
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++TARGET_mips=y
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++# TARGET_x86_64 is not set
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="mips"
++FORCE_OPTIONS_FOR_ARCH=y
++# CONFIG_ARM_OABI is not set
++# CONFIG_ARM_EABI is not set
++# CONFIG_GENERIC_ARM is not set
++# CONFIG_ARM610 is not set
++# CONFIG_ARM710 is not set
++# CONFIG_ARM7TDMI is not set
++# CONFIG_ARM720T is not set
++# CONFIG_ARM920T is not set
++# CONFIG_ARM922T is not set
++# CONFIG_ARM926T is not set
++# CONFIG_ARM10T is not set
++# CONFIG_ARM1136JF_S is not set
++# CONFIG_ARM1176JZ_S is not set
++# CONFIG_ARM1176JZF_S is not set
++# CONFIG_ARM_CORTEX_M3 is not set
++# CONFIG_ARM_CORTEX_M1 is not set
++# CONFIG_ARM_SA110 is not set
++# CONFIG_ARM_SA1100 is not set
++# CONFIG_ARM_XSCALE is not set
++# CONFIG_ARM_IWMMXT is not set
++CONFIG_MIPS_O32_ABI=y
++# CONFIG_MIPS_N32_ABI is not set
++# CONFIG_MIPS_N64_ABI is not set
++CONFIG_MIPS_ISA_1=y
++# CONFIG_MIPS_ISA_2 is not set
++# CONFIG_MIPS_ISA_3 is not set
++# CONFIG_MIPS_ISA_4 is not set
++# CONFIG_MIPS_ISA_MIPS32 is not set
++# CONFIG_MIPS_ISA_MIPS32R2 is not set
++# CONFIG_MIPS_ISA_MIPS64 is not set
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_ANY_ENDIAN=y
++ARCH_LITTLE_ENDIAN=y
++# ARCH_WANTS_BIG_ENDIAN is not set
++ARCH_WANTS_LITTLE_ENDIAN=y
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++# ARCH_HAS_NO_SHARED is not set
++# ARCH_HAS_NO_LDSO is not set
++HAVE_SHARED=y
++# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
++LDSO_LDD_SUPPORT=y
++LDSO_CACHE_SUPPORT=y
++# LDSO_PRELOAD_FILE_SUPPORT is not set
++LDSO_BASE_FILENAME="ld.so"
++UCLIBC_STATIC_LDCONFIG=y
++LDSO_RUNPATH=y
++LDSO_SEARCH_INTERP_PATH=y
++UCLIBC_CTOR_DTOR=y
++# LDSO_GNU_HASH_SUPPORT is not set
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++# UCLIBC_BUILD_PIE is not set
++UCLIBC_HAS_ARC4RANDOM=y
++# HAVE_NO_SSP is not set
++# UCLIBC_HAS_SSP is not set
++UCLIBC_BUILD_RELRO=y
++# UCLIBC_BUILD_NOW is not set
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# SUPPORT_LD_DEBUG is not set
++# SUPPORT_LD_DEBUG_EARLY is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
+diff -Naur uClibc-0.9.31.orig/clfs/config.x86_64.little uClibc-0.9.31/clfs/config.x86_64.little
+--- uClibc-0.9.31.orig/clfs/config.x86_64.little	1969-12-31 19:00:00.000000000 -0500
++++ uClibc-0.9.31/clfs/config.x86_64.little	2010-11-28 10:40:39.458657350 -0500
+@@ -0,0 +1,245 @@
++#
++# Automatically generated make config: don't edit
++# Version: 0.9.31
++# Sun Nov 28 10:28:53 2010
++#
++# TARGET_alpha is not set
++# TARGET_arm is not set
++# TARGET_avr32 is not set
++# TARGET_bfin is not set
++# TARGET_cris is not set
++# TARGET_e1 is not set
++# TARGET_frv is not set
++# TARGET_h8300 is not set
++# TARGET_hppa is not set
++# TARGET_i386 is not set
++# TARGET_i960 is not set
++# TARGET_ia64 is not set
++# TARGET_m68k is not set
++# TARGET_microblaze is not set
++# TARGET_mips is not set
++# TARGET_nios is not set
++# TARGET_nios2 is not set
++# TARGET_powerpc is not set
++# TARGET_sh is not set
++# TARGET_sh64 is not set
++# TARGET_sparc is not set
++# TARGET_v850 is not set
++# TARGET_vax is not set
++TARGET_x86_64=y
++# TARGET_xtensa is not set
++
++#
++# Target Architecture Features and Options
++#
++TARGET_ARCH="x86_64"
++FORCE_OPTIONS_FOR_ARCH=y
++# CONFIG_MIPS_O32_ABI is not set
++# CONFIG_MIPS_N32_ABI is not set
++# CONFIG_MIPS_N64_ABI is not set
++# CONFIG_MIPS_ISA_1 is not set
++# CONFIG_MIPS_ISA_2 is not set
++# CONFIG_MIPS_ISA_3 is not set
++# CONFIG_MIPS_ISA_4 is not set
++# CONFIG_MIPS_ISA_MIPS32 is not set
++# CONFIG_MIPS_ISA_MIPS32R2 is not set
++# CONFIG_MIPS_ISA_MIPS64 is not set
++TARGET_SUBARCH=""
++
++#
++# Using ELF file format
++#
++ARCH_LITTLE_ENDIAN=y
++# ARCH_WANTS_BIG_ENDIAN is not set
++# ARCH_WANTS_LITTLE_ENDIAN is not set
++
++#
++# Using Little Endian
++#
++ARCH_HAS_MMU=y
++ARCH_USE_MMU=y
++UCLIBC_HAS_FLOATS=y
++UCLIBC_HAS_FPU=y
++DO_C99_MATH=y
++# DO_XSI_MATH is not set
++UCLIBC_HAS_FENV=y
++UCLIBC_HAS_LONG_DOUBLE_MATH=y
++KERNEL_HEADERS="${CLFS}/usr/include"
++HAVE_DOT_CONFIG=y
++
++#
++# General Library Settings
++#
++# HAVE_NO_PIC is not set
++DOPIC=y
++# ARCH_HAS_NO_SHARED is not set
++# ARCH_HAS_NO_LDSO is not set
++HAVE_SHARED=y
++# FORCE_SHAREABLE_TEXT_SEGMENTS is not set
++LDSO_LDD_SUPPORT=y
++LDSO_CACHE_SUPPORT=y
++# LDSO_PRELOAD_FILE_SUPPORT is not set
++LDSO_BASE_FILENAME="ld.so"
++UCLIBC_STATIC_LDCONFIG=y
++LDSO_RUNPATH=y
++LDSO_SEARCH_INTERP_PATH=y
++UCLIBC_CTOR_DTOR=y
++# LDSO_GNU_HASH_SUPPORT is not set
++# HAS_NO_THREADS is not set
++LINUXTHREADS_OLD=y
++# LINUXTHREADS_NEW is not set
++UCLIBC_HAS_THREADS=y
++# PTHREADS_DEBUG_SUPPORT is not set
++UCLIBC_HAS_SYSLOG=y
++UCLIBC_HAS_LFS=y
++# MALLOC is not set
++# MALLOC_SIMPLE is not set
++MALLOC_STANDARD=y
++MALLOC_GLIBC_COMPAT=y
++UCLIBC_DYNAMIC_ATEXIT=y
++# COMPAT_ATEXIT is not set
++# UCLIBC_SUSV3_LEGACY is not set
++# UCLIBC_SUSV3_LEGACY_MACROS is not set
++# UCLIBC_SUSV4_LEGACY is not set
++# UCLIBC_HAS_STUBS is not set
++UCLIBC_HAS_SHADOW=y
++UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
++UCLIBC_HAS___PROGNAME=y
++UCLIBC_HAS_PTY=y
++ASSUME_DEVPTS=y
++UNIX98PTY_ONLY=y
++UCLIBC_HAS_GETPT=y
++# UCLIBC_HAS_LIBUTIL is not set
++UCLIBC_HAS_TM_EXTENSIONS=y
++UCLIBC_HAS_TZ_CACHING=y
++UCLIBC_HAS_TZ_FILE=y
++UCLIBC_HAS_TZ_FILE_READ_MANY=y
++UCLIBC_TZ_FILE_PATH="/etc/TZ"
++
++#
++# Advanced Library Settings
++#
++UCLIBC_PWD_BUFFER_SIZE=256
++UCLIBC_GRP_BUFFER_SIZE=256
++
++#
++# Support various families of functions
++#
++UCLIBC_LINUX_MODULE_24=y
++UCLIBC_LINUX_SPECIFIC=y
++UCLIBC_HAS_GNU_ERROR=y
++# UCLIBC_BSD_SPECIFIC is not set
++# UCLIBC_HAS_BSD_ERR is not set
++# UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
++# UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
++# UCLIBC_NTP_LEGACY is not set
++# UCLIBC_SV4_DEPRECATED is not set
++UCLIBC_HAS_REALTIME=y
++UCLIBC_HAS_ADVANCED_REALTIME=y
++UCLIBC_HAS_EPOLL=y
++UCLIBC_HAS_XATTR=y
++UCLIBC_HAS_PROFILING=y
++UCLIBC_HAS_CRYPT_IMPL=y
++UCLIBC_HAS_CRYPT=y
++UCLIBC_HAS_NETWORK_SUPPORT=y
++UCLIBC_HAS_SOCKET=y
++UCLIBC_HAS_IPV4=y
++UCLIBC_HAS_IPV6=y
++UCLIBC_HAS_RPC=y
++UCLIBC_HAS_FULL_RPC=y
++UCLIBC_HAS_REENTRANT_RPC=y
++UCLIBC_USE_NETLINK=y
++UCLIBC_SUPPORT_AI_ADDRCONFIG=y
++# UCLIBC_HAS_BSD_RES_CLOSE is not set
++UCLIBC_HAS_COMPAT_RES_STATE=y
++# UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
++# UCLIBC_HAS_LIBRESOLV_STUB is not set
++# UCLIBC_HAS_LIBNSL_STUB is not set
++
++#
++# String and Stdio Support
++#
++# UCLIBC_HAS_STRING_GENERIC_OPT is not set
++# UCLIBC_HAS_STRING_ARCH_OPT is not set
++UCLIBC_HAS_CTYPE_TABLES=y
++UCLIBC_HAS_CTYPE_SIGNED=y
++# UCLIBC_HAS_CTYPE_UNSAFE is not set
++# UCLIBC_HAS_CTYPE_CHECKED is not set
++UCLIBC_HAS_CTYPE_ENFORCED=y
++UCLIBC_HAS_WCHAR=y
++# UCLIBC_HAS_LOCALE is not set
++UCLIBC_HAS_HEXADECIMAL_FLOATS=y
++UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
++UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
++UCLIBC_HAS_SCANF_GLIBC_A_FLAG=y
++# UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
++# UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
++UCLIBC_HAS_STDIO_BUFSIZ_4096=y
++# UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
++UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
++# UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
++# UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
++UCLIBC_HAS_STDIO_GETC_MACRO=y
++UCLIBC_HAS_STDIO_PUTC_MACRO=y
++UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
++UCLIBC_HAS_FOPEN_LARGEFILE_MODE=y
++UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE=y
++UCLIBC_HAS_GLIBC_CUSTOM_STREAMS=y
++UCLIBC_HAS_PRINTF_M_SPEC=y
++UCLIBC_HAS_ERRNO_MESSAGES=y
++UCLIBC_HAS_SYS_ERRLIST=y
++UCLIBC_HAS_SIGNUM_MESSAGES=y
++UCLIBC_HAS_SYS_SIGLIST=y
++UCLIBC_HAS_GNU_GETOPT=y
++UCLIBC_HAS_GNU_GETSUBOPT=y
++
++#
++# Big and Tall
++#
++UCLIBC_HAS_REGEX=y
++# UCLIBC_HAS_REGEX_OLD is not set
++UCLIBC_HAS_FNMATCH=y
++# UCLIBC_HAS_FNMATCH_OLD is not set
++UCLIBC_HAS_WORDEXP=y
++# UCLIBC_HAS_NFTW is not set
++UCLIBC_HAS_GLOB=y
++UCLIBC_HAS_GNU_GLOB=y
++
++#
++# Library Installation Options
++#
++RUNTIME_PREFIX="/"
++DEVEL_PREFIX="/usr/"
++MULTILIB_DIR="lib"
++HARDWIRED_ABSPATH=y
++
++#
++# Security options
++#
++UCLIBC_HAS_ARC4RANDOM=y
++# HAVE_NO_SSP is not set
++# UCLIBC_HAS_SSP is not set
++UCLIBC_BUILD_RELRO=y
++# UCLIBC_BUILD_NOW is not set
++UCLIBC_BUILD_NOEXECSTACK=y
++
++#
++# uClibc development/debugging options
++#
++CROSS_COMPILER_PREFIX="${CLFS_TARGET}-"
++UCLIBC_EXTRA_CFLAGS=""
++# DODEBUG is not set
++# DODEBUG_PT is not set
++DOSTRIP=y
++# DOASSERTS is not set
++# SUPPORT_LD_DEBUG is not set
++# SUPPORT_LD_DEBUG_EARLY is not set
++# UCLIBC_MALLOC_DEBUGGING is not set
++WARNINGS="-Wall"
++# EXTRA_WARNINGS is not set
++# DOMULTI is not set
++# UCLIBC_MJN3_ONLY is not set
