Return-Path: Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mail.openembedded.org (Postfix) with ESMTP id CFC78606E8 for ; Mon, 17 Aug 2015 09:40:03 +0000 (UTC) Received: by pdrg1 with SMTP id g1so54157250pdr.2 for ; Mon, 17 Aug 2015 02:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:message-id :references:to; bh=rr+ZG+FiSym9tGDh+PqPCN9iIKNOzOJtAbD9p871AWo=; b=RSJiddVKy2YThmdfvlR1Mg+l0BElL68OGSAfjEMf7jw0gBW8ywjI7x/tFTUl6IHPoi Rn91QawL4N+fuvgxybxuUWYc/g70msdp7f6RaEGK3LZ6ogNI2fk96aiR59tScGA7kqzv 7RVS1MM9NvwUQr6w5PcaXRInoxRt5yql3P4FDgvgF5z2Zw2lPWtTVV5FLvg1BpKKcfPL Am9tpjsQkWg0/de/YwS1P0aIZoIBX0UARGvJbPUBwQjB0KRPqzL0jPlPsveq9IjD6kXP PX7UNkVJXfQwjzuW2Pu+wdfrr3YFodp9HKTg5OR4h39rlmgMRrGqXyESzvjSTx3etEP7 eqDA== X-Received: by 10.70.94.69 with SMTP id da5mr967284pdb.95.1439804403318; Mon, 17 Aug 2015 02:40:03 -0700 (PDT) Received: from ?IPv6:2601:646:8601:4580:651d:a55c:ec3:8575? ([2601:646:8601:4580:651d:a55c:ec3:8575]) by smtp.gmail.com with ESMTPSA id rd8sm14013172pdb.10.2015.08.17.02.40.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Aug 2015 02:40:02 -0700 (PDT) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Pgp-Agent: GPGMail 2.5.1 From: Khem Raj In-Reply-To: <1439785702-23558-1-git-send-email-raj.khem@gmail.com> Date: Mon, 17 Aug 2015 02:39:56 -0700 Message-Id: <25E36958-0217-4E27-A910-B2C14C6033AF@gmail.com> References: <1439785702-23558-1-git-send-email-raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org X-Mailer: Apple Mail (2.2104) Subject: Re: [PATCH] uclibc: Upgrade to tip of master X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2015 09:40:04 -0000 X-Groupsio-MsgNum: 69514 Content-Type: multipart/signed; boundary="Apple-Mail=_210CB327-C041-42EA-8C86-EF9BF250C7A8"; protocol="application/pgp-signature"; micalg=pgp-sha1 --Apple-Mail=_210CB327-C041-42EA-8C86-EF9BF250C7A8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 16, 2015, at 9:28 PM, Khem Raj wrote: >=20 > Drop upstreamed patches convert the rest to git am'able patches >=20 This patch has couple of issues, that I found not-using gold linker failed to link libuargp needed to be forward ported to accomodate builsys changes to = pass module specific CFLAGS I have sent out a v2 which fixes these issues and builds are ok. > Signed-off-by: Khem Raj > --- > meta/recipes-core/uclibc/uclibc-git.inc | 38 +-- > .../0001-Add-eventfd_read-and-eventfd_write.patch | 120 -------- > ...IPTOS_CLASS_-macros-according-to-RFC-2474.patch | 75 ----- > .../0001-Disable-lrount_tes-function.patch | 37 +++ > ...nt.c-wtent.c-move-functions-from-utxent.c.patch | 319 = --------------------- > ...1-atexit_old-Do-not-add-it-to-shared-libc.patch | 44 --- > ...-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch | 28 -- > ...rk-Hide-pthread_atfork-in-shared-versions.patch | 74 ----- > .../uclibc-git/0001-timex-Sync-with-glibc.patch | 33 --- > ...Add-implementation-for-copysignl-for-ppc.patch} | 33 ++- > .../uclibc-git/0002-wire-setns-syscall.patch | 68 ----- > ...rt.patch =3D> 0003-Add-argp-implementation.patch} | 311 = +++++++++++--------- > ...dded-headers-file-needed-by-argp-sources.patch} | 27 +- > ...t-localised-optimizations-this-helps-to-h.patch | 29 ++ > .../0006-Always-use-O2-for-compiling-fork.c.patch | 32 +++ > ...ldso-limited-support-for-ORIGIN-in-rpath.patch} | 12 +- > ...rk-Hide-pthread_atfork-in-shared-versions.patch | 36 +++ > ...rt-Use-nodefaultlibs-instead-of-nostdlib.patch} | 29 +- > .../uclibc-git/compile-arm-fork-with-O2.patch | 21 -- > .../ldso-mark-_dl_exit-as-noreturn.patch | 48 ---- > .../uclibc-git/remove_attribute_optimize_Os.patch | 19 -- > .../uclibc-git/uclibc_enable_log2_test.patch | 35 --- > meta/recipes-core/uclibc/uclibc.inc | 2 +- > 23 files changed, 381 insertions(+), 1089 deletions(-) > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-Add-eventfd_read-and-eventfd_writ= e.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-Define-IPTOS_CLASS_-macros-accord= ing-to-RFC-2474.patch > create mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-Disable-lrount_tes-function.patch= > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-funct= ions-from-utxent.c.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-atexit_old-Do-not-add-it-to-share= d-libc.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-uc= libc_nonshared.a.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-nptl-atfork-Hide-pthread_atfork-i= n-shared-versions.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch > rename meta/recipes-core/uclibc/uclibc-git/{powerpc_copysignl.patch =3D>= 0002-Add-implementation-for-copysignl-for-ppc.patch} (73%) > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/0002-wire-setns-syscall.patch > rename meta/recipes-core/uclibc/uclibc-git/{argp-support.patch =3D> = 0003-Add-argp-implementation.patch} (96%) > rename meta/recipes-core/uclibc/uclibc-git/{argp-headers.patch =3D> = 0004-Added-headers-file-needed-by-argp-sources.patch} (97%) > create mode 100644 = meta/recipes-core/uclibc/uclibc-git/0005-Dont-support-localised-optimizati= ons-this-helps-to-h.patch > create mode 100644 = meta/recipes-core/uclibc/uclibc-git/0006-Always-use-O2-for-compiling-fork.= c.patch > rename = meta/recipes-core/uclibc/uclibc-git/{0001-ldso-limited-support-for-ORIGIN-= in-rpath.patch =3D> 0007-ldso-limited-support-for-ORIGIN-in-rpath.patch} = (96%) > create mode 100644 = meta/recipes-core/uclibc/uclibc-git/0008-nptl-atfork-Hide-pthread_atfork-i= n-shared-versions.patch > rename = meta/recipes-core/uclibc/uclibc-git/{0001-librt-Use-nodefaultlibs-instead-= of-nostdlib.patch =3D> = 0009-librt-Use-nodefaultlibs-instead-of-nostdlib.patch} (50%) > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/compile-arm-fork-with-O2.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch > delete mode 100644 = meta/recipes-core/uclibc/uclibc-git/uclibc_enable_log2_test.patch >=20 > diff --git a/meta/recipes-core/uclibc/uclibc-git.inc = b/meta/recipes-core/uclibc/uclibc-git.inc > index 3c48940..8db3b9e 100644 > --- a/meta/recipes-core/uclibc/uclibc-git.inc > +++ b/meta/recipes-core/uclibc/uclibc-git.inc > @@ -1,30 +1,22 @@ > -SRCREV =3D "48a0006012679ff0eda6f256da958d73a924fb57" > +SRCREV =3D "ca1c74d67dd115d059a875150e10b8560a9c35a8" >=20 > PV =3D "0.9.33+git${SRCPV}" >=20 > FILESEXTRAPATHS =3D. "${FILE_DIRNAME}/uclibc-git:" >=20 > SRC_URI =3D "git://uclibc.org/uClibc.git;branch=3Dmaster \ > - file://uClibc.machine \ > - file://uClibc.distro \ > - file://obstack.cfg \ > - file://locale.cfg \ > - file://uclibc_enable_log2_test.patch \ > - file://powerpc_copysignl.patch \ > - file://argp-support.patch \ > - file://argp-headers.patch \ > - file://remove_attribute_optimize_Os.patch \ > - file://compile-arm-fork-with-O2.patch \ > - file://0001-ldso-limited-support-for-ORIGIN-in-rpath.patch \ > - file://0001-atexit_old-Do-not-add-it-to-shared-libc.patch \ > - = file://0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch \ > - = file://0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ > - file://0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch \ > - = file://0001-Revert-utent.c-wtent.c-move-functions-from-utxent.c.patch \ > - file://0001-Add-eventfd_read-and-eventfd_write.patch \ > - file://0002-wire-setns-syscall.patch \ > - = file://0001-Define-IPTOS_CLASS_-macros-according-to-RFC-2474.patch \ > - file://0001-timex-Sync-with-glibc.patch \ > - file://ldso-mark-_dl_exit-as-noreturn.patch \ > - " > + file://uClibc.machine \ > + file://uClibc.distro \ > + file://obstack.cfg \ > + file://locale.cfg \ > + file://0001-Disable-lrount_tes-function.patch \ > + file://0002-Add-implementation-for-copysignl-for-ppc.patch \ > + file://0003-Add-argp-implementation.patch \ > + file://0004-Added-headers-file-needed-by-argp-sources.patch \ > + = file://0005-Dont-support-localised-optimizations-this-helps-to-h.patch \ > + file://0006-Always-use-O2-for-compiling-fork.c.patch \ > + file://0007-ldso-limited-support-for-ORIGIN-in-rpath.patch \ > + = file://0008-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ > + file://0009-librt-Use-nodefaultlibs-instead-of-nostdlib.patch = \ > +" > S =3D "${WORKDIR}/git" > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-Add-eventfd_read-and-eventfd_wr= ite.patch = b/meta/recipes-core/uclibc/uclibc-git/0001-Add-eventfd_read-and-eventfd_wr= ite.patch > deleted file mode 100644 > index dd0efc0..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-Add-eventfd_read-and-eventfd_wr= ite.patch > +++ /dev/null > @@ -1,120 +0,0 @@ > -=46rom e3aae24ede969e2dede1aa19c2ee520cab71ce11 Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Thu, 20 Feb 2014 00:30:18 -0800 > -Subject: [PATCH 1/3] Add eventfd_read() and eventfd_write() > - > -Signed-off-by: Khem Raj > -Upstream-Status: Pending > ---- > - libc/sysdeps/linux/common/Makefile.in | 2 ++ > - libc/sysdeps/linux/common/eventfd_read.c | 27 = +++++++++++++++++++++++++++ > - libc/sysdeps/linux/common/eventfd_write.c | 28 = ++++++++++++++++++++++++++++ > - libc/sysdeps/linux/common/sys/eventfd.h | 4 ---- > - 4 files changed, 57 insertions(+), 4 deletions(-) > - create mode 100644 libc/sysdeps/linux/common/eventfd_read.c > - create mode 100644 libc/sysdeps/linux/common/eventfd_write.c > - > -diff --git a/libc/sysdeps/linux/common/Makefile.in = b/libc/sysdeps/linux/common/Makefile.in > -index dbf0b0f..45d2e21 100644 > ---- a/libc/sysdeps/linux/common/Makefile.in > -+++ b/libc/sysdeps/linux/common/Makefile.in > -@@ -25,6 +25,8 @@ CSRC-$(UCLIBC_LINUX_SPECIFIC) +=3D \ > - capset.c \ > - dup3.c \ > - eventfd.c \ > -+ eventfd_read.c \ > -+ eventfd_write.c \ > - inotify.c \ > - ioperm.c \ > - iopl.c \ > -diff --git a/libc/sysdeps/linux/common/eventfd_read.c = b/libc/sysdeps/linux/common/eventfd_read.c > -new file mode 100644 > -index 0000000..75f2aaa > ---- /dev/null > -+++ b/libc/sysdeps/linux/common/eventfd_read.c > -@@ -0,0 +1,27 @@ > -+/* Copyright (C) 2007-2014 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, see > -+ . */ > -+ > -+#include > -+#include > -+#include > -+ > -+ > -+int > -+eventfd_read (int fd, eventfd_t *value) > -+{ > -+ return read (fd, value, sizeof (eventfd_t)) !=3D sizeof = (eventfd_t) ? -1 : 0; > -+} > -diff --git a/libc/sysdeps/linux/common/eventfd_write.c = b/libc/sysdeps/linux/common/eventfd_write.c > -new file mode 100644 > -index 0000000..e1509cf > ---- /dev/null > -+++ b/libc/sysdeps/linux/common/eventfd_write.c > -@@ -0,0 +1,28 @@ > -+/* Copyright (C) 2007-2014 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, see > -+ . */ > -+ > -+#include > -+#include > -+#include > -+ > -+ > -+int > -+eventfd_write (int fd, eventfd_t value) > -+{ > -+ return write (fd, &value, > -+ sizeof (eventfd_t)) !=3D sizeof (eventfd_t) ? -1 : 0; > -+} > -diff --git a/libc/sysdeps/linux/common/sys/eventfd.h = b/libc/sysdeps/linux/common/sys/eventfd.h > -index 1bf785f..91b265b 100644 > ---- a/libc/sysdeps/linux/common/sys/eventfd.h > -+++ b/libc/sysdeps/linux/common/sys/eventfd.h > -@@ -33,16 +33,12 @@ __BEGIN_DECLS > - value to COUNT. */ > - extern int eventfd (int __count, int __flags) __THROW; > - > --#if 0 /* not (yet) implemented in uClibc */ > -- > - /* Read event counter and possibly wait for events. */ > - extern int eventfd_read (int __fd, eventfd_t *__value); > - > - /* Increment event counter. */ > - extern int eventfd_write (int __fd, eventfd_t __value); > - > --#endif > -- > - __END_DECLS > - > - #endif /* sys/eventfd.h */ > --- > -1.9.0 > - > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-Define-IPTOS_CLASS_-macros-acco= rding-to-RFC-2474.patch = b/meta/recipes-core/uclibc/uclibc-git/0001-Define-IPTOS_CLASS_-macros-acco= rding-to-RFC-2474.patch > deleted file mode 100644 > index d613823..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-Define-IPTOS_CLASS_-macros-acco= rding-to-RFC-2474.patch > +++ /dev/null > @@ -1,75 +0,0 @@ > -=46rom be8ed13a90c528adfbe3c8543946bb2c5a2ad713 Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Mon, 25 Aug 2014 15:50:36 -0700 > -Subject: [PATCH] Define IPTOS_CLASS_* macros according to RFC 2474 > - > -Signed-off-by: Khem Raj > -Upstream-status: Pending > ---- > - include/netinet/ip.h | 42 ++++++++++++++++++++++++++++++------------ > - 1 file changed, 30 insertions(+), 12 deletions(-) > - > -diff --git a/include/netinet/ip.h b/include/netinet/ip.h > -index 19e1249..3fe58b9 100644 > ---- a/include/netinet/ip.h > -+++ b/include/netinet/ip.h > -@@ -188,7 +188,25 @@ struct ip_timestamp > - #define IPTOS_DSCP_EF 0xb8 > - > - /* > -- * Definitions for IP type of service (ip_tos) > -+ * In RFC 2474, Section 4.2.2.1, the Class Selector Codepoints = subsume > -+ * the old ToS Precedence values. > -+ */ > -+#define IPTOS_CLASS_MASK 0xe0 > -+#define IPTOS_CLASS(class) ((class) & = IPTOS_CLASS_MASK) > -+#define IPTOS_CLASS_CS0 0x00 > -+#define IPTOS_CLASS_CS1 0x20 > -+#define IPTOS_CLASS_CS2 0x40 > -+#define IPTOS_CLASS_CS3 0x60 > -+#define IPTOS_CLASS_CS4 0x80 > -+#define IPTOS_CLASS_CS5 0xa0 > -+#define IPTOS_CLASS_CS6 0xc0 > -+#define IPTOS_CLASS_CS7 0xe0 > -+ > -+#define IPTOS_CLASS_DEFAULT IPTOS_CLASS_CS0 > -+ > -+/* > -+ * Definitions for IP type of service (ip_tos) [deprecated; use DSCP > -+ * and CS definitions above instead.] > - */ > - #define IPTOS_TOS_MASK 0x1E > - #define IPTOS_TOS(tos) ((tos) & IPTOS_TOS_MASK) > -@@ -199,18 +217,18 @@ struct ip_timestamp > - #define IPTOS_MINCOST IPTOS_LOWCOST > - > - /* > -- * Definitions for IP precedence (also in ip_tos) (hopefully unused) > -+ * Definitions for IP precedence (also in ip_tos) [also deprecated.] > - */ > --#define IPTOS_PREC_MASK 0xe0 > --#define IPTOS_PREC(tos) ((tos) & IPTOS_PREC_MASK) > --#define IPTOS_PREC_NETCONTROL 0xe0 > --#define IPTOS_PREC_INTERNETCONTROL 0xc0 > --#define IPTOS_PREC_CRITIC_ECP 0xa0 > --#define IPTOS_PREC_FLASHOVERRIDE 0x80 > --#define IPTOS_PREC_FLASH 0x60 > --#define IPTOS_PREC_IMMEDIATE 0x40 > --#define IPTOS_PREC_PRIORITY 0x20 > --#define IPTOS_PREC_ROUTINE 0x00 > -+#define IPTOS_PREC_MASK IPTOS_CLASS_MASK > -+#define IPTOS_PREC(tos) IPTOS_CLASS(tos) > -+#define IPTOS_PREC_NETCONTROL IPTOS_CLASS_CS7 > -+#define IPTOS_PREC_INTERNETCONTROL IPTOS_CLASS_CS6 > -+#define IPTOS_PREC_CRITIC_ECP IPTOS_CLASS_CS5 > -+#define IPTOS_PREC_FLASHOVERRIDE IPTOS_CLASS_CS4 > -+#define IPTOS_PREC_FLASH IPTOS_CLASS_CS3 > -+#define IPTOS_PREC_IMMEDIATE IPTOS_CLASS_CS2 > -+#define IPTOS_PREC_PRIORITY IPTOS_CLASS_CS1 > -+#define IPTOS_PREC_ROUTINE IPTOS_CLASS_CS0 > - > - /* > - * Definitions for options. > --- > -2.1.0 > - > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-Disable-lrount_tes-function.pat= ch = b/meta/recipes-core/uclibc/uclibc-git/0001-Disable-lrount_tes-function.pat= ch > new file mode 100644 > index 0000000..ec6b3fa > --- /dev/null > +++ = b/meta/recipes-core/uclibc/uclibc-git/0001-Disable-lrount_tes-function.pat= ch > @@ -0,0 +1,37 @@ > +=46rom 14b865b3438d0df29b4969148678d8fa8943e1ef Mon Sep 17 00:00:00 = 2001 > +From: Khem Raj > +Date: Sun, 16 Aug 2015 20:49:33 -0700 > +Subject: [PATCH 1/9] Disable lrount_tes() function > + > +Its not used anyway, avoids some strict compiler warnings > + > +Signed-off-by: Khem Raj > +--- > +Upstream-Status: Pending > + > + test/math/libm-test.inc | 2 -- > + 1 file changed, 2 deletions(-) > + > +diff --git a/test/math/libm-test.inc b/test/math/libm-test.inc > +index f50b48b..6d70a95 100644 > +--- a/test/math/libm-test.inc > ++++ b/test/math/libm-test.inc > +@@ -3470,7 +3470,6 @@ logb_test (void) > + } > + > + > +-#if 0 > + static void > + lround_test (void) > + { > +@@ -3605,7 +3604,6 @@ llround_test (void) > + > + END (llround); > + } > +-#endif > + > + static void > + modf_test (void) > +-- > +2.1.4 > + > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-fun= ctions-from-utxent.c.patch = b/meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-fun= ctions-from-utxent.c.patch > deleted file mode 100644 > index 4ac765c..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-Revert-utent.c-wtent.c-move-fun= ctions-from-utxent.c.patch > +++ /dev/null > @@ -1,319 +0,0 @@ > -Upstream-Status: Pending > - > -=46rom 096abf14d2dc978607ccd8a0d7f42da65d8991f3 Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Sun, 9 Sep 2012 22:00:04 -0700 > -Subject: [PATCH] Revert "utent.c, wtent.c: move functions from = utxent.c" > - > -This reverts commit 84135275cfeebc0b233c1c96eeada4d4178a0b18. > ---- > - include/utmp.h | 8 +++++ > - libc/misc/utmp/utent.c | 80 = +++++++++++------------------------------------ > - libc/misc/utmp/utxent.c | 4 +-- > - libc/misc/utmp/wtent.c | 14 ++------- > - 4 files changed, 30 insertions(+), 76 deletions(-) > - > -Index: git/include/utmp.h > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/include/utmp.h 2013-01-21 16:37:18.000000000 -0800 > -+++ git/include/utmp.h 2013-01-21 16:40:56.987583099 -0800 > -@@ -56,30 +56,37 @@ > - /* Append entry UTMP to the wtmp-like file WTMP_FILE. */ > - extern void updwtmp (const char *__wtmp_file, const struct utmp = *__utmp) > - __THROW; > -+libc_hidden_proto(updwtmp) > - > - /* Change name of the utmp file to be examined. */ > - extern int utmpname (const char *__file) __THROW; > -+libc_hidden_proto(utmpname) > - > - /* Read next entry from a utmp-like file. */ > - extern struct utmp *getutent (void) __THROW; > -+libc_hidden_proto(getutent) > - > - /* Reset the input stream to the beginning of the file. */ > - extern void setutent (void) __THROW; > -+libc_hidden_proto(setutent) > - > - /* Close the current open file. */ > - extern void endutent (void) __THROW; > -+libc_hidden_proto(endutent) > - > - /* Search forward from the current point in the utmp file until the > - next entry with a ut_type matching ID->ut_type. */ > - extern struct utmp *getutid (const struct utmp *__id) __THROW; > -+libc_hidden_proto(getutid) > - > - /* Search forward from the current point in the utmp file until the > - next entry with a ut_line matching LINE->ut_line. */ > - extern struct utmp *getutline (const struct utmp *__line) __THROW; > -+libc_hidden_proto(getutline) > - > - /* Write out entry pointed to by UTMP_PTR into the utmp file. */ > - extern struct utmp *pututline (const struct utmp *__utmp_ptr) = __THROW; > -- > -+libc_hidden_proto(pututline) > - > - #if 0 /* def __USE_MISC */ > - /* Reentrant versions of the file for handling utmp files. */ > -Index: git/libc/misc/utmp/utent.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/libc/misc/utmp/utent.c 2013-01-21 16:37:18.000000000 = -0800 > -+++ git/libc/misc/utmp/utent.c 2013-01-21 16:38:14.035578638 = -0800 > -@@ -19,9 +19,6 @@ > - #include > - #include > - #include > --#ifdef __UCLIBC_HAS_UTMPX__ > --# include > --#endif > - #include > - > - #include > -@@ -34,7 +31,7 @@ > - static const char *static_ut_name =3D default_file_name; > - > - /* This function must be called with the LOCK held */ > --static void __setutent_unlocked(void) > -+static void __setutent(void) > - { > - if (static_fd < 0) { > - static_fd =3D open_not_cancel_2(static_ut_name, O_RDWR | = O_CLOEXEC); > -@@ -53,24 +50,19 @@ > - lseek(static_fd, 0, SEEK_SET); > - } > - #if defined __UCLIBC_HAS_THREADS__ > --static void __setutent(void) > -+void setutent(void) > - { > - __UCLIBC_MUTEX_LOCK(utmplock); > -- __setutent_unlocked(); > -+ __setutent(); > - __UCLIBC_MUTEX_UNLOCK(utmplock); > - } > - #else > --static void __setutent(void); > --strong_alias(__setutent_unlocked,__setutent) > --#endif > - strong_alias(__setutent,setutent) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --strong_alias(__setutent,setutxent) > - #endif > -+libc_hidden_def(setutent) > - > - /* This function must be called with the LOCK held */ > --static struct utmp *__getutent_unlocked(void) > -+static struct utmp *__getutent(void) > - { > - if (static_fd < 0) { > - __setutent(); > -@@ -86,27 +78,19 @@ > - return NULL; > - } > - #if defined __UCLIBC_HAS_THREADS__ > --static struct utmp *__getutent(void) > -+struct utmp *getutent(void) > - { > - struct utmp *ret; > - > - __UCLIBC_MUTEX_LOCK(utmplock); > -- ret =3D __getutent_unlocked(); > -+ ret =3D __getutent(); > - __UCLIBC_MUTEX_UNLOCK(utmplock); > - return ret; > - } > - #else > --static struct utmp *__getutent(void); > --strong_alias(__getutent_unlocked,__getutent) > --#endif > - strong_alias(__getutent,getutent) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --struct utmpx *getutxent(void) > --{ > -- return (struct utmpx *) __getutent (); > --} > - #endif > -+libc_hidden_def(getutent) > - > - static void __endutent(void) > - { > -@@ -117,13 +101,10 @@ > - __UCLIBC_MUTEX_UNLOCK(utmplock); > - } > - strong_alias(__endutent,endutent) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --strong_alias(__endutent,endutxent) > --#endif > -+libc_hidden_def(endutent) > - > - /* This function must be called with the LOCK held */ > --static struct utmp *__getutid_unlocked(const struct utmp = *utmp_entry) > -+static struct utmp *__getutid(const struct utmp *utmp_entry) > - { > - struct utmp *lutmp; > - unsigned type; > -@@ -133,7 +114,7 @@ > - type =3D utmp_entry->ut_type - 1; > - type /=3D 4; > - > -- while ((lutmp =3D __getutent_unlocked()) !=3D NULL) { > -+ while ((lutmp =3D __getutent()) !=3D NULL) { > - if (type =3D=3D 0 && lutmp->ut_type =3D=3D utmp_entry->ut_type) = { > - /* one of RUN_LVL, BOOT_TIME, NEW_TIME, OLD_TIME */ > - return lutmp; > -@@ -147,34 +128,26 @@ > - return NULL; > - } > - #if defined __UCLIBC_HAS_THREADS__ > --static struct utmp *__getutid(const struct utmp *utmp_entry) > -+struct utmp *getutid(const struct utmp *utmp_entry) > - { > - struct utmp *ret; > - > - __UCLIBC_MUTEX_LOCK(utmplock); > -- ret =3D __getutid_unlocked(utmp_entry); > -+ ret =3D __getutid(utmp_entry); > - __UCLIBC_MUTEX_UNLOCK(utmplock); > - return ret; > - } > - #else > --static struct utmp *__getutid(const struct utmp *utmp_entry); > --strong_alias(__getutid_unlocked,__getutid) > --#endif > - strong_alias(__getutid,getutid) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --struct utmpx *getutxid(const struct utmpx *utmp_entry) > --{ > -- return (struct utmpx *) __getutid ((const struct utmp *) = utmp_entry); > --} > - #endif > -+libc_hidden_def(getutid) > - > - static struct utmp *__getutline(const struct utmp *utmp_entry) > - { > - struct utmp *lutmp; > - > - __UCLIBC_MUTEX_LOCK(utmplock); > -- while ((lutmp =3D __getutent_unlocked()) !=3D NULL) { > -+ while ((lutmp =3D __getutent()) !=3D NULL) { > - if (lutmp->ut_type =3D=3D USER_PROCESS || lutmp->ut_type =3D=3D = LOGIN_PROCESS) { > - if (strncmp(lutmp->ut_line, utmp_entry->ut_line, = sizeof(lutmp->ut_line)) =3D=3D 0) { > - break; > -@@ -185,13 +158,7 @@ > - return lutmp; > - } > - strong_alias(__getutline,getutline) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --struct utmpx *getutxline(const struct utmpx *utmp_entry) > --{ > -- return (struct utmpx *) __getutline ((const struct utmp *) = utmp_entry); > --} > --#endif > -+libc_hidden_def(getutline) > - > - static struct utmp *__pututline(const struct utmp *utmp_entry) > - { > -@@ -200,7 +167,7 @@ > - the file pointer where they want it, everything will work = out. */ > - lseek(static_fd, (off_t) - sizeof(struct utmp), SEEK_CUR); > - > -- if (__getutid_unlocked(utmp_entry) !=3D NULL) > -+ if (__getutid(utmp_entry) !=3D NULL) > - lseek(static_fd, (off_t) - sizeof(struct utmp), SEEK_CUR); > - else > - lseek(static_fd, (off_t) 0, SEEK_END); > -@@ -211,13 +178,7 @@ > - return (struct utmp *)utmp_entry; > - } > - strong_alias(__pututline,pututline) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --struct utmpx *pututxline (const struct utmpx *utmp_entry) > --{ > -- return (struct utmpx *) __pututline ((const struct utmp *) = utmp_entry); > --} > --#endif > -+libc_hidden_def(pututline) > - > - static int __utmpname(const char *new_ut_name) > - { > -@@ -241,7 +202,4 @@ > - return 0; /* or maybe return -(static_ut_name !=3D new_ut_name)? = */ > - } > - strong_alias(__utmpname,utmpname) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --strong_alias(__utmpname,utmpxname) > --#endif > -+libc_hidden_def(utmpname) > -Index: git/libc/misc/utmp/utxent.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/libc/misc/utmp/utxent.c 2013-01-21 16:37:18.000000000 = -0800 > -+++ git/libc/misc/utmp/utxent.c 2013-01-21 16:38:14.035578638 = -0800 > -@@ -13,7 +13,6 @@ > - #include > - #include > - > --#if 0 /* moved to utent.c */ > - void setutxent(void) > - { > - setutent (); > -@@ -49,12 +48,10 @@ > - return utmpname (new_ut_name); > - } > - > --/* moved to wtent.c */ > - void updwtmpx (const char *wtmpx_file, const struct utmpx *utmpx) > - { > - updwtmp (wtmpx_file, (const struct utmp *) utmpx); > - } > --#endif > - > - /* Copy the information in UTMPX to UTMP. */ > - void getutmp (const struct utmpx *utmpx, struct utmp *utmp) > -@@ -107,3 +104,4 @@ > - utmpx->ut_time =3D utmp->ut_time; > - #endif > - } > -+ > -Index: git/libc/misc/utmp/wtent.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/libc/misc/utmp/wtent.c 2013-01-21 16:37:18.000000000 = -0800 > -+++ git/libc/misc/utmp/wtent.c 2013-01-21 16:38:14.035578638 = -0800 > -@@ -11,9 +11,6 @@ > - #include > - #include > - #include > --#ifdef __UCLIBC_HAS_UTMPX__ > --# include > --#endif > - #include > - #include > - #include > -@@ -36,7 +33,7 @@ > - } > - #endif > - > --static void __updwtmp(const char *wtmp_file, const struct utmp = *lutmp) > -+void updwtmp(const char *wtmp_file, const struct utmp *lutmp) > - { > - int fd; > - > -@@ -49,11 +46,4 @@ > - } > - } > - } > --strong_alias(__updwtmp,updwtmp) > -- > --#ifdef __UCLIBC_HAS_UTMPX__ > --void updwtmpx (const char *wtmpx_file, const struct utmpx *utmpx) > --{ > -- __updwtmp (wtmpx_file, (const struct utmp *) utmpx); > --} > --#endif > -+libc_hidden_def(updwtmp) > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-atexit_old-Do-not-add-it-to-sha= red-libc.patch = b/meta/recipes-core/uclibc/uclibc-git/0001-atexit_old-Do-not-add-it-to-sha= red-libc.patch > deleted file mode 100644 > index b6dfce4..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-atexit_old-Do-not-add-it-to-sha= red-libc.patch > +++ /dev/null > @@ -1,44 +0,0 @@ > -=46rom 74667582526b39a1906228574d73a6528f4587eb Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Sat, 23 Jun 2012 13:26:30 -0700 > -Subject: [PATCH] atexit_old: Do not add it to shared libc > - > -atexit should only be in either uclibc_nonshared.a > -shared libc case or libc.a in static build case > - > -Signed-off-by: Khem Raj > - > -Upstream-Status: Pending > ---- > - libc/stdlib/Makefile.in | 4 ++-- > - 1 file changed, 2 insertions(+), 2 deletions(-) > - > -diff --git a/libc/stdlib/Makefile.in b/libc/stdlib/Makefile.in > -index 3166b8e..3d686d9 100644 > ---- a/libc/stdlib/Makefile.in > -+++ b/libc/stdlib/Makefile.in > -@@ -60,7 +60,6 @@ CSRC-$(if $(findstring = yyy,$(UCLIBC_HAS_FLOATS)$(UCLIBC_HAS_WCHAR)$(UCLIBC_HAS_X > - > - # multi source _atexit.c > - CSRC-y +=3D __cxa_atexit.c __cxa_finalize.c __exit_handler.c exit.c = on_exit.c > --CSRC-$(COMPAT_ATEXIT) +=3D old_atexit.c > - > - STDLIB_DIR :=3D $(top_srcdir)libc/stdlib > - STDLIB_OUT :=3D $(top_builddir)libc/stdlib > -@@ -70,11 +69,12 @@ STDLIB_OBJ :=3D $(patsubst = %.c,$(STDLIB_OUT)/%.o,$(CSRC-y)) > - > - libc-y +=3D $(STDLIB_OBJ) > - libc-static-y +=3D $(STDLIB_OUT)/atexit.o $(STDLIB_OUT)/system.o > -+libc-static-$(COMPAT_ATEXIT) +=3D $(STDLIB_OUT)/old_atexit.o > - libc-shared-y +=3D $(STDLIB_OUT)/system.oS > - > - # this should always be the PIC version, because it could be used in = shared libs > - libc-nonshared-y +=3D $(STDLIB_OUT)/atexit.os > -- > -+libc-nonshared-$(COMPAT_ATEXIT) +=3D $(STDLIB_OUT)/old_atexit.os > - libc-nomulti-y +=3D $(STDLIB_OUT)/labs.o $(STDLIB_OUT)/atol.o = $(STDLIB_OUT)/_stdlib_strto_l.o $(STDLIB_OUT)/_stdlib_strto_ll.o > - libc-nomulti-$(UCLIBC_HAS_XLOCALE) +=3D = $(STDLIB_OUT)/_stdlib_strto_l_l.o $(STDLIB_OUT)/_stdlib_strto_ll_l.o > - > --- > -1.7.9.5 > - > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-= uclibc_nonshared.a.patch = b/meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-= uclibc_nonshared.a.patch > deleted file mode 100644 > index 7e7c579..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-nptl-arm-Move-aeabi_read_tp-to-= uclibc_nonshared.a.patch > +++ /dev/null > @@ -1,28 +0,0 @@ > -=46rom 714f543f4fa8fb3911449b6ce1517481359e0cff Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Sat, 23 Jun 2012 14:21:17 -0700 > -Subject: [PATCH] nptl/arm: Move aeabi_read_tp to uclibc_nonshared.a > - > -Otherwise it creates wrong references from shared libs > - > -Signed-off-by: Khem Raj > -Upstream-Status: Pending > ---- > - libc/sysdeps/linux/arm/Makefile.arch | 4 +++- > - 1 file changed, 3 insertions(+), 1 deletion(-) > - > -Index: git/libc/sysdeps/linux/arm/Makefile.arch > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/libc/sysdeps/linux/arm/Makefile.arch 2013-05-23 = 11:13:32.000000000 -0700 > -+++ git/libc/sysdeps/linux/arm/Makefile.arch 2013-05-23 = 11:16:18.304333131 -0700 > -@@ -13,7 +13,9 @@ > - vfork.S clone.S > - > - SSRC-$(UCLIBC_HAS_LFS) +=3D mmap64.S > --SSRC-$(UCLIBC_HAS_THREADS_NATIVE) +=3D libc-aeabi_read_tp.S = libc-thumb_atomics.S > -+SSRC-$(UCLIBC_HAS_THREADS_NATIVE) +=3D libc-thumb_atomics.S > -+libc-nonshared-$(UCLIBC_HAS_THREADS_NATIVE) +=3D = $(ARCH_OUT)/libc-aeabi_read_tp.os > -+libc-static-$(UCLIBC_HAS_THREADS_NATIVE) +=3D = $(ARCH_OUT)/libc-aeabi_read_tp.o > - CSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) +=3D makecontext.c > - SSRC-$(UCLIBC_HAS_CONTEXT_FUNCS) +=3D getcontext.S setcontext.S = swapcontext.S > - > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-nptl-atfork-Hide-pthread_atfork= -in-shared-versions.patch = b/meta/recipes-core/uclibc/uclibc-git/0001-nptl-atfork-Hide-pthread_atfork= -in-shared-versions.patch > deleted file mode 100644 > index 297a40b..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-nptl-atfork-Hide-pthread_atfork= -in-shared-versions.patch > +++ /dev/null > @@ -1,74 +0,0 @@ > -=46rom d021e6252b33e779857846714fb1899a25c9965d Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Sat, 23 Jun 2012 15:59:01 -0700 > -Subject: [PATCH] nptl/atfork: Hide pthread_atfork in shared versions > - > -Signed-off-by: Khem Raj > -Upstream-Status: Pending > ---- > - libpthread/nptl/Makefile.in | 4 +++- > - libpthread/nptl/pthread_atfork.c | 12 ++++++++++-- > - 2 files changed, 13 insertions(+), 3 deletions(-) > - > -diff --git a/libpthread/nptl/Makefile.in = b/libpthread/nptl/Makefile.in > -index 158bcae..3ef7175 100644 > ---- a/libpthread/nptl/Makefile.in > -+++ b/libpthread/nptl/Makefile.in > -@@ -16,6 +16,7 @@ libc-shared-routines-y =3D forward.c = libc-cancellation.c > - libc-static-routines-y =3D alloca_cutoff.c libc-cancellation.c > - libpthread-shared-only-routines-y =3D version.c > - libpthread-static-only-routines-y =3D pthread_atfork.c > -+ > - libpthread-routines- +=3D $(notdir $(wildcard = $(libpthread_DIR)/gen_*.c)) # dummy generated files > - libpthread-routines- +=3D allocatestack.c # dummy included by = pthread_create.c > - libpthread-routines- +=3D pthread_mutex_getprioceiling.c = pthread_mutex_setprioceiling.c # XXX: delete those or use them! > -@@ -208,7 +209,7 @@ CFLAGS-msgsnd.c =3D -fexceptions = -fasynchronous-unwind-tables > - CFLAGS-tcdrain.c =3D -fexceptions -fasynchronous-unwind-tables > - > - CFLAGS-pt-system.c =3D -fexceptions -I$(top_srcdir)libc/stdlib > -- > -+CFLAGS-pthread_atfork.c =3D -DNOT_IN_libc > - # > - # The rest of this file is uClibc specific. > - # > -@@ -224,3 +225,4 @@ CFLAGS-OMIT-alloca_cutoff.c =3D $(CFLAGS-nptl) > - CFLAGS-OMIT-forward.c =3D $(CFLAGS-nptl) > - CFLAGS-OMIT-libc-lowlevelock.c =3D $(CFLAGS-nptl) > - CFLAGS-OMIT-libc-cancellation.c =3D $(CFLAGS-nptl) > -+ > -diff --git a/libpthread/nptl/pthread_atfork.c = b/libpthread/nptl/pthread_atfork.c > -index e607d49..6224c17 100644 > ---- a/libpthread/nptl/pthread_atfork.c > -+++ b/libpthread/nptl/pthread_atfork.c > -@@ -38,13 +38,17 @@ > - #include > - > - /* This is defined by newer gcc version unique for each module. */ > --extern void *__dso_handle __attribute__ ((__weak__)); > -- //,__visibility__ = ("hidden"))); > -+extern void *__dso_handle __attribute__ ((__weak__, > -+ __visibility__ ("hidden"))); > - > - > - /* Hide the symbol so that no definition but the one locally in the > - executable or DSO is used. */ > - int > -+#ifndef __pthread_atfork > -+/* Don't mark the compatibility function as hidden. */ > -+attribute_hidden > -+#endif > - __pthread_atfork ( > - void (*prepare) (void), > - void (*parent) (void), > -@@ -53,4 +57,8 @@ __pthread_atfork ( > - return __register_atfork (prepare, parent, child, > - &__dso_handle =3D=3D NULL ? NULL : = __dso_handle); > - } > -+#ifndef __pthread_atfork > -+extern int pthread_atfork (void (*prepare) (void), void (*parent) = (void), > -+ void (*child) (void)) = attribute_hidden; > - strong_alias (__pthread_atfork, pthread_atfork) > -+#endif > --- > -1.7.9.5 > - > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch = b/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch > deleted file mode 100644 > index 5d6a0a5..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-timex-Sync-with-glibc.patch > +++ /dev/null > @@ -1,33 +0,0 @@ > -=46rom f489cc44a209f6c4370e94c9c788fc9cc4820be1 Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Mon, 25 Aug 2014 16:22:57 -0700 > -Subject: [PATCH] timex: Sync with glibc > - > -Signed-off-by: Khem Raj > -Upstream-status: Pending > ---- > - include/sys/timex.h | 8 ++++++-- > - 1 file changed, 6 insertions(+), 2 deletions(-) > - > -diff --git a/include/sys/timex.h b/include/sys/timex.h > -index 9082a28..57059bd 100644 > ---- a/include/sys/timex.h > -+++ b/include/sys/timex.h > -@@ -67,8 +67,12 @@ struct timex > - #define ADJ_ESTERROR 0x0008 /* estimated time error = */ > - #define ADJ_STATUS 0x0010 /* clock status */ > - #define ADJ_TIMECONST 0x0020 /* pll time constant */ > --#define ADJ_TICK 0x4000 /* tick value */ > --#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime = */ > -+#define ADJ_TAI 0x0080 /* set TAI offset */ > -+#define ADJ_MICRO 0x1000 /* select microsecond resolution = */ > -+#define ADJ_NANO 0x2000 /* select nanosecond resolution = */ > -+#define ADJ_TICK 0x4000 /* tick value */ > -+#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime = */ > -+#define ADJ_OFFSET_SS_READ 0xa001 /* read-only adjtime */ > - > - /* xntp 3.4 compatibility names */ > - #define MOD_OFFSET ADJ_OFFSET > --- > -2.1.0 > - > diff --git = a/meta/recipes-core/uclibc/uclibc-git/powerpc_copysignl.patch = b/meta/recipes-core/uclibc/uclibc-git/0002-Add-implementation-for-copysign= l-for-ppc.patch > similarity index 73% > rename from = meta/recipes-core/uclibc/uclibc-git/powerpc_copysignl.patch > rename to = meta/recipes-core/uclibc/uclibc-git/0002-Add-implementation-for-copysignl-= for-ppc.patch > index 2f014cd..a4b2a45 100644 > --- a/meta/recipes-core/uclibc/uclibc-git/powerpc_copysignl.patch > +++ = b/meta/recipes-core/uclibc/uclibc-git/0002-Add-implementation-for-copysign= l-for-ppc.patch > @@ -1,13 +1,20 @@ > -Add ppc copysignl implementation > - > -Upstream-Status: Pending > +=46rom 5d362074e5975b150a35bcfa77eab1bfa4e30de7 Mon Sep 17 00:00:00 = 2001 > +From: Khem Raj > +Date: Sun, 16 Aug 2015 20:50:56 -0700 > +Subject: [PATCH 2/9] Add implementation for copysignl for ppc >=20 > Signed-off-by: Khem Raj > +--- > +Upstream-Status: Pending > + libc/sysdeps/linux/powerpc/Makefile.arch | 2 +- > + libc/sysdeps/linux/powerpc/copysignl.c | 89 = ++++++++++++++++++++++++++++++++ > + 2 files changed, 90 insertions(+), 1 deletion(-) > + create mode 100644 libc/sysdeps/linux/powerpc/copysignl.c >=20 > -Index: git/libc/sysdeps/linux/powerpc/Makefile.arch > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/libc/sysdeps/linux/powerpc/Makefile.arch = 2013-05-23 11:09:50.000000000 -0700 > -+++ git/libc/sysdeps/linux/powerpc/Makefile.arch 2013-05-23 = 11:12:06.072328399 -0700 > +diff --git a/libc/sysdeps/linux/powerpc/Makefile.arch = b/libc/sysdeps/linux/powerpc/Makefile.arch > +index 4fbcb11..7c09c87 100644 > +--- a/libc/sysdeps/linux/powerpc/Makefile.arch > ++++ b/libc/sysdeps/linux/powerpc/Makefile.arch > @@ -5,7 +5,7 @@ > # Licensed under the LGPL v2.1, see the file COPYING.LIB in this = tarball. > # > @@ -17,10 +24,11 @@ Index: = git/libc/sysdeps/linux/powerpc/Makefile.arch >=20 > SSRC-y :=3D \ > __longjmp.S setjmp.S bsd-setjmp.S bsd-_setjmp.S brk.S \ > -Index: git/libc/sysdeps/linux/powerpc/copysignl.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libc/sysdeps/linux/powerpc/copysignl.c 2013-05-23 = 11:11:37.600327865 -0700 > +diff --git a/libc/sysdeps/linux/powerpc/copysignl.c = b/libc/sysdeps/linux/powerpc/copysignl.c > +new file mode 100644 > +index 0000000..000f653 > +--- /dev/null > ++++ b/libc/sysdeps/linux/powerpc/copysignl.c > @@ -0,0 +1,89 @@ > +/* s_copysignl.c -- long double version of s_copysign.c. > + * Conversion to long double by Ulrich Drepper, > @@ -111,3 +119,6 @@ Index: git/libc/sysdeps/linux/powerpc/copysignl.c > +} > + > +libc_hidden_def(copysignl); > +-- > +2.1.4 > + > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0002-wire-setns-syscall.patch = b/meta/recipes-core/uclibc/uclibc-git/0002-wire-setns-syscall.patch > deleted file mode 100644 > index 94c6f68..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/0002-wire-setns-syscall.patch > +++ /dev/null > @@ -1,68 +0,0 @@ > -=46rom db575359d4b8164ad6c2ac5f36c7a50c065a2864 Mon Sep 17 00:00:00 = 2001 > -From: Khem Raj > -Date: Thu, 20 Feb 2014 00:44:34 -0800 > -Subject: [PATCH 2/3] wire setns syscall > - > -Signed-off-by: Khem Raj > -Upstream-Status: Pending > ---- > - libc/sysdeps/linux/common/Makefile.in | 1 + > - libc/sysdeps/linux/common/bits/sched.h | 4 ++++ > - libc/sysdeps/linux/common/setns.c | 18 ++++++++++++++++++ > - 3 files changed, 23 insertions(+) > - create mode 100644 libc/sysdeps/linux/common/setns.c > - > -diff --git a/libc/sysdeps/linux/common/Makefile.in = b/libc/sysdeps/linux/common/Makefile.in > -index 45d2e21..10d9884 100644 > ---- a/libc/sysdeps/linux/common/Makefile.in > -+++ b/libc/sysdeps/linux/common/Makefile.in > -@@ -45,6 +45,7 @@ CSRC-$(UCLIBC_LINUX_SPECIFIC) +=3D \ > - sendfile.c \ > - setfsgid.c \ > - setfsuid.c \ > -+ setns.c \ > - setresgid.c \ > - setresuid.c \ > - signalfd.c \ > -diff --git a/libc/sysdeps/linux/common/bits/sched.h = b/libc/sysdeps/linux/common/bits/sched.h > -index a5eb6ee..9436f66 100644 > ---- a/libc/sysdeps/linux/common/bits/sched.h > -+++ b/libc/sysdeps/linux/common/bits/sched.h > -@@ -85,6 +85,10 @@ extern int unshare (int __flags) __THROW; > - > - /* Get index of currently used CPU. */ > - extern int sched_getcpu (void) __THROW; > -+ > -+/* Switch process to namespace of type NSTYPE indicated by FD. */ > -+extern int setns (int __fd, int __nstype) __THROW; > -+ > - #endif > - > - __END_DECLS > -diff --git a/libc/sysdeps/linux/common/setns.c = b/libc/sysdeps/linux/common/setns.c > -new file mode 100644 > -index 0000000..376bf26 > ---- /dev/null > -+++ b/libc/sysdeps/linux/common/setns.c > -@@ -0,0 +1,18 @@ > -+/* vi: set sw=3D4 ts=3D4: */ > -+/* > -+ * setns() for uClibc > -+ * > -+ * Copyright (C) 2014 Khem Raj > -+ * > -+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this = tarball. > -+ */ > -+ > -+#include > -+#include > -+ > -+/* > -+ * setns() > -+ */ > -+#ifdef __NR_setns > -+_syscall2(int, setns, int, fd, int, nstype) > -+#endif > --- > -1.9.0 > - > diff --git a/meta/recipes-core/uclibc/uclibc-git/argp-support.patch = b/meta/recipes-core/uclibc/uclibc-git/0003-Add-argp-implementation.patch > similarity index 96% > rename from meta/recipes-core/uclibc/uclibc-git/argp-support.patch > rename to = meta/recipes-core/uclibc/uclibc-git/0003-Add-argp-implementation.patch > index bcec6a5..1d222e5 100644 > --- a/meta/recipes-core/uclibc/uclibc-git/argp-support.patch > +++ = b/meta/recipes-core/uclibc/uclibc-git/0003-Add-argp-implementation.patch > @@ -1,31 +1,35 @@ > -From: Salvatore Cro > +=46rom adbd318381a662485cc850f3418714f3f67ce531 Mon Sep 17 00:00:00 = 2001 > +From: Salvatore Cro > +Date: Sun, 16 Aug 2015 20:53:37 -0700 > +Subject: [PATCH 3/9] Add argp implementation >=20 > Argp is an advanced support for parsing unix-style argument vectors. > -In addition to the common getopt interface, it provides automatic = response > -to `--help' and `--version' options and use of custom parser in = conjunction > +In addition to the common getopt interface, it provides automatic > +response > +to `--help' and `--version' options and use of custom parser in > +conjunction > with argp native option parser, among others. > Argp support is required by elfutils package and prelink. >=20 > -In uClibc argp functionalities has been moved from C library to = libuargp.so > +In uClibc argp functionalities has been moved from C library to > +libuargp.so > Further the libc.so linker script contains an AS_NEEDED entry so that > it doesn't need to link libuargp.so explicitely. >=20 > -Signed-off-by: Salvatore Cro > -Signed-off-by: Filippo Arcidiacono > -Signed-off-by: Carmelo Amoroso > - > -Upstream-Status: Pending > - > +Signed-off-by: Salvatore Cro > +Signed-off-by: Filippo Arcidiacono > +Signed-off-by: Carmelo Amoroso > +Signed-off-by: Khem Raj > --- > +Upstream-Status: Pending > Makefile.in | 8 + > - Makerules | 8 +- > + Makerules | 6 +- > Rules.mak | 7 + > extra/Configs/Config.in | 17 + > libc/sysdeps/linux/common/bits/getopt_int.h | 136 ++ > - libc/unistd/getopt.c | 18 +- > - libc/unistd/getopt_int.h | 134 -- > + libc/unistd/getopt.c | 19 +- > libuargp/Makefile | 14 + > - libuargp/Makefile.in | 76 ++ > + libuargp/Makefile.in | 73 ++ > libuargp/argp-ba.c | 26 + > libuargp/argp-eexst.c | 32 + > libuargp/argp-fmtstream.c | 439 +++++++ > @@ -46,9 +50,8 @@ Upstream-Status: Pending > test/argp/bug-argp1.c | 26 + > test/argp/tst-argp1.c | 118 ++ > test/argp/tst-argp2.c | 101 ++ > - 29 files changed, 4911 insertions(+), 138 deletions(-) > + 28 files changed, 4907 insertions(+), 4 deletions(-) > create mode 100644 libc/sysdeps/linux/common/bits/getopt_int.h > - delete mode 100644 libc/unistd/getopt_int.h > create mode 100644 libuargp/Makefile > create mode 100644 libuargp/Makefile.in > create mode 100644 libuargp/argp-ba.c > @@ -72,19 +75,19 @@ Upstream-Status: Pending > create mode 100644 test/argp/tst-argp1.c > create mode 100644 test/argp/tst-argp2.c >=20 > -Index: git/Makefile.in > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/Makefile.in 2012-06-18 13:10:12.000000000 -0700 > -+++ git/Makefile.in 2012-06-18 13:12:06.448829343 -0700 > -@@ -48,6 +48,7 @@ > +diff --git a/Makefile.in b/Makefile.in > +index 04671a4..9b146bb 100644 > +--- a/Makefile.in > ++++ b/Makefile.in > +@@ -39,6 +39,7 @@ include $(top_srcdir)libresolv/Makefile.in > include $(top_srcdir)libutil/Makefile.in > include $(top_srcdir)libpthread/Makefile.in > include $(top_srcdir)librt/Makefile.in > +include $(top_srcdir)libuargp/Makefile.in > include $(top_srcdir)libubacktrace/Makefile.in > - include $(top_srcdir)extra/locale/Makefile.in >=20 > -@@ -250,6 +251,7 @@ > + # last included to catch all the objects added by others = (locales/threads) > +@@ -262,6 +263,7 @@ HEADERS_RM- +=3D sgtty.h > endif > HEADERS_RM-$(HAVE_SHARED) +=3D dlfcn.h = bits/dlfcn.h > HEADERS_RM-$(PTHREADS_DEBUG_SUPPORT) +=3D thread_db.h > @@ -92,7 +95,7 @@ Index: git/Makefile.in > HEADERS_RM-$(UCLIBC_HAS_BSD_ERR) +=3D err.h > HEADERS_RM-$(UCLIBC_HAS_CRYPT) +=3D crypt.h > HEADERS_RM-$(UCLIBC_HAS_EPOLL) +=3D sys/epoll.h > -@@ -368,6 +370,12 @@ > +@@ -386,6 +388,12 @@ else > -$(INSTALL) -m 755 $(top_builddir)lib/libc.so = $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/ > endif > echo "$(UBACKTRACE_ASNEEDED)" >> = $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/libc.so > @@ -105,11 +108,11 @@ Index: git/Makefile.in > ifeq ($(UCLIBC_HAS_THREADS),y) > ifneq ($(LINUXTHREADS_OLD),y) > ifeq ($(HARDWIRED_ABSPATH),y) > -Index: git/Makerules > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/Makerules 2012-06-18 13:10:12.000000000 -0700 > -+++ git/Makerules 2012-06-18 13:10:44.052825547 -0700 > -@@ -32,12 +32,12 @@ > +diff --git a/Makerules b/Makerules > +index d6f7e24..2c64f8e 100644 > +--- a/Makerules > ++++ b/Makerules > +@@ -55,12 +55,12 @@ shared_objs =3D $(libc-y:.o=3D.os) = $(libc-shared-y) $(libc-nonshared-y) \ > $(libpthread-so-y) $(libpthread-nonshared-y) = $(libthread_db-so-y) \ > $(libresolv-so-y) $(librt-so-y) \ > $(ldso-y) \ > @@ -124,7 +127,7 @@ Index: git/Makerules > ifeq ($(DOPIC),y) > ar_objs :=3D $(ar_objs:.o=3D.os) > endif > -@@ -472,7 +472,7 @@ > +@@ -498,7 +498,7 @@ files.dep :=3D $(libc-a-y) $(libc-so-y) = $(libc-nonshared-y) \ > $(librt-a-y) $(librt-so-y) $(libresolv-a-y) $(libresolv-so-y) \ > $(libcrypt-a-y) $(libcrypt-so-y) $(libutil-a-y) $(libutil-so-y) = \ > $(libnsl-a-y) $(libnsl-so-y) $(ldso-y) $(libdl-a-y) = $(libdl-so-y) \ > @@ -133,11 +136,11 @@ Index: git/Makerules > .depends.dep :=3D \ > $(patsubst %.s,%.s.dep,$(filter %.s,$(files.dep))) \ > $(patsubst %.o,%.o.dep,$(filter %.o,$(files.dep))) \ > -Index: git/Rules.mak > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/Rules.mak 2012-06-18 13:10:12.000000000 -0700 > -+++ git/Rules.mak 2012-06-18 13:10:44.056825544 -0700 > -@@ -589,6 +589,13 @@ > +diff --git a/Rules.mak b/Rules.mak > +index de9ffb3..5818d75 100644 > +--- a/Rules.mak > ++++ b/Rules.mak > +@@ -602,6 +602,13 @@ export UBACKTRACE_ASNEEDED:=3D$(shell $(CC) = -Wl,--help 2>/dev/null | grep -q -- -- > else > export UBACKTRACE_ASNEEDED:=3D"" > endif > @@ -151,12 +154,12 @@ Index: git/Rules.mak > endif >=20 > # Add a bunch of extra pedantic annoyingly strict checks > -Index: git/extra/Configs/Config.in > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/extra/Configs/Config.in 2012-06-18 13:10:12.000000000 = -0700 > -+++ git/extra/Configs/Config.in 2012-06-18 13:10:44.056825544 = -0700 > -@@ -1853,6 +1853,23 @@ > - smaller SUSv3 compatible getsubopt(). > +diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in > +index 242e45a..b36d4c9 100644 > +--- a/extra/Configs/Config.in > ++++ b/extra/Configs/Config.in > +@@ -1943,6 +1943,23 @@ config UCLIBC_HAS_GNU_GETSUBOPT > + Answer Y if you want to include getsubopt(). >=20 > Most people will answer Y. > + > @@ -179,10 +182,11 @@ Index: git/extra/Configs/Config.in > endmenu >=20 >=20 > -Index: git/libc/sysdeps/linux/common/bits/getopt_int.h > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libc/sysdeps/linux/common/bits/getopt_int.h 2012-06-18 = 13:10:44.056825544 -0700 > +diff --git a/libc/sysdeps/linux/common/bits/getopt_int.h = b/libc/sysdeps/linux/common/bits/getopt_int.h > +new file mode 100644 > +index 0000000..291edfe > +--- /dev/null > ++++ b/libc/sysdeps/linux/common/bits/getopt_int.h > @@ -0,0 +1,136 @@ > +/* Internal declarations for getopt. > + Copyright (C) 1989-1994,1996-1999,2001,2003,2004 > @@ -320,11 +324,11 @@ Index: = git/libc/sysdeps/linux/common/bits/getopt_int.h > +#endif > +#endif > +#endif /* getopt_int.h */ > -Index: git/libc/unistd/getopt.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/libc/unistd/getopt.c 2012-06-18 13:10:12.000000000 = -0700 > -+++ git/libc/unistd/getopt.c 2012-06-18 13:10:44.056825544 -0700 > -@@ -106,7 +106,7 @@ > +diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c > +index f63482b..db5e12c 100644 > +--- a/libc/unistd/getopt.c > ++++ b/libc/unistd/getopt.c > +@@ -105,7 +105,7 @@ > they can distinguish the relative order of options and other = arguments. */ >=20 > #include > @@ -333,7 +337,7 @@ Index: git/libc/unistd/getopt.c >=20 >=20 > /* For communication from `getopt' to the caller. > -@@ -1170,6 +1170,15 @@ > +@@ -1170,6 +1170,15 @@ getopt_long (int argc, char *const *argv, = const char *options, > return _getopt_internal (argc, argv, options, long_options, = opt_index, 0); > } >=20 > @@ -349,9 +353,9 @@ Index: git/libc/unistd/getopt.c > /* Like getopt_long, but '-' as well as '--' can indicate a long = option. > If an option that starts with '-' (not '--') doesn't match a long = option, > but does match a short option, it is parsed as a short option > -@@ -1182,4 +1191,12 @@ > - return _getopt_internal (argc, argv, options, long_options, = opt_index, 1); > +@@ -1183,4 +1192,12 @@ getopt_long_only (int argc, char *const *argv, = const char *options, > } > + #endif /* __UCLIBC_HAS_GETOPT_LONG__ */ >=20 > +int > +_getopt_long_only_r (int argc, char *const *argv, const char = *options, > @@ -362,10 +366,11 @@ Index: git/libc/unistd/getopt.c > +} > + > #endif /* Not ELIDE_CODE. */ > -Index: git/libuargp/Makefile > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/Makefile 2012-06-18 13:10:44.056825544 -0700 > +diff --git a/libuargp/Makefile b/libuargp/Makefile > +new file mode 100644 > +index 0000000..45acdd9 > +--- /dev/null > ++++ b/libuargp/Makefile > @@ -0,0 +1,14 @@ > +# Makefile for uClibc (libuargp) > +# > @@ -381,10 +386,11 @@ Index: git/libuargp/Makefile > +all: libs > +include Makefile.in > +include $(top_srcdir)Makerules > -Index: git/libuargp/Makefile.in > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/Makefile.in 2012-06-18 13:10:44.056825544 -0700 > +diff --git a/libuargp/Makefile.in b/libuargp/Makefile.in > +new file mode 100644 > +index 0000000..1498abb > +--- /dev/null > ++++ b/libuargp/Makefile.in > @@ -0,0 +1,73 @@ > +# Makefile for uClibc (libuargp) > +# > @@ -459,10 +465,11 @@ Index: git/libuargp/Makefile.in > + > +CLEAN_libuargp: > + $(do_rm) $(addprefix $(libuargp_OUT)/*., o os oS a) > -Index: git/libuargp/argp-ba.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-ba.c 2012-06-18 13:10:44.056825544 -0700 > +diff --git a/libuargp/argp-ba.c b/libuargp/argp-ba.c > +new file mode 100644 > +index 0000000..3522b02 > +--- /dev/null > ++++ b/libuargp/argp-ba.c > @@ -0,0 +1,26 @@ > +/* Default definition for ARGP_PROGRAM_BUG_ADDRESS. > + Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. > @@ -490,10 +497,11 @@ Index: git/libuargp/argp-ba.c > + messages), embedded in a sentence that says something like `Report = bugs to > + ADDR.'. */ > +const char *argp_program_bug_address; > -Index: git/libuargp/argp-eexst.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-eexst.c 2012-06-18 13:10:44.056825544 = -0700 > +diff --git a/libuargp/argp-eexst.c b/libuargp/argp-eexst.c > +new file mode 100644 > +index 0000000..445b68d > +--- /dev/null > ++++ b/libuargp/argp-eexst.c > @@ -0,0 +1,32 @@ > +/* Default definition for ARGP_ERR_EXIT_STATUS > + Copyright (C) 1997 Free Software Foundation, Inc. > @@ -527,10 +535,11 @@ Index: git/libuargp/argp-eexst.c > + If not defined or set by the user program, this defaults to = EX_USAGE from > + . */ > +error_t argp_err_exit_status =3D EX_USAGE; > -Index: git/libuargp/argp-fmtstream.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-fmtstream.c 2012-06-18 13:10:44.056825544 = -0700 > +diff --git a/libuargp/argp-fmtstream.c b/libuargp/argp-fmtstream.c > +new file mode 100644 > +index 0000000..75227f9 > +--- /dev/null > ++++ b/libuargp/argp-fmtstream.c > @@ -0,0 +1,439 @@ > +/* Word-wrapping and line-truncating streams > + Copyright (C) 1997-1999,2001,2002,2003,2005 Free Software = Foundation, Inc. > @@ -971,10 +980,11 @@ Index: git/libuargp/argp-fmtstream.c > +#endif > + > +#endif /* !ARGP_FMTSTREAM_USE_LINEWRAP */ > -Index: git/libuargp/argp-fmtstream.h > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-fmtstream.h 2012-06-18 13:10:44.056825544 = -0700 > +diff --git a/libuargp/argp-fmtstream.h b/libuargp/argp-fmtstream.h > +new file mode 100644 > +index 0000000..ca7c834 > +--- /dev/null > ++++ b/libuargp/argp-fmtstream.h > @@ -0,0 +1,314 @@ > +/* Word-wrapping and line-truncating streams. > + Copyright (C) 1997 Free Software Foundation, Inc. > @@ -1290,10 +1300,11 @@ Index: git/libuargp/argp-fmtstream.h > +#endif /* ARGP_FMTSTREAM_USE_LINEWRAP */ > + > +#endif /* argp-fmtstream.h */ > -Index: git/libuargp/argp-fs-xinl.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-fs-xinl.c 2012-06-18 13:10:44.056825544 = -0700 > +diff --git a/libuargp/argp-fs-xinl.c b/libuargp/argp-fs-xinl.c > +new file mode 100644 > +index 0000000..473cbbd > +--- /dev/null > ++++ b/libuargp/argp-fs-xinl.c > @@ -0,0 +1,44 @@ > +/* Real definitions for extern inline functions in argp-fmtstream.h > + Copyright (C) 1997, 2003, 2004 Free Software Foundation, Inc. > @@ -1339,10 +1350,11 @@ Index: git/libuargp/argp-fs-xinl.c > + > +#endif > +#endif > -Index: git/libuargp/argp-help.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-help.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/libuargp/argp-help.c b/libuargp/argp-help.c > +new file mode 100644 > +index 0000000..58a5e6e > +--- /dev/null > ++++ b/libuargp/argp-help.c > @@ -0,0 +1,1882 @@ > +/* Hierarchial argument parsing help output > + Copyright (C) 1995-2003, 2004, 2005, 2006, 2007 > @@ -3226,10 +3238,11 @@ Index: git/libuargp/argp-help.c > + } > + } > +} > -Index: git/libuargp/argp-parse.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-parse.c 2012-06-18 13:10:44.060825542 = -0700 > +diff --git a/libuargp/argp-parse.c b/libuargp/argp-parse.c > +new file mode 100644 > +index 0000000..86b2b24 > +--- /dev/null > ++++ b/libuargp/argp-parse.c > @@ -0,0 +1,949 @@ > +/* Hierarchial argument parsing, layered over getopt > + Copyright (C) 1995-2000, 2002, 2003, 2004 Free Software = Foundation, Inc. > @@ -4180,10 +4193,11 @@ Index: git/libuargp/argp-parse.c > + > + return 0; > +} > -Index: git/libuargp/argp-pv.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-pv.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/libuargp/argp-pv.c b/libuargp/argp-pv.c > +new file mode 100644 > +index 0000000..f1227b5 > +--- /dev/null > ++++ b/libuargp/argp-pv.c > @@ -0,0 +1,25 @@ > +/* Default definition for ARGP_PROGRAM_VERSION. > + Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. > @@ -4210,10 +4224,11 @@ Index: git/libuargp/argp-pv.c > + print this this string followed by a newline and exit (unless the > + ARGP_NO_EXIT flag is used). Overridden by = ARGP_PROGRAM_VERSION_HOOK. */ > +const char *argp_program_version; > -Index: git/libuargp/argp-pvh.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-pvh.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/libuargp/argp-pvh.c b/libuargp/argp-pvh.c > +new file mode 100644 > +index 0000000..1f1d962 > +--- /dev/null > ++++ b/libuargp/argp-pvh.c > @@ -0,0 +1,32 @@ > +/* Default definition for ARGP_PROGRAM_VERSION_HOOK. > + Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc. > @@ -4247,10 +4262,11 @@ Index: git/libuargp/argp-pvh.c > + current parsing state, and then exits (unless the ARGP_NO_EXIT = flag is > + used). This variable takes precedent over ARGP_PROGRAM_VERSION. = */ > +void (*argp_program_version_hook) (FILE *stream, struct argp_state = *state); > -Index: git/libuargp/argp-xinl.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/libuargp/argp-xinl.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/libuargp/argp-xinl.c b/libuargp/argp-xinl.c > +new file mode 100644 > +index 0000000..f1d3000 > +--- /dev/null > ++++ b/libuargp/argp-xinl.c > @@ -0,0 +1,35 @@ > +/* Real definitions for extern inline functions in argp.h > + Copyright (C) 1997, 1998, 2004 Free Software Foundation, Inc. > @@ -4287,10 +4303,11 @@ Index: git/libuargp/argp-xinl.c > +#undef __OPTIMIZE__ > +#define __OPTIMIZE__ 1 > +#include > -Index: git/test/argp/Makefile > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/Makefile 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/test/argp/Makefile b/test/argp/Makefile > +new file mode 100644 > +index 0000000..616fe71 > +--- /dev/null > ++++ b/test/argp/Makefile > @@ -0,0 +1,7 @@ > +# uClibc argp tests > +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this = tarball. > @@ -4299,10 +4316,11 @@ Index: git/test/argp/Makefile > +include ../Rules.mak > +-include Makefile.in > +include ../Test.mak > -Index: git/test/argp/Makefile.in > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/Makefile.in 2012-06-18 13:10:44.060825542 = -0700 > +diff --git a/test/argp/Makefile.in b/test/argp/Makefile.in > +new file mode 100644 > +index 0000000..d81b359 > +--- /dev/null > ++++ b/test/argp/Makefile.in > @@ -0,0 +1,12 @@ > +# uClibc argp tests > +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this = tarball. > @@ -4316,10 +4334,11 @@ Index: git/test/argp/Makefile.in > +OPTS_argp-ex4 =3D ARG1 string1 string2 string3 > +OPTS_bug-argp1 =3D -- --help > + > -Index: git/test/argp/argp-ex1.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/argp-ex1.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/test/argp/argp-ex1.c b/test/argp/argp-ex1.c > +new file mode 100644 > +index 0000000..7bb5f22 > +--- /dev/null > ++++ b/test/argp/argp-ex1.c > @@ -0,0 +1,15 @@ > +/* Argp example #1 -- a minimal program using argp */ > + > @@ -4336,10 +4355,11 @@ Index: git/test/argp/argp-ex1.c > + argp_parse (0, argc, argv, 0, 0, 0); > + exit (0); > +} > -Index: git/test/argp/argp-ex2.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/argp-ex2.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/test/argp/argp-ex2.c b/test/argp/argp-ex2.c > +new file mode 100644 > +index 0000000..c49fbac > +--- /dev/null > ++++ b/test/argp/argp-ex2.c > @@ -0,0 +1,45 @@ > +/* Argp example #2 -- a pretty minimal program using argp */ > + > @@ -4386,10 +4406,11 @@ Index: git/test/argp/argp-ex2.c > + argp_parse (&argp, argc, argv, 0, 0, 0); > + exit (0); > +} > -Index: git/test/argp/argp-ex3.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/argp-ex3.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/test/argp/argp-ex3.c b/test/argp/argp-ex3.c > +new file mode 100644 > +index 0000000..24d5c50 > +--- /dev/null > ++++ b/test/argp/argp-ex3.c > @@ -0,0 +1,153 @@ > +/* Argp example #3 -- a program with options and arguments using argp = */ > + > @@ -4544,10 +4565,11 @@ Index: git/test/argp/argp-ex3.c > + > + exit (0); > +} > -Index: git/test/argp/argp-ex4.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/argp-ex4.c 2012-06-18 13:10:44.060825542 -0700 > +diff --git a/test/argp/argp-ex4.c b/test/argp/argp-ex4.c > +new file mode 100644 > +index 0000000..c77c7ef > +--- /dev/null > ++++ b/test/argp/argp-ex4.c > @@ -0,0 +1,167 @@ > +/* Argp example #4 -- a program with somewhat more complicated = options */ > + > @@ -4716,10 +4738,11 @@ Index: git/test/argp/argp-ex4.c > + > + exit (0); > +} > -Index: git/test/argp/argp-test.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/argp-test.c 2012-06-18 13:10:44.060825542 = -0700 > +diff --git a/test/argp/argp-test.c b/test/argp/argp-test.c > +new file mode 100644 > +index 0000000..b3d573b > +--- /dev/null > ++++ b/test/argp/argp-test.c > @@ -0,0 +1,209 @@ > +/* Test program for argp argument parser > + Copyright (C) 1997 Free Software Foundation, Inc. > @@ -4930,10 +4953,11 @@ Index: git/test/argp/argp-test.c > + printf ("After parsing: foonly =3D %x\n", params.foonly); > + return 0; > +} > -Index: git/test/argp/bug-argp1.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/bug-argp1.c 2012-06-18 13:10:44.060825542 = -0700 > +diff --git a/test/argp/bug-argp1.c b/test/argp/bug-argp1.c > +new file mode 100644 > +index 0000000..a28cf4b > +--- /dev/null > ++++ b/test/argp/bug-argp1.c > @@ -0,0 +1,26 @@ > +#include > + > @@ -4961,10 +4985,11 @@ Index: git/test/argp/bug-argp1.c > + > +#define TEST_FUNCTION do_test (argc, argv) > +#include "../test-skeleton.c" > -Index: git/test/argp/tst-argp1.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/tst-argp1.c 2012-06-18 13:10:44.060825542 = -0700 > +diff --git a/test/argp/tst-argp1.c b/test/argp/tst-argp1.c > +new file mode 100644 > +index 0000000..827daca > +--- /dev/null > ++++ b/test/argp/tst-argp1.c > @@ -0,0 +1,118 @@ > +/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. > + This file is part of the GNU C Library. > @@ -5084,10 +5109,11 @@ Index: git/test/argp/tst-argp1.c > + > +#define TEST_FUNCTION do_test () > +#include "../test-skeleton.c" > -Index: git/test/argp/tst-argp2.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 > -+++ git/test/argp/tst-argp2.c 2012-06-18 13:10:44.064825538 = -0700 > +diff --git a/test/argp/tst-argp2.c b/test/argp/tst-argp2.c > +new file mode 100644 > +index 0000000..705cdca > +--- /dev/null > ++++ b/test/argp/tst-argp2.c > @@ -0,0 +1,101 @@ > +/* Copyright (C) 2007 Free Software Foundation, Inc. > + This file is part of the GNU C Library. > @@ -5190,3 +5216,6 @@ Index: git/test/argp/tst-argp2.c > + > +#define TEST_FUNCTION do_test () > +#include "../test-skeleton.c" > +-- > +2.1.4 > + > diff --git a/meta/recipes-core/uclibc/uclibc-git/argp-headers.patch = b/meta/recipes-core/uclibc/uclibc-git/0004-Added-headers-file-needed-by-ar= gp-sources.patch > similarity index 97% > rename from meta/recipes-core/uclibc/uclibc-git/argp-headers.patch > rename to = meta/recipes-core/uclibc/uclibc-git/0004-Added-headers-file-needed-by-argp= -sources.patch > index b31b991..20dcdf9 100644 > --- a/meta/recipes-core/uclibc/uclibc-git/argp-headers.patch > +++ = b/meta/recipes-core/uclibc/uclibc-git/0004-Added-headers-file-needed-by-ar= gp-sources.patch > @@ -1,19 +1,21 @@ > -Added headers file needed by argp sources. > +=46rom e7e462e0f21c573ba6010d2e4dddfa45e56faf9a Mon Sep 17 00:00:00 = 2001 > +From: Salvatore Cro > +Date: Sun, 16 Aug 2015 20:57:26 -0700 > +Subject: [PATCH 4/9] Added headers file needed by argp sources >=20 > -Signed-off-by: Salvatore Cro > +Signed-off-by: Salvatore Cro > +Signed-off-by: Khem Raj > --- > - include/argp.h | 566 = ++++++++++++++++++++++++++++++++++++++++++++ > - libc/argp/argp-fmtstream.h | 314 ++++++++++++++++++++++++ > - 2 files changed, 880 insertions(+), 0 deletions(-) > - create mode 100644 include/argp.h > - create mode 100644 libc/argp/argp-fmtstream.h > - > Upstream-Status: Pending > + include/argp.h | 566 = +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > + 1 file changed, 566 insertions(+) > + create mode 100644 include/argp.h >=20 > -Index: git/include/argp.h > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +diff --git a/include/argp.h b/include/argp.h > +new file mode 100644 > +index 0000000..9d53728 > --- /dev/null > -+++ git/include/argp.h > ++++ b/include/argp.h > @@ -0,0 +1,566 @@ > +/* Hierarchial argument parsing, layered over getopt. > + Copyright (C) 1995-1999, 2003, 2004, 2005, 2006, 2007, 2009 > @@ -581,3 +583,6 @@ Index: git/include/argp.h > +#endif > + > +#endif /* argp.h */ > +-- > +2.1.4 > + > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0005-Dont-support-localised-optimiza= tions-this-helps-to-h.patch = b/meta/recipes-core/uclibc/uclibc-git/0005-Dont-support-localised-optimiza= tions-this-helps-to-h.patch > new file mode 100644 > index 0000000..8e1bf71 > --- /dev/null > +++ = b/meta/recipes-core/uclibc/uclibc-git/0005-Dont-support-localised-optimiza= tions-this-helps-to-h.patch > @@ -0,0 +1,29 @@ > +=46rom 999912a473dcfea15477263256179d16c00e8aba Mon Sep 17 00:00:00 = 2001 > +From: Khem Raj > +Date: Sun, 16 Aug 2015 20:58:59 -0700 > +Subject: [PATCH 5/9] Dont support localised optimizations this helps = to have a > + global -O level > + > +Signed-off-by: Khem Raj > +--- > +Upstream-Status: Pending > + libpthread/nptl/pthread_mutex_timedlock.c | 2 ++ > + 1 file changed, 2 insertions(+) > + > +diff --git a/libpthread/nptl/pthread_mutex_timedlock.c = b/libpthread/nptl/pthread_mutex_timedlock.c > +index 04187f6..f56f6c5 100644 > +--- a/libpthread/nptl/pthread_mutex_timedlock.c > ++++ b/libpthread/nptl/pthread_mutex_timedlock.c > +@@ -28,7 +28,9 @@ > + * error: can't find a register in class =E2=80=98GENERAL_REGS=E2=80=99= while reloading =E2=80=98asm=E2=80=99 > + */ > + int > ++#ifndef __OPTIMIZE__ > + attribute_optimize("Os") > ++#endif > + pthread_mutex_timedlock ( > + pthread_mutex_t *mutex, > + const struct timespec *abstime) > +-- > +2.1.4 > + > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0006-Always-use-O2-for-compiling-for= k.c.patch = b/meta/recipes-core/uclibc/uclibc-git/0006-Always-use-O2-for-compiling-for= k.c.patch > new file mode 100644 > index 0000000..438cef1 > --- /dev/null > +++ = b/meta/recipes-core/uclibc/uclibc-git/0006-Always-use-O2-for-compiling-for= k.c.patch > @@ -0,0 +1,32 @@ > +=46rom a39b30214c7424e3906db27b2b561b20e1c16fb7 Mon Sep 17 00:00:00 = 2001 > +From: Khem Raj > +Date: Sun, 16 Aug 2015 20:59:56 -0700 > +Subject: [PATCH 6/9] Always use -O2 for compiling fork.c > + > +When compiling in thumb mode for arm with -Os gcc gives up since it = can > +not find registers to spill. So we use -O2 option for compiling = fork.c > +It may be addressable in gcc. > + > +Signed-off-by: Khem Raj > +--- > +Upstream-Status: Pending > + libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch | 6 ++++++ > + 1 file changed, 6 insertions(+) > + > +diff --git = a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch = b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch > +index 0ea0b29..0767e9c 100644 > +--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch > ++++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch > +@@ -21,3 +21,9 @@ ASFLAGS-pt-vfork.S =3D -marm > + CFLAGS-OMIT-pt-vfork.S =3D -mthumb > + ASFLAGS-vfork.S =3D -marm > + CFLAGS-OMIT-vfork.S =3D -mthumb > ++ > ++# For arm fork.c does not compile with -Os when compiling > ++# in thumb1 mode > ++ifeq ($(COMPILE_IN_THUMB_MODE),y) > ++CFLAGS-fork.c =3D -O2 > ++endif > +-- > +2.1.4 > + > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-ldso-limited-support-for-ORIGIN= -in-rpath.patch = b/meta/recipes-core/uclibc/uclibc-git/0007-ldso-limited-support-for-ORIGIN= -in-rpath.patch > similarity index 96% > rename from = meta/recipes-core/uclibc/uclibc-git/0001-ldso-limited-support-for-ORIGIN-i= n-rpath.patch > rename to = meta/recipes-core/uclibc/uclibc-git/0007-ldso-limited-support-for-ORIGIN-i= n-rpath.patch > index 7479ec3..555b19b 100644 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-ldso-limited-support-for-ORIGIN= -in-rpath.patch > +++ = b/meta/recipes-core/uclibc/uclibc-git/0007-ldso-limited-support-for-ORIGIN= -in-rpath.patch > @@ -1,7 +1,7 @@ > -=46rom 32eaf738faafad2b16e1f3f5beb91736b3c27a3b Mon Sep 17 00:00:00 = 2001 > +=46rom 7e6d74573a6eb70ac4518e45e5c52b867db07453 Mon Sep 17 00:00:00 = 2001 > From: Junling Zheng > Date: Fri, 3 Apr 2015 05:02:27 +0000 > -Subject: [PATCH] ldso: limited support for $ORIGIN in rpath > +Subject: [PATCH 7/9] ldso: limited support for $ORIGIN in rpath > MIME-Version: 1.0 > Content-Type: text/plain; charset=3DUTF-8 > Content-Transfer-Encoding: 8bit > @@ -26,7 +26,9 @@ Upstream-Status: Submitted >=20 > Signed-off-by: Timo Ter=C3=A4s > Signed-off-by: Junling Zheng > +Signed-off-by: Khem Raj > --- > +Upstream-Status: Pending > ldso/include/dl-string.h | 2 ++ > ldso/ldso/dl-elf.c | 79 = +++++++++++++++++++++++++----------------------- > ldso/ldso/ldso.c | 18 +++++++++-- > @@ -47,7 +49,7 @@ index aacad10..14ae617 100644 > # define _dl_memcmp memcmp > # define _dl_memset memset > diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c > -index 1b06bc1..b323c90 100644 > +index 5631905..6ab7afe 100644 > --- a/ldso/ldso/dl-elf.c > +++ b/ldso/ldso/dl-elf.c > @@ -133,56 +133,60 @@ _dl_protect_relro (struct elf_resolve *l) > @@ -190,7 +192,7 @@ index 1b06bc1..b323c90 100644 > return tpnt1; >=20 > diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c > -index 5619629..73bcc41 100644 > +index f38f9e3..3812908 100644 > --- a/ldso/ldso/ldso.c > +++ b/ldso/ldso/ldso.c > @@ -402,6 +402,20 @@ static ptrdiff_t _dl_build_local_scope (struct = elf_resolve **list, > @@ -226,5 +228,5 @@ index 5619629..73bcc41 100644 > #ifdef __DSBT__ > _dl_ldso_dsbt =3D (void *)tpnt->dynamic_info[DT_DSBT_BASE_IDX]; > -- > -1.8.3.4 > +2.1.4 >=20 > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0008-nptl-atfork-Hide-pthread_atfork= -in-shared-versions.patch = b/meta/recipes-core/uclibc/uclibc-git/0008-nptl-atfork-Hide-pthread_atfork= -in-shared-versions.patch > new file mode 100644 > index 0000000..94669ec > --- /dev/null > +++ = b/meta/recipes-core/uclibc/uclibc-git/0008-nptl-atfork-Hide-pthread_atfork= -in-shared-versions.patch > @@ -0,0 +1,36 @@ > +=46rom a087b71655d6e53fd9897362a9c7eba9b97440fc Mon Sep 17 00:00:00 = 2001 > +From: Khem Raj > +Date: Sat, 23 Jun 2012 15:59:01 -0700 > +Subject: [PATCH 8/9] nptl/atfork: Hide pthread_atfork in shared = versions > + > +Signed-off-by: Khem Raj > +Upstream-Status: Pending > +--- > +Upstream-Status: Pending > + libpthread/nptl/Makefile.in | 3 ++- > + 1 file changed, 2 insertions(+), 1 deletion(-) > + > +diff --git a/libpthread/nptl/Makefile.in = b/libpthread/nptl/Makefile.in > +index 55eeba2..8cb8fa9 100644 > +--- a/libpthread/nptl/Makefile.in > ++++ b/libpthread/nptl/Makefile.in > +@@ -16,6 +16,7 @@ libc-shared-routines-y =3D forward.c = libc-cancellation.c > + libc-static-routines-y =3D alloca_cutoff.c libc-cancellation.c > + libpthread-shared-only-routines-y =3D version.c > + libpthread-static-only-routines-y =3D pthread_atfork.c > ++ > + libpthread-routines- +=3D $(notdir $(wildcard = $(libpthread_DIR)/gen_*.c)) # dummy generated files > + libpthread-routines- +=3D allocatestack.c # dummy included by = pthread_create.c > + libpthread-routines- +=3D pthread_mutex_getprioceiling.c = pthread_mutex_setprioceiling.c # XXX: delete those or use them! > +@@ -201,7 +202,7 @@ CFLAGS-msgsnd.c =3D -fexceptions = -fasynchronous-unwind-tables > + CFLAGS-tcdrain.c =3D -fexceptions -fasynchronous-unwind-tables > + > + CFLAGS-pt-system.c =3D -fexceptions -I$(top_srcdir)libc/stdlib > +- > ++CFLAGS-pthread_atfork.c =3D -DNOT_IN_libc > + # > + # The rest of this file is uClibc specific. > + # > +-- > +2.1.4 > + > diff --git = a/meta/recipes-core/uclibc/uclibc-git/0001-librt-Use-nodefaultlibs-instead= -of-nostdlib.patch = b/meta/recipes-core/uclibc/uclibc-git/0009-librt-Use-nodefaultlibs-instead= -of-nostdlib.patch > similarity index 50% > rename from = meta/recipes-core/uclibc/uclibc-git/0001-librt-Use-nodefaultlibs-instead-o= f-nostdlib.patch > rename to = meta/recipes-core/uclibc/uclibc-git/0009-librt-Use-nodefaultlibs-instead-o= f-nostdlib.patch > index ecb9d31..5ad9bb7 100644 > --- = a/meta/recipes-core/uclibc/uclibc-git/0001-librt-Use-nodefaultlibs-instead= -of-nostdlib.patch > +++ = b/meta/recipes-core/uclibc/uclibc-git/0009-librt-Use-nodefaultlibs-instead= -of-nostdlib.patch > @@ -1,7 +1,7 @@ > -=46rom 95f9b6f37152b8316735d3c86c0db963ff59e22d Mon Sep 17 00:00:00 = 2001 > +=46rom 7e89347e452d90674fa739be367bdf8ce71cc7d8 Mon Sep 17 00:00:00 = 2001 > From: Khem Raj > -Date: Sat, 23 Jun 2012 16:51:52 -0700 > -Subject: [PATCH] librt: Use -nodefaultlibs instead of -nostdlib > +Date: Sun, 16 Aug 2015 21:03:45 -0700 > +Subject: [PATCH 9/9] librt: Use -nodefaultlibs instead of -nostdlib >=20 > nostdlib disables linking in startup files too which is not > what we want here since it needs to resolve __dso_handle > @@ -12,18 +12,18 @@ when shared libraries are being built which are > linking in librt >=20 > Signed-off-by: Khem Raj > -Upstream-Status: Pending > --- > - librt/Makefile.in | 1 + > - 1 file changed, 1 insertion(+) > +Upstream-Status: Pending > + librt/Makefile.in | 3 +++ > + 1 file changed, 3 insertions(+) >=20 > -Index: git/librt/Makefile.in > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/librt/Makefile.in 2012-06-24 10:32:59.512653237 = -0700 > -+++ git/librt/Makefile.in 2012-06-24 11:31:00.660821666 -0700 > -@@ -15,6 +15,9 @@ > - ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) > - LIBS-librt.so +=3D $(top_builddir)lib/libdl.so = $(top_builddir)lib/libpthread.so > +diff --git a/librt/Makefile.in b/librt/Makefile.in > +index 1536a5c..5fcb1d6 100644 > +--- a/librt/Makefile.in > ++++ b/librt/Makefile.in > +@@ -16,6 +16,9 @@ ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) > + LIBS-librt.so +=3D $(top_builddir)lib/libpthread.so \ > + $(CC_FLAG_ASNEEDED) $(top_builddir)lib/libdl.so = $(CC_FLAG_NO_ASNEEDED) > endif > +START_FILE-librt.so :=3D $(SHARED_START_FILES) > +END_FILE-librt.so :=3D $(SHARED_END_FILES) > @@ -31,3 +31,6 @@ Index: git/librt/Makefile.in >=20 > librt_FULL_NAME :=3D librt-$(VERSION).so >=20 > +-- > +2.1.4 > + > diff --git = a/meta/recipes-core/uclibc/uclibc-git/compile-arm-fork-with-O2.patch = b/meta/recipes-core/uclibc/uclibc-git/compile-arm-fork-with-O2.patch > deleted file mode 100644 > index 15ee0ca..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/compile-arm-fork-with-O2.patch > +++ /dev/null > @@ -1,21 +0,0 @@ > -When compiling in thumb mode for arm with -Os gcc gives up since it = can not find registers > -to spill. So we use -O2 option for compiling fork.c It may be = addressable in gcc. > - > -Signed-off-by: Khem Raj > - > -Upstream-Status: Pending > - > -diff --git = a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch = b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch > -index 329d8a9..41e3646 100644 > ---- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch > -+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/Makefile.arch > -@@ -30,3 +30,9 @@ CFLAGS-OMIT-libc-lowlevellock.c =3D -DNOT_IN_libc = -DIS_IN_libpthread > - # This macro should be alternatively implemented in THUMB > - # assembly. > - ASFLAGS-vfork.S =3D -marm > -+ > -+# For arm fork.c does not compile with -Os when in compiling > -+# in thumb1 mode > -+ifeq ($(COMPILE_IN_THUMB_MODE),y) > -+CFLAGS-fork.c =3D -O2 > -+endif > diff --git = a/meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch= = b/meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch= > deleted file mode 100644 > index 5279f8a..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/ldso-mark-_dl_exit-as-noreturn.patch= > +++ /dev/null > @@ -1,48 +0,0 @@ > -=46rom 2c8a7766681b704e710f51c0817534e3f9a952d1 Mon Sep 17 00:00:00 = 2001 > -From: Bernhard Reutner-Fischer > -Date: Thu, 26 Mar 2015 00:02:58 +0100 > -Subject: [PATCH] ldso: mark _dl_exit as noreturn > - > -Otherwise gcc might not understand that oom() ended control-flow and > -might emit an (untaken) reference to abort() in _dl_update_slotinfo() > -on e.g. SH4 which breaks linking ld-uClibc.so. > -Arguably -ffreestanding should prevent GCC from emitting this > -'.global abort' but alas, it does not, which is another bug.. > - > -Also mark the function cold to further lower the incoming frequency = and > -branch probability. > - > -Upstream-Status: Backport > - > - = http://git.uclibc.org/uClibc/commit/?id=3D2c8a7766681b704e710f51c0817534e3= f9a952d1 > - > -Signed-off-by: Bernhard Reutner-Fischer > -Signed-off-by: Andre McCurdy > ---- > - ldso/include/dl-syscall.h | 10 +++++++++- > - 1 file changed, 9 insertions(+), 1 deletion(-) > - > -diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h > -index 675b93a..e556f7b 100644 > ---- a/ldso/include/dl-syscall.h > -+++ b/ldso/include/dl-syscall.h > -@@ -52,7 +52,15 @@ extern int _dl_errno; > - dynamic linking at all, so we cannot return any error codes. > - We just punt if there is an error. */ > - #define __NR__dl_exit __NR_exit > --static __always_inline _syscall1(void, _dl_exit, int, status) > -+static __always_inline attribute_noreturn __cold void _dl_exit(int = status) > -+{ > -+ INLINE_SYSCALL(_dl_exit, 1, status); > -+#if defined __GNUC__ > -+ __builtin_unreachable(); /* shut up warning: 'noreturn' function = does return*/ > -+#else > -+ while (1); > -+#endif > -+} > - > - #define __NR__dl_close __NR_close > - static __always_inline _syscall1(int, _dl_close, int, fd) > --- > -1.9.1 > - > diff --git = a/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch = b/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch > deleted file mode 100644 > index fb52faa..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch > +++ /dev/null > @@ -1,19 +0,0 @@ > -Dont support localised optimizations this helps to have a global -O = level > - > -Signed-off-by: Khem Raj > -Upstream-Status: Pending > - > -Index: git/libpthread/nptl/pthread_mutex_timedlock.c > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- git.orig/libpthread/nptl/pthread_mutex_timedlock.c = 2014-08-25 10:58:06.000000000 -0700 > -+++ git/libpthread/nptl/pthread_mutex_timedlock.c 2014-08-25 = 11:00:42.078242266 -0700 > -@@ -28,7 +28,9 @@ > - * error: can't find a register in class =E2=80=98GENERAL_REGS=E2=80=99= while reloading =E2=80=98asm=E2=80=99 > - */ > - int > -+#ifndef __OPTIMIZE__ > - attribute_optimize("Os") > -+#endif > - pthread_mutex_timedlock ( > - pthread_mutex_t *mutex, > - const struct timespec *abstime) > diff --git = a/meta/recipes-core/uclibc/uclibc-git/uclibc_enable_log2_test.patch = b/meta/recipes-core/uclibc/uclibc-git/uclibc_enable_log2_test.patch > deleted file mode 100644 > index 37a5988..0000000 > --- = a/meta/recipes-core/uclibc/uclibc-git/uclibc_enable_log2_test.patch > +++ /dev/null > @@ -1,35 +0,0 @@ > -uclibc now has log2 so enable the tests > - > -Signed-off-by: Khem Raj > -Upstream-Status: Pending > - > -Index: uClibc/test/math/libm-test.inc > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > ---- uClibc/test/math/libm-test.inc (revision 23784) > -+++ uClibc/test/math/libm-test.inc (working copy) > -@@ -3414,7 +3414,6 @@ > - } > - > - > --#if 0 > - static void > - log2_test (void) > - { > -@@ -3444,7 +3443,6 @@ > - > - END (log2); > - } > --#endif > - > - > - static void > -@@ -4967,9 +4965,7 @@ > - log_test (); > - log10_test (); > - log1p_test (); > --#if 0 > - log2_test (); > --#endif > - logb_test (); > - modf_test (); > - ilogb_test (); > diff --git a/meta/recipes-core/uclibc/uclibc.inc = b/meta/recipes-core/uclibc/uclibc.inc > index c483228..533aa3d 100644 > --- a/meta/recipes-core/uclibc/uclibc.inc > +++ b/meta/recipes-core/uclibc/uclibc.inc > @@ -21,7 +21,7 @@ PATH_prepend =3D = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" > TOOLCHAIN_OPTIONS =3D " --sysroot=3D${STAGING_DIR_TCBOOTSTRAP}" >=20 > # siteconfig.bbclass runs configure which needs a working compiler > -# For the compiler to work we need a working libc yet libc isn't > +# For the compiler to work we need a working libc yet libc isn't > # in the sysroots directory at this point. This means the libc.so > # linker script won't work as the --sysroot setting isn't correct. > # Here we create a hacked up libc linker script and pass in the right > -- > 2.1.4 >=20 --Apple-Mail=_210CB327-C041-42EA-8C86-EF9BF250C7A8 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAlXRq/AACgkQuwUzVZGdMxSsuQCeOiSp75Vgf4ZbwsqDnGSHEDp2 VEkAmQFmt3HzC587gKAL3/wIlra40B2E =T7v6 -----END PGP SIGNATURE----- --Apple-Mail=_210CB327-C041-42EA-8C86-EF9BF250C7A8--