From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [IPFire-SCM] [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 145ccddb6082cc5ff9e37a911e37b6b4706f0af0 Date: Fri, 06 Jan 2012 17:43:32 +0100 Message-ID: <20120106164412.9D3F0200BC@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4428490519176996930==" List-Id: --===============4428490519176996930== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree". The branch, master has been updated via 145ccddb6082cc5ff9e37a911e37b6b4706f0af0 (commit) via 339065dc7dac3ca4a25389a03f948457bc67fa98 (commit) via 7363ca1c6b8928130afcafba0b108ee38f2c9c49 (commit) via 9eb2f6422b07d020a8aa926873ee79e1bf1f14b9 (commit) via 87235625d3f512a08e18d3e6024a1cceca72cb83 (commit) via 5ca9e9bb0ae60796056ef788b59e7b7d69cabf73 (commit) via 70963a517cc405ca1e876d040b7ab0348e12d58f (commit) via 1c3676969e13010abb24838d58b5b67d86d5f025 (commit) via 99c36936a66786bcaf2fdfc319c12a3b5423c64e (commit) via 287d0882ebcff582dea1a22542006ec15abb8d4f (commit) via 824ce944fb7f2a95b33e4362af0afec2d1dc4653 (commit) from 1f26ad8535e941eabe44a7ced807cba197bd8271 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 145ccddb6082cc5ff9e37a911e37b6b4706f0af0 Merge: 339065d 1f26ad8 Author: Michael Tremer Date: Fri Jan 6 17:36:34 2012 +0100 Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x commit 339065dc7dac3ca4a25389a03f948457bc67fa98 Author: Michael Tremer Date: Fri Jan 6 17:33:44 2012 +0100 perl-FCGI: New package. =20 Required by perl-CGI. commit 7363ca1c6b8928130afcafba0b108ee38f2c9c49 Author: Michael Tremer Date: Fri Jan 6 17:33:25 2012 +0100 perl: Cleanup dependencies. =20 What a mess... commit 9eb2f6422b07d020a8aa926873ee79e1bf1f14b9 Author: Michael Tremer Date: Fri Jan 6 17:33:03 2012 +0100 mailcap: Requires perl to execute the testsuite. commit 87235625d3f512a08e18d3e6024a1cceca72cb83 Author: Michael Tremer Date: Fri Jan 6 17:32:19 2012 +0100 libcap-ng: Make package work on x86_64. commit 5ca9e9bb0ae60796056ef788b59e7b7d69cabf73 Author: Michael Tremer Date: Thu Jan 5 01:00:09 2012 +0100 dejagnu: Fix formatting of dependencies. commit 70963a517cc405ca1e876d040b7ab0348e12d58f Author: Michael Tremer Date: Thu Jan 5 00:57:02 2012 +0100 glibc: Update to 2.14.90 (development version). commit 1c3676969e13010abb24838d58b5b67d86d5f025 Merge: 99c3693 2bd9b33 Author: Michael Tremer Date: Sun Jan 1 13:11:04 2012 +0100 Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x commit 99c36936a66786bcaf2fdfc319c12a3b5423c64e Merge: 19df835 287d088 Author: Michael Tremer Date: Fri Dec 23 15:58:00 2011 +0100 Merge branch 'perl-Tk' commit 287d0882ebcff582dea1a22542006ec15abb8d4f Author: Michael Tremer Date: Fri Dec 23 15:57:21 2011 +0100 libpng: Update to 1.5.7. commit 824ce944fb7f2a95b33e4362af0afec2d1dc4653 Author: Michael Tremer Date: Fri Dec 23 15:56:48 2011 +0100 help2man: Requires perl for build. ----------------------------------------------------------------------- Summary of changes: dejagnu/dejagnu.nm | 7 +- glibc/glibc.nm | 24 +- glibc/patches/glibc-fedora.patch | 1282 +++++++++++-------= -- glibc/patches/glibc-rh730856.patch | 16 + glibc/patches/glibc-rh740506.patch | 35 + glibc/patches/glibc-rh757881.patch | 170 +++ glibc/patches/glibc-rh769421.patch | 229 ++++ libcap-ng/libcap-ng.nm | 9 +- libpng/libpng.nm | 2 +- mailcap/mailcap.nm | 6 +- .../perl-XML-Parser.nm =3D> perl-FCGI/perl-FCGI.nm | 32 +- perl/perl.nm | 160 ++-- 12 files changed, 1281 insertions(+), 691 deletions(-) create mode 100644 glibc/patches/glibc-rh730856.patch create mode 100644 glibc/patches/glibc-rh740506.patch create mode 100644 glibc/patches/glibc-rh757881.patch create mode 100644 glibc/patches/glibc-rh769421.patch copy perl-XML-Parser/perl-XML-Parser.nm =3D> perl-FCGI/perl-FCGI.nm (53%) Difference in files: diff --git a/dejagnu/dejagnu.nm b/dejagnu/dejagnu.nm index 2c0d195..c0f8fe4 100644 --- a/dejagnu/dejagnu.nm +++ b/dejagnu/dejagnu.nm @@ -5,7 +5,7 @@ =20 name =3D dejagnu version =3D 1.4.4 -release =3D 1 +release =3D 2 arch =3D noarch =20 groups =3D Development/Tools @@ -39,7 +39,10 @@ end =20 packages package %{name} - requires =3D expect tcl + requires + expect + tcl + end end =20 package %{name}-devel diff --git a/glibc/glibc.nm b/glibc/glibc.nm index aa40547..3e6093d 100644 --- a/glibc/glibc.nm +++ b/glibc/glibc.nm @@ -4,8 +4,9 @@ ############################################################################= ### =20 name =3D glibc -version =3D 2.14.1 +version =3D 2.14.90 release =3D 1 +thisapp =3D %{name}-2.14-16c6f99 =20 maintainer =3D Michael Tremer groups =3D System/Base @@ -24,25 +25,25 @@ description end =20 # The version of the ports addon. -ports_version =3D %{version} +ports_version =3D 2.14-c2aeee1 =20 source_dl =3D http://ftp.gnu.org/gnu/glibc/ -sources =3D %{thisapp}.tar.xz glibc-ports-%{ports_version}.tar.xz +sources =3D %{thisapp}.tar.gz glibc-ports-%{ports_version}.tar.gz =20 build # Optimize glibc for kernel OPTIMIZED_KERNEL =3D 2.6.32 =20 requires - audit-devel - autoconf - automake - gettext + #audit-devel + #autoconf + #automake + #gettext kernel-headers>=3D%{OPTIMIZED_KERNEL} libcap-devel libselinux-devel - nss-devel - texinfo + #nss-devel + #texinfo end =20 # Build glibc with custom cflags @@ -154,9 +155,8 @@ build --enable-kernel=3D%{OPTIMIZED_KERNEL} \ --with-selinux \ --disable-werror \ - --enable-experimental-malloc \ - --enable-bind-now \ - --enable-nss-crypt + --enable-bind-now +# --enable-nss-crypt =20 if "%{DISTRO_ARCH}" =3D=3D "armv5tel" # Disable hardware FP for ARM. diff --git a/glibc/patches/glibc-fedora.patch b/glibc/patches/glibc-fedora.pa= tch index ac1e0a5..1f5298b 100644 --- a/glibc/patches/glibc-fedora.patch +++ b/glibc/patches/glibc-fedora.patch @@ -1,8 +1,33 @@ ---- glibc-2.14.1/ChangeLog -+++ glibc-2.14.1-2/ChangeLog -@@ -200,6 +200,14 @@ - * malloc/memusage.sh: Fix quoting in message. - * debug/xtrace.sh: Likewise. +diff -Nur a/ChangeLog b/ChangeLog +--- a/ChangeLog 2011-12-22 16:50:52.000000000 +0000 ++++ b/ChangeLog 2011-12-22 18:00:44.158145149 +0000 +@@ -2416,6 +2416,11 @@ +=20 + * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro. +=20 ++2011-09-02 Andreas Schwab ++ ++ * nscd/selinux.c (avc_create_thread): Set PR_SET_KEEPCAPS before ++ spawning AVC thread. ++ + 2011-09-08 Andreas Schwab +=20 + * elf/dl-load.c (lose): Check for non-null L. +@@ -2678,6 +2683,11 @@ + * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi + directive. +=20 ++2011-08-31 Andreas Schwab ++ ++ * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET =3D=3D 0]: ++ Change to -1. ++ + 2011-08-24 David S. Miller +=20 + * sysdeps/sparc/sparc64/strcmp.S: Rewrite. +@@ -3483,6 +3493,14 @@ + * config.make.in: Likewise. + * malloc/Makefile: Likewise. =20 +2011-06-28 Andreas Schwab + @@ -15,18 +40,18 @@ 2011-06-27 Andreas Schwab =20 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP -@@ -215,6 +223,10 @@ - * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6 - addresses using gethostbyname4_r ignore IPv4 addresses. +@@ -3614,6 +3632,10 @@ +=20 + * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places. =20 +2011-06-21 Andreas Schwab + + * iconvdata/gb18030.c: Regenerate tables. + - 2011-06-15 Ulrich Drepper + 2011-06-20 David S. Miller =20 - * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We -@@ -692,6 +704,13 @@ + * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple +@@ -4236,6 +4258,13 @@ * libio/Makefile (tests): Add bug-fclose1. * libio/bug-fclose1.c: New file. =20 @@ -40,7 +65,7 @@ 2011-05-12 Ulrich Drepper =20 [BZ #12511] -@@ -969,13 +988,6 @@ +@@ -4513,13 +4542,6 @@ * stdlib/bug-getcontext.c: New file. * stdlib/Makefile: Add rules to build and run bug-getcontext. =20 @@ -54,7 +79,7 @@ 2011-04-11 Andreas Krebbel =20 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes -@@ -1213,6 +1225,31 @@ +@@ -4757,6 +4779,31 @@ * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime): Export. =20 @@ -86,7 +111,7 @@ 2011-03-22 Ulrich Drepper =20 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment -@@ -1273,6 +1310,16 @@ +@@ -4817,6 +4864,16 @@ $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main to _start. =20 @@ -103,20 +128,7 @@ 2011-03-06 Ulrich Drepper =20 * elf/dl-load.c (_dl_map_object): If we are looking for the first -@@ -1327,12 +1374,6 @@ - * elf/noload.c: Include . - (main): Call mtrace. Close all opened handles. -=20 --2011-02-17 Andreas Schwab -- -- [BZ #12454] -- * elf/dl-deps.c (_dl_map_object_deps): Signal error early when -- dependencies are missing. -- - 2011-02-22 Samuel Thibault -=20 - Fix __if_freereq crash: Unlike the generic version which uses free, -@@ -1489,6 +1530,12 @@ +@@ -5033,6 +5090,12 @@ * shadow/sgetspent.c: Check return value of __sgetspent_r instead of errno. =20 @@ -129,7 +141,7 @@ 2011-01-19 Ulrich Drepper =20 [BZ #11724] -@@ -2176,6 +2223,26 @@ +@@ -5720,6 +5783,26 @@ * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Mask out sign-bit copies when constructing f_fsid. =20 @@ -156,7 +168,7 @@ 2010-09-24 Petr Baudis =20 * debug/stack_chk_fail_local.c: Add missing licence exception. -@@ -2968,6 +3035,17 @@ +@@ -6512,6 +6595,17 @@ call returning > 0 value. * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise. =20 @@ -174,7 +186,7 @@ 2010-06-07 Andreas Schwab =20 * dlfcn/Makefile: Remove explicit dependencies on libc.so and -@@ -3020,6 +3098,24 @@ +@@ -6564,6 +6658,21 @@ * hurd/hurd/fd.h (__file_name_lookup_at): Update comment. * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS. =20 @@ -187,9 +199,6 @@ + +2010-06-10 Andreas Schwab + -+ * sysdeps/unix/sysv/linux/getpagesize.c: Don't assume AT_PAGESIZE -+ is always available. -+ + * sysdeps/unix/sysv/linux/i386/Versions: Export __uname under + GLIBC_PRIVATE. + * nptl/Versions: Export __getrlimit under GLIBC_PRIVATE. @@ -199,8 +208,9 @@ 2010-05-28 Luis Machado =20 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi. ---- glibc-2.14.1/ChangeLog.15 -+++ glibc-2.14.1-2/ChangeLog.15 +diff -Nur a/ChangeLog.15 b/ChangeLog.15 +--- a/ChangeLog.15 2011-12-22 16:50:52.000000000 +0000 ++++ b/ChangeLog.15 2011-12-22 17:59:24.542119295 +0000 @@ -477,6 +477,14 @@ =20 2004-11-26 Jakub Jelinek @@ -266,8 +276,9 @@ 2004-08-30 Roland McGrath =20 * scripts/extract-abilist.awk: If `lastversion' variable defined, omit ---- glibc-2.14.1/ChangeLog.16 -+++ glibc-2.14.1-2/ChangeLog.16 +diff -Nur a/ChangeLog.16 b/ChangeLog.16 +--- a/ChangeLog.16 2011-12-22 16:50:52.000000000 +0000 ++++ b/ChangeLog.16 2011-12-22 17:59:24.545119296 +0000 @@ -2042,6 +2042,9 @@ (__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT followed by __THROW. @@ -290,8 +301,9 @@ 2006-01-19 Thomas Schwinge =20 * libio/genops.c: Include . ---- glibc-2.14.1/ChangeLog.17 -+++ glibc-2.14.1-2/ChangeLog.17 +diff -Nur a/ChangeLog.17 b/ChangeLog.17 +--- a/ChangeLog.17 2011-12-22 16:50:52.000000000 +0000 ++++ b/ChangeLog.17 2011-12-22 17:59:24.549119296 +0000 @@ -256,6 +256,12 @@ =20 * Makerules (libc-abis): Fix search for libc-abis in add-ons. @@ -305,21 +317,7 @@ 2010-04-05 Thomas Schwinge =20 * sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/. -@@ -1010,6 +1016,13 @@ - * sysdeps/x86_64/fpu/fegetenv.c: Likewise - * sysdeps/s390/fpu/fegetenv.c: Likewise. Remove unused headers. -=20 -+2009-10-27 Aurelien Jarno -+ -+ [BZ #10855] -+ * locale/programs/locarchive.c: use MMAP_SHARED to reserve memory -+ used later with MMAP_FIXED | MMAP_SHARED to cope with different -+ alignment restrictions. -+ - 2010-02-05 H.J. Lu -=20 - [BZ #11230] -@@ -2953,6 +2966,11 @@ d2009-10-30 Ulrich Drepper +@@ -2953,6 +2959,11 @@ * sysdeps/generic/ldsodefs.h (struct rtld_global): The map element in the unique symbol hash table should not be const. =20 @@ -331,7 +329,7 @@ 2009-07-21 Ulrich Drepper =20 * sysdeps/x86_64/multiarch/strstr.c: Minor cleanups. Remove -@@ -3218,6 +3236,11 @@ d2009-10-30 Ulrich Drepper +@@ -3218,6 +3229,11 @@ out common code into new function get_common_indeces. Determine extended family and model for Intel processors. =20 @@ -343,7 +341,7 @@ 2009-06-26 Ulrich Drepper =20 * resolv/resolv.h: Define RES_SNGLKUPREOP. -@@ -11818,6 +11841,10 @@ d2009-10-30 Ulrich Drepper +@@ -11818,6 +11834,10 @@ [BZ #4368] * stdlib/stdlib.h: Remove obsolete part of comment for realpath. =20 @@ -354,7 +352,7 @@ 2007-04-16 Ulrich Drepper =20 [BZ #4364] -@@ -13075,6 +13102,15 @@ d2009-10-30 Ulrich Drepper +@@ -13075,6 +13095,15 @@ separators also if no non-zero digits found. * stdlib/Makefile (tests): Add tst-strtod3. =20 @@ -370,9 +368,10 @@ 2006-12-09 Ulrich Drepper =20 [BZ #3632] ---- glibc-2.14.1/Makeconfig -+++ glibc-2.14.1-2/Makeconfig -@@ -791,12 +791,12 @@ endif +diff -Nur a/Makeconfig b/Makeconfig +--- a/Makeconfig 2011-12-22 16:50:52.000000000 +0000 ++++ b/Makeconfig 2011-12-22 17:59:24.551119298 +0000 +@@ -803,12 +803,12 @@ # The assembler can generate debug information too. ifndef ASFLAGS ifeq ($(have-cpp-asm-debuginfo),yes) @@ -388,9 +387,10 @@ =20 ifndef BUILD_CC BUILD_CC =3D $(CC) ---- glibc-2.14.1/NEWS -+++ glibc-2.14.1-2/NEWS -@@ -27,16 +27,6 @@ Version 2.14 +diff -Nur a/NEWS b/NEWS +--- a/NEWS 2011-12-22 16:50:52.000000000 +0000 ++++ b/NEWS 2011-12-22 17:59:24.552119299 +0000 +@@ -83,16 +83,6 @@ 12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792, 12795, 12811, 12813, 12814, 12841 =20 @@ -407,9 +407,10 @@ * New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at, syncfs, setns, sendmmsg =20 ---- glibc-2.14.1/config.h.in -+++ glibc-2.14.1-2/config.h.in -@@ -204,6 +204,9 @@ +diff -Nur a/config.h.in b/config.h.in +--- a/config.h.in 2011-12-22 16:50:52.000000000 +0000 ++++ b/config.h.in 2011-12-22 17:59:24.552119299 +0000 +@@ -187,6 +187,9 @@ /* Define if `.ctors' and `.dtors' sections shouldn't be used. */ #undef NO_CTORS_DTORS_SECTIONS =20 @@ -419,25 +420,26 @@ /* =0C */ =20 ---- glibc-2.14.1/configure -+++ glibc-2.14.1-2/configure -@@ -784,6 +784,7 @@ enable_all_warnings +diff -Nur a/configure b/configure +--- a/configure 2011-12-22 18:00:26.275139344 +0000 ++++ b/configure 2011-12-22 17:59:24.706119348 +0000 +@@ -791,6 +791,7 @@ + enable_all_warnings enable_multi_arch - enable_experimental_malloc enable_nss_crypt +enable_systemtap with_cpu ' ac_precious_vars=3D'build_alias -@@ -1444,6 +1445,7 @@ Optional Features: - --enable-experimental-malloc - enable experimental malloc features +@@ -1450,6 +1451,7 @@ + --enable-multi-arch enable single DSO with optimizations for multiple + architectures --enable-nss-crypt enable libcrypt to use nss + --enable-systemtap enable systemtap static probe points [default=3Dn= o] =20 Optional Packages: --with-PACKAGE[=3DARG] use PACKAGE [ARG=3Dyes] -@@ -3823,6 +3825,51 @@ else +@@ -3804,6 +3806,51 @@ fi =20 =20 @@ -489,9 +491,10 @@ # The way shlib-versions is used to generate soversions.mk uses a # fairly simplistic model for name recognition that can't distinguish # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os ---- glibc-2.14.1/configure.in -+++ glibc-2.14.1-2/configure.in -@@ -316,6 +316,29 @@ else +diff -Nur a/configure.in b/configure.in +--- a/configure.in 2011-12-22 16:50:52.000000000 +0000 ++++ b/configure.in 2011-12-22 17:59:24.555119299 +0000 +@@ -290,6 +290,29 @@ fi AC_SUBST(libc_cv_nss_crypt) =20 @@ -521,9 +524,10 @@ # The way shlib-versions is used to generate soversions.mk uses a # fairly simplistic model for name recognition that can't distinguish # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os ---- glibc-2.14.1/csu/Makefile -+++ glibc-2.14.1-2/csu/Makefile -@@ -93,7 +93,8 @@ omit-deps +=3D $(crtstuff) +diff -Nur a/csu/Makefile b/csu/Makefile +--- a/csu/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/csu/Makefile 2011-12-22 17:59:24.556119299 +0000 +@@ -93,7 +93,8 @@ $(crtstuff:%=3D$(objpfx)%.o): %.o: %.S $(objpfx)defs.h $(compile.S) -g0 $(ASFLAGS-.os) -o $@ =20 @@ -533,9 +537,10 @@ =20 vpath initfini.c $(sysdirs) =20 ---- glibc-2.14.1/csu/elf-init.c -+++ glibc-2.14.1-2/csu/elf-init.c -@@ -63,6 +63,23 @@ extern void (*__init_array_end []) (int, char **, char **) +diff -Nur a/csu/elf-init.c b/csu/elf-init.c +--- a/csu/elf-init.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/csu/elf-init.c 2011-12-22 17:59:24.557119299 +0000 +@@ -64,6 +64,23 @@ extern void (*__fini_array_start []) (void) attribute_hidden; extern void (*__fini_array_end []) (void) attribute_hidden; =20 @@ -559,8 +564,9 @@ =20 /* These function symbols are provided for the .init/.fini section entry points automagically by the linker. */ ---- glibc-2.14.1/debug/tst-chk1.c -+++ glibc-2.14.1-2/debug/tst-chk1.c +diff -Nur a/debug/tst-chk1.c b/debug/tst-chk1.c +--- a/debug/tst-chk1.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/debug/tst-chk1.c 2011-12-22 17:59:24.557119299 +0000 @@ -17,6 +17,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ @@ -571,7 +577,7 @@ #include #include #include -@@ -242,7 +245,7 @@ do_test (void) +@@ -243,7 +246,7 @@ if (memcmp (a.buf1, "aabcdabcjj", 10)) FAIL (); =20 @@ -580,7 +586,7 @@ /* The following tests are supposed to crash with -D_FORTIFY_SOURCE=3D2 and sufficient GCC support, as the string operations overflow from a.buf1 into a.buf2. */ -@@ -357,7 +360,7 @@ do_test (void) +@@ -358,7 +361,7 @@ memset (a.buf1 + 9, 'j', l0 + 2); CHK_FAIL_END =20 @@ -589,9 +595,10 @@ # define O 0 # else # define O 1 ---- glibc-2.14.1/elf/Makefile -+++ glibc-2.14.1-2/elf/Makefile -@@ -135,6 +135,7 @@ include ../Makeconfig +diff -Nur a/elf/Makefile b/elf/Makefile +--- a/elf/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/Makefile 2011-12-22 17:59:24.558119299 +0000 +@@ -135,6 +135,7 @@ ifeq ($(unwind-find-fde),yes) routines +=3D unwind-dw2-fde-glibc shared-only-routines +=3D unwind-dw2-fde-glibc @@ -599,7 +606,7 @@ endif =20 before-compile =3D $(objpfx)trusted-dirs.h -@@ -504,7 +505,8 @@ CFLAGS-ldconfig.c =3D $(SYSCONF-FLAGS) -D'LIBDIR=3D"$(li= bdir)"' \ +@@ -505,7 +506,8 @@ CFLAGS-dl-cache.c =3D $(SYSCONF-FLAGS) CFLAGS-cache.c =3D $(SYSCONF-FLAGS) =20 @@ -609,9 +616,10 @@ =20 test-modules =3D $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-na= mes)))) generated +=3D $(addsuffix .so,$(strip $(modules-names))) ---- glibc-2.14.1/elf/dl-close.c -+++ glibc-2.14.1-2/elf/dl-close.c -@@ -119,17 +119,8 @@ _dl_close_worker (struct link_map *map) +diff -Nur a/elf/dl-close.c b/elf/dl-close.c +--- a/elf/dl-close.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/dl-close.c 2011-12-22 17:59:24.559119299 +0000 +@@ -119,17 +119,8 @@ if (map->l_direct_opencount > 0 || map->l_type !=3D lt_loaded || dl_close_state !=3D not_pending) { @@ -631,9 +639,10 @@ =20 /* There are still references to this object. Do nothing more. */ if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0)) ---- glibc-2.14.1/elf/dl-deps.c -+++ glibc-2.14.1-2/elf/dl-deps.c -@@ -478,6 +478,7 @@ _dl_map_object_deps (struct link_map *map, +diff -Nur a/elf/dl-deps.c b/elf/dl-deps.c +--- a/elf/dl-deps.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/dl-deps.c 2011-12-22 17:59:24.559119299 +0000 +@@ -489,6 +489,7 @@ nneeded * sizeof needed[0]); atomic_write_barrier (); l->l_initfini =3D l_initfini; @@ -641,7 +650,7 @@ } =20 /* If we have no auxiliary objects just go on to the next map. */ -@@ -678,6 +679,7 @@ Filters not supported with LD_TRACE_PRELINKING")); +@@ -689,6 +690,7 @@ l_initfini[nlist] =3D NULL; atomic_write_barrier (); map->l_initfini =3D l_initfini; @@ -649,7 +658,7 @@ if (l_reldeps !=3D NULL) { atomic_write_barrier (); -@@ -686,7 +688,7 @@ Filters not supported with LD_TRACE_PRELINKING")); +@@ -697,7 +699,7 @@ _dl_scope_free (old_l_reldeps); } if (old_l_initfini !=3D NULL) @@ -658,8 +667,9 @@ =20 if (errno_reason) _dl_signal_error (errno_reason =3D=3D -1 ? 0 : errno_reason, objname, ---- glibc-2.14.1/elf/dl-init.c -+++ glibc-2.14.1-2/elf/dl-init.c +diff -Nur a/elf/dl-init.c b/elf/dl-init.c +--- a/elf/dl-init.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/dl-init.c 2011-12-22 17:59:24.560119299 +0000 @@ -24,11 +24,9 @@ /* Type of the initializer. */ typedef void (*init_t) (int, char **, char **); @@ -672,7 +682,7 @@ =20 =20 static void -@@ -133,9 +131,7 @@ _dl_init (struct link_map *main_map, int argc, char **ar= gv, char **env) +@@ -133,9 +131,7 @@ while (i-- > 0) call_init (main_map->l_initfini[i], argc, argv, env); =20 @@ -682,9 +692,10 @@ -#endif } INTDEF (_dl_init) ---- glibc-2.14.1/elf/dl-libc.c -+++ glibc-2.14.1-2/elf/dl-libc.c -@@ -265,13 +265,13 @@ libc_freeres_fn (free_mem) +diff -Nur a/elf/dl-libc.c b/elf/dl-libc.c +--- a/elf/dl-libc.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/dl-libc.c 2011-12-22 17:59:24.560119299 +0000 +@@ -270,13 +270,13 @@ =20 for (Lmid_t ns =3D 0; ns < GL(dl_nns); ++ns) { @@ -699,7 +710,7 @@ while (lnp !=3D NULL) { struct libname_list *old =3D lnp; -@@ -279,6 +279,10 @@ libc_freeres_fn (free_mem) +@@ -284,6 +284,10 @@ if (! old->dont_free) free (old); } @@ -710,9 +721,10 @@ } =20 if (__builtin_expect (GL(dl_ns)[ns]._ns_global_scope_alloc, 0) !=3D 0 ---- glibc-2.14.1/elf/dl-load.c -+++ glibc-2.14.1-2/elf/dl-load.c -@@ -250,8 +250,7 @@ is_trusted_path_normalize (const char *path, size_t len) +diff -Nur a/elf/dl-load.c b/elf/dl-load.c +--- a/elf/dl-load.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/dl-load.c 2011-12-22 17:59:24.561119300 +0000 +@@ -250,8 +250,7 @@ =20 =20 static size_t @@ -722,7 +734,7 @@ { size_t len; bool is_curly =3D false; -@@ -280,12 +279,6 @@ is_dst (const char *start, const char *name, const char= *str, +@@ -280,12 +279,6 @@ && (!is_path || name[len] !=3D ':')) return 0; =20 @@ -735,7 +747,7 @@ return len; } =20 -@@ -300,13 +293,10 @@ _dl_dst_count (const char *name, int is_path) +@@ -300,13 +293,10 @@ { size_t len; =20 @@ -752,7 +764,7 @@ ++cnt; =20 name =3D strchr (name + len, '$'); -@@ -339,9 +329,16 @@ _dl_dst_substitute (struct link_map *l, const char *nam= e, char *result, +@@ -339,9 +329,16 @@ size_t len; =20 ++name; @@ -771,7 +783,7 @@ #ifndef SHARED if (l =3D=3D NULL) repl =3D _dl_get_origin (); -@@ -352,9 +349,9 @@ _dl_dst_substitute (struct link_map *l, const char *name= , char *result, +@@ -352,9 +349,9 @@ check_for_trusted =3D (INTUSE(__libc_enable_secure) && l->l_type =3D=3D lt_executable); } @@ -783,7 +795,7 @@ repl =3D DL_DST_LIB; =20 if (repl !=3D NULL && repl !=3D (const char *) -1) -@@ -374,6 +371,7 @@ _dl_dst_substitute (struct link_map *l, const char *name= , char *result, +@@ -374,6 +371,7 @@ element, but keep an empty element at the end. */ if (wp =3D=3D result && is_path && *name =3D=3D ':' && name[1] !=3D = '\0') ++name; @@ -791,9 +803,10 @@ } else /* No DST we recognize. */ ---- glibc-2.14.1/elf/dl-support.c -+++ glibc-2.14.1-2/elf/dl-support.c -@@ -81,10 +81,8 @@ unsigned long long _dl_load_adds; +diff -Nur a/elf/dl-support.c b/elf/dl-support.c +--- a/elf/dl-support.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/dl-support.c 2011-12-22 17:59:24.561119300 +0000 +@@ -82,10 +82,8 @@ create a fake scope containing nothing. */ struct r_scope_elem _dl_initial_searchlist; =20 @@ -804,9 +817,10 @@ =20 /* Random data provided by the kernel. */ void *_dl_random; ---- glibc-2.14.1/elf/ldconfig.c -+++ glibc-2.14.1-2/elf/ldconfig.c -@@ -1034,17 +1034,19 @@ search_dirs (void) +diff -Nur a/elf/ldconfig.c b/elf/ldconfig.c +--- a/elf/ldconfig.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/ldconfig.c 2011-12-22 17:59:24.562119301 +0000 +@@ -1034,17 +1034,19 @@ =20 =20 static void parse_conf_include (const char *config_file, unsigned int linen= o, @@ -828,7 +842,7 @@ =20 if (do_chroot && opt_chroot) { -@@ -1105,7 +1107,14 @@ parse_conf (const char *filename, bool do_chroot) +@@ -1105,7 +1107,14 @@ cp +=3D 8; while ((dir =3D strsep (&cp, " \t")) !=3D NULL) if (dir[0] !=3D '\0') @@ -844,7 +858,7 @@ } else if (!strncasecmp (cp, "hwcap", 5) && isblank (cp[5])) { -@@ -1168,7 +1177,7 @@ parse_conf (const char *filename, bool do_chroot) +@@ -1168,7 +1177,7 @@ config files to read. */ static void parse_conf_include (const char *config_file, unsigned int lineno, @@ -853,7 +867,7 @@ { if (opt_chroot && pattern[0] !=3D '/') error (EXIT_FAILURE, 0, -@@ -1200,7 +1209,7 @@ parse_conf_include (const char *config_file, unsigned = int lineno, +@@ -1200,7 +1209,7 @@ { case 0: for (size_t i =3D 0; i < gl.gl_pathc; ++i) @@ -862,7 +876,7 @@ globfree64 (&gl); break; =20 -@@ -1243,6 +1252,8 @@ main (int argc, char **argv) +@@ -1243,6 +1252,8 @@ /* Set the text message domain. */ textdomain (_libc_intl_domainname); =20 @@ -871,7 +885,7 @@ /* Parse and process arguments. */ int remaining; argp_parse (&argp, argc, argv, 0, &remaining, NULL); -@@ -1352,12 +1363,14 @@ main (int argc, char **argv) +@@ -1352,12 +1363,14 @@ =20 if (!opt_only_cline) { @@ -887,9 +901,10 @@ } =20 const char *aux_cache_file =3D _PATH_LDCONFIG_AUX_CACHE; ---- glibc-2.14.1/elf/ldd.bash.in -+++ glibc-2.14.1-2/elf/ldd.bash.in -@@ -167,18 +167,6 @@ warning: you do not have execution permission for" "\`$= file'" >&2 +diff -Nur a/elf/ldd.bash.in b/elf/ldd.bash.in +--- a/elf/ldd.bash.in 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/ldd.bash.in 2011-12-22 17:59:24.563119302 +0000 +@@ -167,18 +167,6 @@ fi done case $ret in @@ -908,7 +923,7 @@ 1) # This can be a non-ELF binary or no binary at all. nonelf "$file" || { -@@ -186,7 +174,7 @@ warning: you do not have execution permission for" "\`$f= ile'" >&2 +@@ -186,7 +174,7 @@ result=3D1 } ;; @@ -917,8 +932,9 @@ try_trace "$RTLD" "$file" || result=3D1 ;; *) ---- glibc-2.14.1/elf/rtld-Rules -+++ glibc-2.14.1-2/elf/rtld-Rules +diff -Nur a/elf/rtld-Rules b/elf/rtld-Rules +--- a/elf/rtld-Rules 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/rtld-Rules 2011-12-22 17:59:24.563119302 +0000 @@ -1,7 +1,7 @@ # Subroutine makefile for compiling libc modules linked into dynamic linker. =20 @@ -928,7 +944,7 @@ # This file is part of the GNU C Library. =20 # The GNU C Library is free software; you can redistribute it and/or -@@ -131,6 +131,6 @@ ifdef rtld-depfiles +@@ -131,6 +131,6 @@ endif =20 # This here is the whole point of all the shenanigans. @@ -936,9 +952,10 @@ +rtld-CPPFLAGS :=3D -DNOT_IN_libc=3D1 -DIS_IN_rtld=3D1 -DIN_LIB=3Drtld =20 endif ---- glibc-2.14.1/elf/rtld.c -+++ glibc-2.14.1-2/elf/rtld.c -@@ -107,7 +107,6 @@ static struct audit_list +diff -Nur a/elf/rtld.c b/elf/rtld.c +--- a/elf/rtld.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/elf/rtld.c 2011-12-22 17:59:24.564119303 +0000 +@@ -107,7 +107,6 @@ struct audit_list *next; } *audit_list; =20 @@ -946,7 +963,7 @@ /* Set nonzero during loading and initialization of executable and libraries, cleared before the executable's entry point runs. This must not be initialized to nonzero, because the unused dynamic -@@ -117,7 +116,6 @@ static struct audit_list +@@ -117,7 +116,6 @@ never be called. */ int _dl_starting_up =3D 0; INTVARDEF(_dl_starting_up) @@ -954,7 +971,7 @@ =20 /* This is the structure which defines all variables global to ld.so (except those which cannot be added for some reason). */ -@@ -923,10 +921,8 @@ dl_main (const ElfW(Phdr) *phdr, +@@ -929,10 +927,8 @@ /* Process the environment variable which control the behaviour. */ process_envvars (&mode); =20 @@ -965,7 +982,18 @@ =20 if (*user_entry =3D=3D (ElfW(Addr)) ENTRY_POINT) { -@@ -2263,6 +2259,7 @@ ERROR: ld.so: object '%s' cannot be loaded as audit in= terface: %s; ignored.\n", +@@ -1397,7 +1393,9 @@ + char *copy =3D malloc (len); + if (copy =3D=3D NULL) + _dl_fatal_printf ("out of memory\n"); +- l->l_libname->name =3D l->l_name =3D memcpy (copy, dsoname, len); ++ l->l_libname->name =3D memcpy (copy, dsoname, len); ++ if (GLRO(dl_debug_mask)) ++ l->l_name =3D copy; + } +=20 + /* Add the vDSO to the object list. */ +@@ -2276,6 +2274,7 @@ lnp->dont_free =3D 1; lnp =3D lnp->next; } @@ -973,7 +1001,7 @@ =20 if (l !=3D &GL(dl_rtld_map)) _dl_relocate_object (l, l->l_scope, GLRO(dl_lazy) ? RTLD_LAZY : 0, -@@ -2312,7 +2309,6 @@ ERROR: ld.so: object '%s' cannot be loaded as audit in= terface: %s; ignored.\n", +@@ -2327,7 +2326,6 @@ =20 /* Make sure no new search directories have been added. */ assert (GLRO(dl_init_all_dirs) =3D=3D GL(dl_all_dirs)); @@ -981,24 +1009,28 @@ if (! prelinked && rtld_multiple_ref) { /* There was an explicit ref to the dynamic linker as a shared lib. ---- glibc-2.14.1/extra-lib.mk -+++ glibc-2.14.1-2/extra-lib.mk -@@ -101,4 +101,4 @@ ifneq (,$(cpp-srcs-left)) +diff -Nur a/extra-lib.mk b/extra-lib.mk +--- a/extra-lib.mk 2011-12-22 16:50:52.000000000 +0000 ++++ b/extra-lib.mk 2011-12-22 17:59:24.564119303 +0000 +@@ -101,4 +101,4 @@ include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) endif =20 -CPPFLAGS-$(lib) :=3D -DNOT_IN_libc=3D1 -DIS_IN_$(lib)=3D1 +CPPFLAGS-$(lib) :=3D -DNOT_IN_libc=3D1 -DIS_IN_$(lib)=3D1 -DIN_LIB=3D$(lib) ---- glibc-2.14.1/include/bits/stdlib-ldbl.h -+++ glibc-2.14.1-2/include/bits/stdlib-ldbl.h +diff -Nur a/include/bits/stdlib-ldbl.h b/include/bits/stdlib-ldbl.h +--- a/include/bits/stdlib-ldbl.h 1970-01-01 00:00:00.000000000 +0000 ++++ b/include/bits/stdlib-ldbl.h 2011-12-22 17:59:24.565119304 +0000 @@ -0,0 +1 @@ +#include ---- glibc-2.14.1/include/bits/wchar-ldbl.h -+++ glibc-2.14.1-2/include/bits/wchar-ldbl.h +diff -Nur a/include/bits/wchar-ldbl.h b/include/bits/wchar-ldbl.h +--- a/include/bits/wchar-ldbl.h 1970-01-01 00:00:00.000000000 +0000 ++++ b/include/bits/wchar-ldbl.h 2011-12-22 17:59:24.565119304 +0000 @@ -0,0 +1 @@ +#include ---- glibc-2.14.1/include/features.h -+++ glibc-2.14.1-2/include/features.h +diff -Nur a/include/features.h b/include/features.h +--- a/include/features.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/include/features.h 2011-12-22 17:59:24.565119304 +0000 @@ -310,8 +310,13 @@ #endif =20 @@ -1015,9 +1047,10 @@ # define __USE_FORTIFY_LEVEL 2 # else # define __USE_FORTIFY_LEVEL 1 ---- glibc-2.14.1/include/libc-symbols.h -+++ glibc-2.14.1-2/include/libc-symbols.h -@@ -635,7 +635,7 @@ for linking") +diff -Nur a/include/libc-symbols.h b/include/libc-symbols.h +--- a/include/libc-symbols.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/include/libc-symbols.h 2011-12-22 17:59:24.566119304 +0000 +@@ -626,7 +626,7 @@ # define libc_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) # define libc_hidden_def(name) hidden_def (name) # define libc_hidden_weak(name) hidden_weak (name) @@ -1026,8 +1059,9 @@ # define libc_hidden_ver(local, name) hidden_ver (local, name) # define libc_hidden_data_def(name) hidden_data_def (name) # define libc_hidden_data_weak(name) hidden_data_weak (name) ---- glibc-2.14.1/include/link.h -+++ glibc-2.14.1-2/include/link.h +diff -Nur a/include/link.h b/include/link.h +--- a/include/link.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/include/link.h 2011-12-22 17:59:24.567119304 +0000 @@ -1,6 +1,6 @@ /* Data structure for communication from the run-time dynamic linker for loaded ELF shared objects. @@ -1036,7 +1070,7 @@ This file is part of the GNU C Library. =20 The GNU C Library is free software; you can redistribute it and/or -@@ -192,6 +192,9 @@ struct link_map +@@ -192,6 +192,9 @@ during LD_TRACE_PRELINKING=3D1 contains any DT_SYMBOLIC libraries. */ @@ -1046,7 +1080,7 @@ =20 /* Collected information about own RPATH directories. */ struct r_search_path_struct l_rpath_dirs; -@@ -240,9 +243,6 @@ struct link_map +@@ -240,9 +243,6 @@ =20 /* List of object in order of the init and fini calls. */ struct link_map **l_initfini; @@ -1056,8 +1090,18 @@ =20 /* List of the dependencies introduced through symbol binding. */ struct link_map_reldeps ---- glibc-2.14.1/include/stap-probe.h -+++ glibc-2.14.1-2/include/stap-probe.h +@@ -290,7 +290,7 @@ + #endif + #ifndef FORCED_DYNAMIC_TLS_OFFSET + # if NO_TLS_OFFSET =3D=3D 0 +-# define FORCED_DYNAMIC_TLS_OFFSET 1 ++# define FORCED_DYNAMIC_TLS_OFFSET -1 + # elif NO_TLS_OFFSET =3D=3D -1 + # define FORCED_DYNAMIC_TLS_OFFSET -2 + # else +diff -Nur a/include/stap-probe.h b/include/stap-probe.h +--- a/include/stap-probe.h 1970-01-01 00:00:00.000000000 +0000 ++++ b/include/stap-probe.h 2011-12-22 17:59:24.567119304 +0000 @@ -0,0 +1,140 @@ +/* Macros for defining Systemtap static probe points. + Copyright (C) 2011 Free Software Foundation, Inc. @@ -1199,17 +1243,19 @@ +#endif /* USE_STAP_PROBE. */ + +#endif /* stap-probe.h */ ---- glibc-2.14.1/include/sys/resource.h -+++ glibc-2.14.1-2/include/sys/resource.h -@@ -13,4 +13,5 @@ extern int __getrusage (enum __rusage_who __who, struct ru= sage *__usage) +diff -Nur a/include/sys/resource.h b/include/sys/resource.h +--- a/include/sys/resource.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/include/sys/resource.h 2011-12-22 17:59:24.567119304 +0000 +@@ -13,4 +13,5 @@ =20 extern int __setrlimit (enum __rlimit_resource __resource, const struct rlimit *__rlimits); +libc_hidden_proto (__getrlimit) #endif ---- glibc-2.14.1/inet/Makefile -+++ glibc-2.14.1-2/inet/Makefile -@@ -57,6 +57,8 @@ tests :=3D htontest test_ifindex tst-ntoa tst-ether_aton t= st-network \ +diff -Nur a/inet/Makefile b/inet/Makefile +--- a/inet/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/inet/Makefile 2011-12-22 17:59:24.568119304 +0000 +@@ -57,6 +57,8 @@ =20 include ../Rules =20 @@ -1218,9 +1264,10 @@ ifeq ($(have-thread-library),yes) =20 CFLAGS-gethstbyad_r.c =3D -DUSE_NSCD=3D1 -fexceptions ---- glibc-2.14.1/intl/locale.alias -+++ glibc-2.14.1-2/intl/locale.alias -@@ -57,8 +57,6 @@ korean ko_KR.eucKR +diff -Nur a/intl/locale.alias b/intl/locale.alias +--- a/intl/locale.alias 2011-12-22 16:50:52.000000000 +0000 ++++ b/intl/locale.alias 2011-12-22 17:59:24.568119304 +0000 +@@ -57,8 +57,6 @@ korean.euc ko_KR.eucKR ko_KR ko_KR.eucKR lithuanian lt_LT.ISO-8859-13 @@ -1229,9 +1276,10 @@ norwegian nb_NO.ISO-8859-1 nynorsk nn_NO.ISO-8859-1 polish pl_PL.ISO-8859-2 ---- glibc-2.14.1/libio/stdio.h -+++ glibc-2.14.1-2/libio/stdio.h -@@ -165,10 +165,12 @@ typedef _G_fpos64_t fpos64_t; +diff -Nur a/libio/stdio.h b/libio/stdio.h +--- a/libio/stdio.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/libio/stdio.h 2011-12-22 17:59:24.569119304 +0000 +@@ -169,10 +169,12 @@ extern struct _IO_FILE *stdin; /* Standard input stream. */ extern struct _IO_FILE *stdout; /* Standard output stream. */ extern struct _IO_FILE *stderr; /* Standard error output stream. */ @@ -1244,8 +1292,9 @@ =20 __BEGIN_NAMESPACE_STD /* Remove file FILENAME. */ ---- glibc-2.14.1/locale/iso-4217.def -+++ glibc-2.14.1-2/locale/iso-4217.def +diff -Nur a/locale/iso-4217.def b/locale/iso-4217.def +--- a/locale/iso-4217.def 2011-12-22 16:50:52.000000000 +0000 ++++ b/locale/iso-4217.def 2011-12-22 17:59:24.569119304 +0000 @@ -8,6 +8,7 @@ * * !!! The list has to be sorted !!! @@ -1254,7 +1303,7 @@ DEFINE_INT_CURR("AED") /* United Arab Emirates Dirham */ DEFINE_INT_CURR("AFN") /* Afghanistan Afgani */ DEFINE_INT_CURR("ALL") /* Albanian Lek */ -@@ -15,12 +16,14 @@ DEFINE_INT_CURR("AMD") /* Armenia Dram */ +@@ -15,12 +16,14 @@ DEFINE_INT_CURR("ANG") /* Netherlands Antilles */ DEFINE_INT_CURR("AOA") /* Angolan Kwanza */ DEFINE_INT_CURR("ARS") /* Argentine Peso */ @@ -1269,7 +1318,7 @@ DEFINE_INT_CURR("BGN") /* Bulgarian Lev */ DEFINE_INT_CURR("BHD") /* Bahraini Dinar */ DEFINE_INT_CURR("BIF") /* Burundi Franc */ -@@ -44,6 +47,7 @@ DEFINE_INT_CURR("CUP") /* Cuban Peso */ +@@ -44,6 +47,7 @@ DEFINE_INT_CURR("CVE") /* Cape Verde Escudo */ DEFINE_INT_CURR("CYP") /* Cypriot Pound */ DEFINE_INT_CURR("CZK") /* Czech Koruna */ @@ -1277,7 +1326,7 @@ DEFINE_INT_CURR("DJF") /* Djibouti Franc */ DEFINE_INT_CURR("DKK") /* Danish Krone (Faroe Islands, Greenland) */ DEFINE_INT_CURR("DOP") /* Dominican Republic */ -@@ -51,16 +55,20 @@ DEFINE_INT_CURR("DZD") /* Algerian Dinar */ +@@ -51,16 +55,20 @@ DEFINE_INT_CURR("EEK") /* Estonian Kroon */ DEFINE_INT_CURR("EGP") /* Egyptian Pound */ DEFINE_INT_CURR("ERN") /* Eritrean Nakfa */ @@ -1298,7 +1347,7 @@ DEFINE_INT_CURR("GTQ") /* Guatemala Quetzal */ DEFINE_INT_CURR("GYD") /* Guyana Dollar */ DEFINE_INT_CURR("HKD") /* Hong Kong Dollar */ -@@ -69,12 +77,14 @@ DEFINE_INT_CURR("HRK") /* Croatia Kuna */ +@@ -69,12 +77,14 @@ DEFINE_INT_CURR("HTG") /* Haiti Gourde */ DEFINE_INT_CURR("HUF") /* Hungarian Forint */ DEFINE_INT_CURR("IDR") /* Indonesia Rupiah */ @@ -1313,7 +1362,7 @@ DEFINE_INT_CURR("JEP") /* Jersey Pound */ DEFINE_INT_CURR("JMD") /* Jamaican Dollar */ DEFINE_INT_CURR("JOD") /* Jordanian Dinar */ -@@ -94,6 +104,7 @@ DEFINE_INT_CURR("LKR") /* Sri Lankan Rupee */ +@@ -94,6 +104,7 @@ DEFINE_INT_CURR("LRD") /* Liberian Dollar */ DEFINE_INT_CURR("LSL") /* Lesotho Maloti */ DEFINE_INT_CURR("LTL") /* Lithuanian Litas */ @@ -1321,7 +1370,7 @@ DEFINE_INT_CURR("LVL") /* Latvia Lat */ DEFINE_INT_CURR("LYD") /* Libyan Arab Jamahiriya Dinar */ DEFINE_INT_CURR("MAD") /* Moroccan Dirham */ -@@ -114,6 +125,7 @@ DEFINE_INT_CURR("MZM") /* Mozambique Metical */ +@@ -114,6 +125,7 @@ DEFINE_INT_CURR("NAD") /* Namibia Dollar */ DEFINE_INT_CURR("NGN") /* Nigeria Naira */ DEFINE_INT_CURR("NIO") /* Nicaragua Cordoba Oro */ @@ -1329,7 +1378,7 @@ DEFINE_INT_CURR("NOK") /* Norwegian Krone */ DEFINE_INT_CURR("NPR") /* Nepalese Rupee */ DEFINE_INT_CURR("NZD") /* New Zealand Dollar */ -@@ -124,6 +136,7 @@ DEFINE_INT_CURR("PGK") /* Papau New Guinea Kina */ +@@ -124,6 +136,7 @@ DEFINE_INT_CURR("PHP") /* Philippines Peso */ DEFINE_INT_CURR("PKR") /* Pakistan Rupee */ DEFINE_INT_CURR("PLN") /* Polish Zloty */ @@ -1337,18 +1386,10 @@ DEFINE_INT_CURR("PYG") /* Paraguay Guarani */ DEFINE_INT_CURR("QAR") /* Qatar Rial */ DEFINE_INT_CURR("ROL") /* Romanian Leu */ ---- glibc-2.14.1/locale/programs/locarchive.c -+++ glibc-2.14.1-2/locale/programs/locarchive.c -@@ -134,7 +134,7 @@ create_archive (const char *archivefname, struct locarha= ndle *ah) - size_t reserved =3D RESERVE_MMAP_SIZE; - int xflags =3D 0; - if (total < reserved -- && ((p =3D mmap64 (NULL, reserved, PROT_NONE, MAP_PRIVATE | MAP_ANON, -+ && ((p =3D mmap64 (NULL, reserved, PROT_NONE, MAP_SHARED | MAP_ANON, - -1, 0)) !=3D MAP_FAILED)) - xflags =3D MAP_FIXED; - else -@@ -241,9 +241,9 @@ oldlocrecentcmp (const void *a, const void *b) +diff -Nur a/locale/programs/locarchive.c b/locale/programs/locarchive.c +--- a/locale/programs/locarchive.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/locale/programs/locarchive.c 2011-12-22 17:59:24.570119304 +0000 +@@ -253,9 +253,9 @@ /* forward decls for below */ static uint32_t add_locale (struct locarhandle *ah, const char *name, locale_data_t data, bool replace); @@ -1361,25 +1402,7 @@ =20 =20 static bool -@@ -396,7 +396,7 @@ enlarge_archive (struct locarhandle *ah, const struct lo= carhead *head) - size_t reserved =3D RESERVE_MMAP_SIZE; - int xflags =3D 0; - if (total < reserved -- && ((p =3D mmap64 (NULL, reserved, PROT_NONE, MAP_PRIVATE | MAP_ANON, -+ && ((p =3D mmap64 (NULL, reserved, PROT_NONE, MAP_SHARED | MAP_ANON, - -1, 0)) !=3D MAP_FAILED)) - xflags =3D MAP_FIXED; - else -@@ -614,7 +614,7 @@ open_archive (struct locarhandle *ah, bool readonly) - int xflags =3D 0; - void *p; - if (st.st_size < reserved -- && ((p =3D mmap64 (NULL, reserved, PROT_NONE, MAP_PRIVATE | MAP_ANON, -+ && ((p =3D mmap64 (NULL, reserved, PROT_NONE, MAP_SHARED | MAP_ANON, - -1, 0)) !=3D MAP_FAILED)) - xflags =3D MAP_FIXED; - else -@@ -649,7 +649,7 @@ close_archive (struct locarhandle *ah) +@@ -636,7 +636,7 @@ #include "../../intl/explodename.c" #include "../../intl/l10nflist.c" =20 @@ -1388,7 +1411,7 @@ insert_name (struct locarhandle *ah, const char *name, size_t name_len, bool replace) { -@@ -707,7 +707,7 @@ insert_name (struct locarhandle *ah, +@@ -694,7 +694,7 @@ return &namehashtab[idx]; } =20 @@ -1397,9 +1420,13 @@ add_alias (struct locarhandle *ah, const char *alias, bool replace, const char *oldname, uint32_t *locrec_offset_p) { ---- glibc-2.14.1/localedata/ChangeLog -+++ glibc-2.14.1-2/localedata/ChangeLog -@@ -1,3 +1,11 @@ +diff -Nur a/localedata/ChangeLog b/localedata/ChangeLog +--- a/localedata/ChangeLog 2011-12-22 16:50:52.000000000 +0000 ++++ b/localedata/ChangeLog 2011-12-22 17:59:24.571119304 +0000 +@@ -64,6 +64,14 @@ + * tests-mbwc/tst_funcs.h (TST_DECL_VARS, TST_HEAD_LOCALE): + Remove unused variable. +=20 +2011-06-28 Andreas Schwab + + * charmaps/GB18030: Correct some entries. @@ -1411,9 +1438,10 @@ 2011-05-21 Ulrich Drepper =20 [BZ #12788] ---- glibc-2.14.1/localedata/Makefile -+++ glibc-2.14.1-2/localedata/Makefile -@@ -227,6 +227,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-locales-dir +diff -Nur a/localedata/Makefile b/localedata/Makefile +--- a/localedata/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/localedata/Makefile 2011-12-22 17:59:24.572119304 +0000 +@@ -224,6 +224,7 @@ echo -n '...'; \ input=3D`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \ $(LOCALEDEF) --alias-file=3D../intl/locale.alias \ @@ -1421,9 +1449,10 @@ -i locales/$$input -c -f charmaps/$$charset \ $(addprefix --prefix=3D,$(install_root)) $$locale; \ echo ' done'; \ ---- glibc-2.14.1/localedata/SUPPORTED -+++ glibc-2.14.1-2/localedata/SUPPORTED -@@ -86,6 +86,7 @@ cy_GB.UTF-8/UTF-8 \ +diff -Nur a/localedata/SUPPORTED b/localedata/SUPPORTED +--- a/localedata/SUPPORTED 2011-12-22 16:50:52.000000000 +0000 ++++ b/localedata/SUPPORTED 2011-12-22 17:59:24.572119304 +0000 +@@ -88,6 +88,7 @@ cy_GB/ISO-8859-14 \ da_DK.UTF-8/UTF-8 \ da_DK/ISO-8859-1 \ @@ -1431,7 +1460,7 @@ de_AT.UTF-8/UTF-8 \ de_AT/ISO-8859-1 \ de_AT(a)euro/ISO-8859-15 \ -@@ -117,6 +118,7 @@ en_DK.UTF-8/UTF-8 \ +@@ -119,6 +120,7 @@ en_DK/ISO-8859-1 \ en_GB.UTF-8/UTF-8 \ en_GB/ISO-8859-1 \ @@ -1439,7 +1468,7 @@ en_HK.UTF-8/UTF-8 \ en_HK/ISO-8859-1 \ en_IE.UTF-8/UTF-8 \ -@@ -132,6 +134,7 @@ en_SG.UTF-8/UTF-8 \ +@@ -134,6 +136,7 @@ en_SG/ISO-8859-1 \ en_US.UTF-8/UTF-8 \ en_US/ISO-8859-1 \ @@ -1447,7 +1476,7 @@ en_ZA.UTF-8/UTF-8 \ en_ZA/ISO-8859-1 \ en_ZM/UTF-8 \ -@@ -313,6 +316,8 @@ nl_NL/ISO-8859-1 \ +@@ -316,6 +319,8 @@ nl_NL(a)euro/ISO-8859-15 \ nn_NO.UTF-8/UTF-8 \ nn_NO/ISO-8859-1 \ @@ -1456,7 +1485,7 @@ nr_ZA/UTF-8 \ nso_ZA/UTF-8 \ oc_FR.UTF-8/UTF-8 \ -@@ -374,6 +379,7 @@ sv_FI/ISO-8859-1 \ +@@ -377,6 +382,7 @@ sv_FI(a)euro/ISO-8859-15 \ sv_SE.UTF-8/UTF-8 \ sv_SE/ISO-8859-1 \ @@ -1464,9 +1493,10 @@ sw_KE/UTF-8 \ sw_TZ/UTF-8 \ ta_IN/UTF-8 \ ---- glibc-2.14.1/localedata/locales/cy_GB -+++ glibc-2.14.1-2/localedata/locales/cy_GB -@@ -248,8 +248,11 @@ mon "= ";/ +diff -Nur a/localedata/locales/cy_GB b/localedata/locales/cy_GB +--- a/localedata/locales/cy_GB 2011-12-22 16:50:52.000000000 +0000 ++++ b/localedata/locales/cy_GB 2011-12-22 17:59:24.573119304 +0000 +@@ -248,8 +248,11 @@ d_t_fmt "" d_fmt "" t_fmt "" @@ -1480,9 +1510,10 @@ END LC_TIME =20 LC_MESSAGES ---- glibc-2.14.1/localedata/locales/en_GB -+++ glibc-2.14.1-2/localedata/locales/en_GB -@@ -116,8 +116,8 @@ mon "<= U0079>";/ +diff -Nur a/localedata/locales/en_GB b/localedata/locales/en_GB +--- a/localedata/locales/en_GB 2011-12-22 16:50:52.000000000 +0000 ++++ b/localedata/locales/en_GB 2011-12-22 17:59:24.573119304 +0000 +@@ -116,8 +116,8 @@ d_t_fmt "" d_fmt "" t_fmt "" @@ -1493,8 +1524,9 @@ date_fmt "/ / " ---- glibc-2.14.1/localedata/locales/no_NO -+++ glibc-2.14.1-2/localedata/locales/no_NO +diff -Nur a/localedata/locales/no_NO b/localedata/locales/no_NO +--- a/localedata/locales/no_NO 1970-01-01 00:00:00.000000000 +0000 ++++ b/localedata/locales/no_NO 2011-12-22 17:59:24.573119304 +0000 @@ -0,0 +1,69 @@ +escape_char / +comment_char % @@ -1565,8 +1597,9 @@ +LC_ADDRESS +copy "nb_NO" +END LC_ADDRESS ---- glibc-2.14.1/localedata/locales/zh_TW -+++ glibc-2.14.1-2/localedata/locales/zh_TW +diff -Nur a/localedata/locales/zh_TW b/localedata/locales/zh_TW +--- a/localedata/locales/zh_TW 2011-12-22 16:50:52.000000000 +0000 ++++ b/localedata/locales/zh_TW 2011-12-22 17:59:24.574119304 +0000 @@ -1,7 +1,7 @@ comment_char % escape_char / @@ -1576,7 +1609,7 @@ % charmap: BIG5-CP950 % % Original Author: -@@ -17,7 +17,7 @@ escape_char / +@@ -17,7 +17,7 @@ % Reference: http://wwwold.dkuug.dk/JTC1/SC22/WG20/docs/n690.pdf =20 LC_IDENTIFICATION @@ -1585,7 +1618,7 @@ source "" address "" contact "" -@@ -25,7 +25,7 @@ email "bug-glibc-locales(a)gnu.org" +@@ -25,7 +25,7 @@ tel "" fax "" language "Chinese" @@ -1594,8 +1627,9 @@ revision "0.2" date "2000-08-02" % ---- glibc-2.14.1/login/programs/pt_chown.c -+++ glibc-2.14.1-2/login/programs/pt_chown.c +diff -Nur a/login/programs/pt_chown.c b/login/programs/pt_chown.c +--- a/login/programs/pt_chown.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/login/programs/pt_chown.c 2011-12-22 17:59:24.574119304 +0000 @@ -29,6 +29,7 @@ #include #include @@ -1604,7 +1638,7 @@ #ifdef HAVE_LIBCAP # include # include -@@ -143,7 +144,7 @@ main (int argc, char *argv[]) +@@ -143,7 +144,7 @@ uid_t uid =3D getuid (); int remaining; =20 @@ -1613,7 +1647,7 @@ { #ifdef HAVE_LIBCAP /* Drop privileges. */ -@@ -176,6 +177,13 @@ main (int argc, char *argv[]) +@@ -176,6 +177,13 @@ =20 /* We aren't going to be using privileges, so drop them right now. */ setuid (uid); @@ -1627,7 +1661,7 @@ =20 /* Set locale via LC_ALL. */ setlocale (LC_ALL, ""); -@@ -195,9 +203,5 @@ main (int argc, char *argv[]) +@@ -195,9 +203,5 @@ return EXIT_FAILURE; } =20 @@ -1637,8 +1671,9 @@ - return EXIT_SUCCESS; } ---- glibc-2.14.1/malloc/mcheck.c -+++ glibc-2.14.1-2/malloc/mcheck.c +diff -Nur a/malloc/mcheck.c b/malloc/mcheck.c +--- a/malloc/mcheck.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/malloc/mcheck.c 2011-12-22 17:59:24.575119304 +0000 @@ -25,10 +25,26 @@ # include # include @@ -1666,7 +1701,7 @@ /* Old hook values. */ static void (*old_free_hook) (__ptr_t ptr, __const __ptr_t); static __ptr_t (*old_malloc_hook) (__malloc_size_t size, const __ptr_t); -@@ -199,7 +215,7 @@ freehook (__ptr_t ptr, const __ptr_t caller) +@@ -199,7 +215,7 @@ if (old_free_hook !=3D NULL) (*old_free_hook) (ptr, caller); else @@ -1675,7 +1710,7 @@ __free_hook =3D freehook; } =20 -@@ -222,7 +238,7 @@ mallochook (__malloc_size_t size, const __ptr_t caller) +@@ -222,7 +238,7 @@ hdr =3D (struct hdr *) (*old_malloc_hook) (sizeof (struct hdr) + size += 1, caller); else @@ -1684,7 +1719,7 @@ __malloc_hook =3D mallochook; if (hdr =3D=3D NULL) return NULL; -@@ -259,7 +275,7 @@ memalignhook (__malloc_size_t alignment, __malloc_size_t= size, +@@ -259,7 +275,7 @@ if (old_memalign_hook !=3D NULL) block =3D (*old_memalign_hook) (alignment, slop + size + 1, caller); else @@ -1693,7 +1728,7 @@ __memalign_hook =3D memalignhook; if (block =3D=3D NULL) return NULL; -@@ -320,8 +336,8 @@ reallochook (__ptr_t ptr, __malloc_size_t size, const __= ptr_t caller) +@@ -320,8 +336,8 @@ sizeof (struct hdr) + size + 1, caller); else @@ -1704,7 +1739,7 @@ __free_hook =3D freehook; __malloc_hook =3D mallochook; __memalign_hook =3D memalignhook; -@@ -381,8 +397,8 @@ mcheck (func) +@@ -381,8 +397,8 @@ if (__malloc_initialized <=3D 0 && !mcheck_used) { /* We call malloc() once here to ensure it is initialized. */ @@ -1715,8 +1750,9 @@ =20 old_free_hook =3D __free_hook; __free_hook =3D freehook; ---- glibc-2.14.1/manual/libc.texinfo -+++ glibc-2.14.1-2/manual/libc.texinfo +diff -Nur a/manual/libc.texinfo b/manual/libc.texinfo +--- a/manual/libc.texinfo 2011-12-22 16:50:52.000000000 +0000 ++++ b/manual/libc.texinfo 2011-12-22 17:59:24.575119304 +0000 @@ -5,7 +5,7 @@ @c setchapternewpage odd =20 @@ -1726,9 +1762,10 @@ @direntry * Libc: (libc). C library. @end direntry ---- glibc-2.14.1/misc/sys/cdefs.h -+++ glibc-2.14.1-2/misc/sys/cdefs.h -@@ -132,7 +132,10 @@ +diff -Nur a/misc/sys/cdefs.h b/misc/sys/cdefs.h +--- a/misc/sys/cdefs.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/misc/sys/cdefs.h 2011-12-22 17:59:24.576119305 +0000 +@@ -146,7 +146,10 @@ #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) #define __bos0(ptr) __builtin_object_size (ptr, 0) =20 @@ -1740,7 +1777,7 @@ # define __warndecl(name, msg) \ extern void name (void) __attribute__((__warning__ (msg))) # define __warnattr(msg) __attribute__((__warning__ (msg))) -@@ -291,10 +294,16 @@ +@@ -316,10 +319,16 @@ =20 /* GCC 4.3 and above with -std=3Dc99 or -std=3Dgnu99 implements ISO C99 inline semantics, unless -fgnu89-inline is used. */ @@ -1759,7 +1796,7 @@ # define __extern_always_inline \ extern __always_inline __attribute__ ((__gnu_inline__, __artificial__)) # else -@@ -314,7 +323,10 @@ +@@ -339,7 +348,10 @@ =20 /* GCC 4.3 and above allow passing all anonymous arguments of an __extern_always_inline function to some other vararg function. */ @@ -1771,9 +1808,10 @@ # define __va_arg_pack() __builtin_va_arg_pack () # define __va_arg_pack_len() __builtin_va_arg_pack_len () #endif ---- glibc-2.14.1/nis/Makefile -+++ glibc-2.14.1-2/nis/Makefile -@@ -23,9 +23,9 @@ subdir :=3D nis +diff -Nur a/nis/Makefile b/nis/Makefile +--- a/nis/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/nis/Makefile 2011-12-22 17:59:24.576119305 +0000 +@@ -23,9 +23,9 @@ =20 aux :=3D nis_hash =20 @@ -1785,7 +1823,7 @@ =20 # These are the databases available for the nis (and perhaps later nisplus) # service. This must be a superset of the services in nss. -@@ -69,6 +69,8 @@ libnss_nisplus-inhibit-o =3D $(filter-out .os,$(object-suf= fixes)) +@@ -69,6 +69,8 @@ =20 include ../Rules =20 @@ -1794,8 +1832,9 @@ =20 $(objpfx)libnss_compat.so: $(objpfx)libnsl.so$(libnsl.so-version) $(objpfx)libnss_nis.so: $(objpfx)libnsl.so$(libnsl.so-version) \ ---- glibc-2.14.1/nis/nss -+++ glibc-2.14.1-2/nis/nss +diff -Nur a/nis/nss b/nis/nss +--- a/nis/nss 2011-12-22 16:50:52.000000000 +0000 ++++ b/nis/nss 2011-12-22 17:59:24.577119306 +0000 @@ -25,7 +25,7 @@ # memory with every getXXent() call. Otherwise each getXXent() call # might result into a network communication with the server to get @@ -1805,9 +1844,10 @@ # # ADJUNCT_AS_SHADOW # If set to TRUE, the passwd routines in the NIS NSS module will not ---- glibc-2.14.1/nptl/ChangeLog -+++ glibc-2.14.1-2/nptl/ChangeLog -@@ -45,6 +45,51 @@ +diff -Nur a/nptl/ChangeLog b/nptl/ChangeLog +--- a/nptl/ChangeLog 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/ChangeLog 2011-12-22 17:59:24.579119308 +0000 +@@ -195,6 +195,51 @@ clearing memory. Patch partly by Robert Rex . =20 @@ -1859,7 +1899,7 @@ 2011-01-19 Roland McGrath =20 * pthread_cond_wait.c (__pthread_cond_wait): Fix comment typo. -@@ -4774,6 +4819,11 @@ +@@ -4924,6 +4969,11 @@ Move definition inside libpthread, libc, librt check. Provide definition for rtld. =20 @@ -1871,7 +1911,7 @@ 2004-09-02 Ulrich Drepper =20 * sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp. -@@ -6848,6 +6898,11 @@ +@@ -6998,6 +7048,11 @@ =20 * Makefile [$(build-shared) =3D yes] (tests): Depend on $(test-modules). =20 @@ -1883,8 +1923,9 @@ 2003-07-25 Jakub Jelinek =20 * tst-cancel17.c (do_test): Check if aio_cancel failed. ---- glibc-2.14.1/nptl/DESIGN-systemtap-probes.txt -+++ glibc-2.14.1-2/nptl/DESIGN-systemtap-probes.txt +diff -Nur a/nptl/DESIGN-systemtap-probes.txt b/nptl/DESIGN-systemtap-probes.= txt +--- a/nptl/DESIGN-systemtap-probes.txt 1970-01-01 00:00:00.000000000 +0000 ++++ b/nptl/DESIGN-systemtap-probes.txt 2011-12-22 17:59:24.580119308 +0000 @@ -0,0 +1,89 @@ +Systemtap is a dynamic tracing/instrumenting tool available on Linux. Probes +that are not fired at run time have close to zero overhead. @@ -1975,9 +2016,10 @@ + arg1 =3D condition +cond_broadcast - probe for pthread_cond_broadcast + arg1 =3D condition ---- glibc-2.14.1/nptl/Makefile -+++ glibc-2.14.1-2/nptl/Makefile -@@ -342,7 +342,8 @@ endif +diff -Nur a/nptl/Makefile b/nptl/Makefile +--- a/nptl/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/Makefile 2011-12-22 17:59:24.580119308 +0000 +@@ -342,7 +342,8 @@ extra-objs +=3D $(crti-objs) $(crtn-objs) omit-deps +=3D crti crtn =20 @@ -1987,7 +2029,7 @@ endif =20 CFLAGS-flockfile.c =3D -D_IO_MTSAFE_IO -@@ -529,15 +530,19 @@ $(addprefix $(objpfx), \ +@@ -529,15 +530,19 @@ $(tests) $(xtests) $(test-srcs))): $(objpfx)libpthread.so \ $(objpfx)libpthread_nonshared.a $(objpfx)tst-unload: $(common-objpfx)dlfcn/libdl.so @@ -2009,9 +2051,10 @@ else $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a endif ---- glibc-2.14.1/nptl/Versions -+++ glibc-2.14.1-2/nptl/Versions -@@ -30,6 +30,7 @@ libc { +diff -Nur a/nptl/Versions b/nptl/Versions +--- a/nptl/Versions 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/Versions 2011-12-22 17:59:24.581119308 +0000 +@@ -30,6 +30,7 @@ __libc_alloca_cutoff; # Internal libc interface to libpthread __libc_dl_error_tsd; @@ -2019,9 +2062,10 @@ } } =20 ---- glibc-2.14.1/nptl/nptl-init.c -+++ glibc-2.14.1-2/nptl/nptl-init.c -@@ -415,7 +415,7 @@ __pthread_initialize_minimal_internal (void) +diff -Nur a/nptl/nptl-init.c b/nptl/nptl-init.c +--- a/nptl/nptl-init.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/nptl-init.c 2011-12-22 17:59:24.581119308 +0000 +@@ -415,7 +415,7 @@ /* Determine the default allowed stack size. This is the size used in case the user does not specify one. */ struct rlimit limit; @@ -2030,8 +2074,9 @@ || limit.rlim_cur =3D=3D RLIM_INFINITY) /* The system limit is not usable. Use an architecture-specific default. */ ---- glibc-2.14.1/nptl/pthread_cond_broadcast.c -+++ glibc-2.14.1-2/nptl/pthread_cond_broadcast.c +diff -Nur a/nptl/pthread_cond_broadcast.c b/nptl/pthread_cond_broadcast.c +--- a/nptl/pthread_cond_broadcast.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_cond_broadcast.c 2011-12-22 17:59:24.582119308 +0000 @@ -23,6 +23,7 @@ #include #include @@ -2040,7 +2085,7 @@ =20 #include #include -@@ -32,6 +33,8 @@ int +@@ -32,6 +33,8 @@ __pthread_cond_broadcast (cond) pthread_cond_t *cond; { @@ -2049,8 +2094,9 @@ int pshared =3D (cond->__data.__mutex =3D=3D (void *) ~0l) ? LLL_SHARED : LLL_PRIVATE; /* Make sure we are alone. */ ---- glibc-2.14.1/nptl/pthread_cond_destroy.c -+++ glibc-2.14.1-2/nptl/pthread_cond_destroy.c +diff -Nur a/nptl/pthread_cond_destroy.c b/nptl/pthread_cond_destroy.c +--- a/nptl/pthread_cond_destroy.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_cond_destroy.c 2011-12-22 17:59:24.582119308 +0000 @@ -20,6 +20,7 @@ #include #include @@ -2059,7 +2105,7 @@ =20 =20 int -@@ -29,6 +30,8 @@ __pthread_cond_destroy (cond) +@@ -29,6 +30,8 @@ int pshared =3D (cond->__data.__mutex =3D=3D (void *) ~0l) ? LLL_SHARED : LLL_PRIVATE; =20 @@ -2068,8 +2114,9 @@ /* Make sure we are alone. */ lll_lock (cond->__data.__lock, pshared); =20 ---- glibc-2.14.1/nptl/pthread_cond_init.c -+++ glibc-2.14.1-2/nptl/pthread_cond_init.c +diff -Nur a/nptl/pthread_cond_init.c b/nptl/pthread_cond_init.c +--- a/nptl/pthread_cond_init.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_cond_init.c 2011-12-22 17:59:24.583119308 +0000 @@ -20,6 +20,7 @@ =20 #include @@ -2078,7 +2125,7 @@ =20 =20 int -@@ -42,6 +43,8 @@ __pthread_cond_init (cond, cond_attr) +@@ -42,6 +43,8 @@ ? NULL : (void *) ~0l); cond->__data.__broadcast_seq =3D 0; =20 @@ -2087,8 +2134,9 @@ return 0; } versioned_symbol (libpthread, __pthread_cond_init, ---- glibc-2.14.1/nptl/pthread_cond_signal.c -+++ glibc-2.14.1-2/nptl/pthread_cond_signal.c +diff -Nur a/nptl/pthread_cond_signal.c b/nptl/pthread_cond_signal.c +--- a/nptl/pthread_cond_signal.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_cond_signal.c 2011-12-22 17:59:24.583119308 +0000 @@ -26,6 +26,7 @@ =20 #include @@ -2097,7 +2145,7 @@ =20 =20 int -@@ -35,6 +36,8 @@ __pthread_cond_signal (cond) +@@ -35,6 +36,8 @@ int pshared =3D (cond->__data.__mutex =3D=3D (void *) ~0l) ? LLL_SHARED : LLL_PRIVATE; =20 @@ -2106,8 +2154,9 @@ /* Make sure we are alone. */ lll_lock (cond->__data.__lock, pshared); =20 ---- glibc-2.14.1/nptl/pthread_cond_wait.c -+++ glibc-2.14.1-2/nptl/pthread_cond_wait.c +diff -Nur a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c +--- a/nptl/pthread_cond_wait.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_cond_wait.c 2011-12-22 17:59:24.583119308 +0000 @@ -25,6 +25,7 @@ #include =20 @@ -2116,7 +2165,7 @@ =20 =20 struct _condvar_cleanup_buffer -@@ -101,6 +102,8 @@ __pthread_cond_wait (cond, mutex) +@@ -101,6 +102,8 @@ int pshared =3D (cond->__data.__mutex =3D=3D (void *) ~0l) ? LLL_SHARED : LLL_PRIVATE; =20 @@ -2125,9 +2174,10 @@ /* Make sure we are alone. */ lll_lock (cond->__data.__lock, pshared); =20 ---- glibc-2.14.1/nptl/pthread_create.c -+++ glibc-2.14.1-2/nptl/pthread_create.c -@@ -31,6 +31,8 @@ +diff -Nur a/nptl/pthread_create.c b/nptl/pthread_create.c +--- a/nptl/pthread_create.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_create.c 2011-12-22 17:59:24.584119309 +0000 +@@ -32,6 +32,8 @@ =20 #include =20 @@ -2136,7 +2186,7 @@ =20 /* Local function to start thread and handle cleanup. */ static int start_thread (void *arg); -@@ -296,6 +298,8 @@ start_thread (void *arg) +@@ -300,6 +302,8 @@ CANCEL_RESET (oldtype); } =20 @@ -2145,7 +2195,7 @@ /* Run the code the user provided. */ #ifdef CALL_THREAD_FCT THREAD_SETMEM (pd, result, CALL_THREAD_FCT (pd)); -@@ -552,6 +556,8 @@ __pthread_create_2_1 (newthread, attr, start_routine, ar= g) +@@ -557,6 +561,8 @@ /* Pass the descriptor to the caller. */ *newthread =3D (pthread_t) pd; =20 @@ -2154,8 +2204,9 @@ /* Start the thread. */ return create_thread (pd, iattr, STACK_VARIABLES_ARGS); } ---- glibc-2.14.1/nptl/pthread_join.c -+++ glibc-2.14.1-2/nptl/pthread_join.c +diff -Nur a/nptl/pthread_join.c b/nptl/pthread_join.c +--- a/nptl/pthread_join.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_join.c 2011-12-22 17:59:24.585119309 +0000 @@ -23,6 +23,8 @@ #include #include "pthreadP.h" @@ -2165,7 +2216,7 @@ =20 static void cleanup (void *arg) -@@ -55,6 +57,8 @@ pthread_join (threadid, thread_return) +@@ -55,6 +57,8 @@ struct pthread *self =3D THREAD_SELF; int result =3D 0; =20 @@ -2174,7 +2225,7 @@ /* During the wait we change to asynchronous cancellation. If we are canceled the thread we are waiting for must be marked as un-wait-ed for again. */ -@@ -110,5 +114,7 @@ pthread_join (threadid, thread_return) +@@ -110,5 +114,7 @@ __free_tcb (pd); } =20 @@ -2182,8 +2233,9 @@ + return result; } ---- glibc-2.14.1/nptl/pthread_mutex_destroy.c -+++ glibc-2.14.1-2/nptl/pthread_mutex_destroy.c +diff -Nur a/nptl/pthread_mutex_destroy.c b/nptl/pthread_mutex_destroy.c +--- a/nptl/pthread_mutex_destroy.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_mutex_destroy.c 2011-12-22 17:59:24.585119309 +0000 @@ -20,11 +20,15 @@ #include #include "pthreadP.h" @@ -2200,8 +2252,9 @@ if ((mutex->__data.__kind & PTHREAD_MUTEX_ROBUST_NORMAL_NP) =3D=3D 0 && mutex->__data.__nusers !=3D 0) return EBUSY; ---- glibc-2.14.1/nptl/pthread_mutex_init.c -+++ glibc-2.14.1-2/nptl/pthread_mutex_init.c +diff -Nur a/nptl/pthread_mutex_init.c b/nptl/pthread_mutex_init.c +--- a/nptl/pthread_mutex_init.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_mutex_init.c 2011-12-22 17:59:24.586119309 +0000 @@ -24,6 +24,8 @@ #include #include "pthreadP.h" @@ -2211,7 +2264,7 @@ static const struct pthread_mutexattr default_attr =3D { /* Default is a normal mutex, not shared between processes. */ -@@ -135,6 +137,8 @@ __pthread_mutex_init (mutex, mutexattr) +@@ -135,6 +137,8 @@ // mutex->__spins =3D 0; already done by memset // mutex->__next =3D NULL; already done by memset =20 @@ -2220,8 +2273,9 @@ return 0; } strong_alias (__pthread_mutex_init, pthread_mutex_init) ---- glibc-2.14.1/nptl/pthread_mutex_lock.c -+++ glibc-2.14.1-2/nptl/pthread_mutex_lock.c +diff -Nur a/nptl/pthread_mutex_lock.c b/nptl/pthread_mutex_lock.c +--- a/nptl/pthread_mutex_lock.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_mutex_lock.c 2011-12-22 17:59:24.586119309 +0000 @@ -24,6 +24,7 @@ #include #include "pthreadP.h" @@ -2230,7 +2284,7 @@ =20 =20 #ifndef LLL_MUTEX_LOCK -@@ -48,6 +49,9 @@ __pthread_mutex_lock (mutex) +@@ -48,6 +49,9 @@ assert (sizeof (mutex->__size) >=3D sizeof (mutex->__data)); =20 unsigned int type =3D PTHREAD_MUTEX_TYPE (mutex); @@ -2240,7 +2294,7 @@ if (__builtin_expect (type & ~PTHREAD_MUTEX_KIND_MASK_NP, 0)) return __pthread_mutex_lock_full (mutex); =20 -@@ -127,6 +131,8 @@ __pthread_mutex_lock (mutex) +@@ -127,6 +131,8 @@ ++mutex->__data.__nusers; #endif =20 @@ -2249,7 +2303,7 @@ return 0; } =20 -@@ -467,6 +473,8 @@ __pthread_mutex_lock_full (pthread_mutex_t *mutex) +@@ -467,6 +473,8 @@ ++mutex->__data.__nusers; #endif =20 @@ -2258,8 +2312,9 @@ return 0; } #ifndef __pthread_mutex_lock ---- glibc-2.14.1/nptl/pthread_mutex_timedlock.c -+++ glibc-2.14.1-2/nptl/pthread_mutex_timedlock.c +diff -Nur a/nptl/pthread_mutex_timedlock.c b/nptl/pthread_mutex_timedlock.c +--- a/nptl/pthread_mutex_timedlock.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_mutex_timedlock.c 2011-12-22 17:59:24.586119309 +0000 @@ -24,6 +24,8 @@ #include #include @@ -2269,7 +2324,7 @@ =20 int pthread_mutex_timedlock (mutex, abstime) -@@ -34,6 +36,8 @@ pthread_mutex_timedlock (mutex, abstime) +@@ -34,6 +36,8 @@ pid_t id =3D THREAD_GETMEM (THREAD_SELF, tid); int result =3D 0; =20 @@ -2278,7 +2333,7 @@ /* We must not check ABSTIME here. If the thread does not block abstime must not be checked for a valid value. */ =20 -@@ -172,6 +176,8 @@ pthread_mutex_timedlock (mutex, abstime) +@@ -172,6 +176,8 @@ =20 ++mutex->__data.__count; =20 @@ -2287,7 +2342,7 @@ return 0; } } -@@ -242,6 +248,8 @@ pthread_mutex_timedlock (mutex, abstime) +@@ -242,6 +248,8 @@ =20 ++mutex->__data.__count; =20 @@ -2296,7 +2351,7 @@ return 0; } } -@@ -377,6 +385,8 @@ pthread_mutex_timedlock (mutex, abstime) +@@ -377,6 +385,8 @@ =20 ++mutex->__data.__count; =20 @@ -2305,7 +2360,7 @@ return 0; } } -@@ -477,6 +487,8 @@ pthread_mutex_timedlock (mutex, abstime) +@@ -477,6 +487,8 @@ /* Record the ownership. */ mutex->__data.__owner =3D id; ++mutex->__data.__nusers; @@ -2314,8 +2369,9 @@ } =20 out: ---- glibc-2.14.1/nptl/pthread_mutex_unlock.c -+++ glibc-2.14.1-2/nptl/pthread_mutex_unlock.c +diff -Nur a/nptl/pthread_mutex_unlock.c b/nptl/pthread_mutex_unlock.c +--- a/nptl/pthread_mutex_unlock.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_mutex_unlock.c 2011-12-22 17:59:24.587119309 +0000 @@ -22,6 +22,7 @@ #include #include "pthreadP.h" @@ -2324,7 +2380,7 @@ =20 static int internal_function -@@ -50,6 +51,9 @@ __pthread_mutex_unlock_usercnt (mutex, decr) +@@ -50,6 +51,9 @@ =20 /* Unlock. */ lll_unlock (mutex->__data.__lock, PTHREAD_MUTEX_PSHARED (mutex)); @@ -2334,7 +2390,7 @@ return 0; } else if (__builtin_expect (type =3D=3D PTHREAD_MUTEX_RECURSIVE_NP, 1)) -@@ -272,6 +276,9 @@ __pthread_mutex_unlock_full (pthread_mutex_t *mutex, int= decr) +@@ -272,6 +276,9 @@ PTHREAD_MUTEX_PSHARED (mutex)); =20 int oldprio =3D newval >> PTHREAD_MUTEX_PRIO_CEILING_SHIFT; @@ -2344,7 +2400,7 @@ return __pthread_tpp_change_priority (oldprio, -1); =20 default: -@@ -279,6 +286,7 @@ __pthread_mutex_unlock_full (pthread_mutex_t *mutex, int= decr) +@@ -279,6 +286,7 @@ return EINVAL; } =20 @@ -2352,8 +2408,9 @@ return 0; } =20 ---- glibc-2.14.1/nptl/pthread_rwlock_destroy.c -+++ glibc-2.14.1-2/nptl/pthread_rwlock_destroy.c +diff -Nur a/nptl/pthread_rwlock_destroy.c b/nptl/pthread_rwlock_destroy.c +--- a/nptl/pthread_rwlock_destroy.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_rwlock_destroy.c 2011-12-22 17:59:24.587119309 +0000 @@ -18,12 +18,15 @@ 02111-1307 USA. */ =20 @@ -2370,8 +2427,9 @@ /* Nothing to be done. For now. */ return 0; } ---- glibc-2.14.1/nptl/pthread_rwlock_rdlock.c -+++ glibc-2.14.1-2/nptl/pthread_rwlock_rdlock.c +diff -Nur a/nptl/pthread_rwlock_rdlock.c b/nptl/pthread_rwlock_rdlock.c +--- a/nptl/pthread_rwlock_rdlock.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_rwlock_rdlock.c 2011-12-22 17:59:24.588119309 +0000 @@ -22,6 +22,7 @@ #include #include @@ -2380,7 +2438,7 @@ =20 =20 /* Acquire read lock for RWLOCK. */ -@@ -31,6 +32,8 @@ __pthread_rwlock_rdlock (rwlock) +@@ -31,6 +32,8 @@ { int result =3D 0; =20 @@ -2389,7 +2447,7 @@ /* Make sure we are alone. */ lll_lock (rwlock->__data.__lock, rwlock->__data.__shared); =20 -@@ -49,6 +52,8 @@ __pthread_rwlock_rdlock (rwlock) +@@ -49,6 +52,8 @@ --rwlock->__data.__nr_readers; result =3D EAGAIN; } @@ -2398,8 +2456,9 @@ =20 break; } ---- glibc-2.14.1/nptl/pthread_rwlock_unlock.c -+++ glibc-2.14.1-2/nptl/pthread_rwlock_unlock.c +diff -Nur a/nptl/pthread_rwlock_unlock.c b/nptl/pthread_rwlock_unlock.c +--- a/nptl/pthread_rwlock_unlock.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_rwlock_unlock.c 2011-12-22 17:59:24.588119309 +0000 @@ -22,11 +22,14 @@ #include #include @@ -2415,8 +2474,9 @@ lll_lock (rwlock->__data.__lock, rwlock->__data.__shared); if (rwlock->__data.__writer) rwlock->__data.__writer =3D 0; ---- glibc-2.14.1/nptl/pthread_rwlock_wrlock.c -+++ glibc-2.14.1-2/nptl/pthread_rwlock_wrlock.c +diff -Nur a/nptl/pthread_rwlock_wrlock.c b/nptl/pthread_rwlock_wrlock.c +--- a/nptl/pthread_rwlock_wrlock.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nptl/pthread_rwlock_wrlock.c 2011-12-22 17:59:24.588119309 +0000 @@ -22,6 +22,7 @@ #include #include @@ -2425,7 +2485,7 @@ =20 =20 /* Acquire write lock for RWLOCK. */ -@@ -31,6 +32,8 @@ __pthread_rwlock_wrlock (rwlock) +@@ -31,6 +32,8 @@ { int result =3D 0; =20 @@ -2434,7 +2494,7 @@ /* Make sure we are alone. */ lll_lock (rwlock->__data.__lock, rwlock->__data.__shared); =20 -@@ -41,6 +44,8 @@ __pthread_rwlock_wrlock (rwlock) +@@ -41,6 +44,8 @@ { /* Mark self as writer. */ rwlock->__data.__writer =3D THREAD_GETMEM (THREAD_SELF, tid); @@ -2443,8 +2503,9 @@ break; } =20 ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h +diff -Nur a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h b/nptl/sysdeps/uni= x/sysv/linux/bits/posix_opt.h +--- a/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h 2011-12-22 16:50:52.0000= 00000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h 2011-12-22 17:59:24.5891= 19309 +0000 @@ -189,4 +189,7 @@ /* Typed memory objects are not available. */ #define _POSIX_TYPED_MEMORY_OBJECTS -1 @@ -2453,8 +2514,9 @@ +#define _XOPEN_STREAMS -1 + #endif /* bits/posix_opt.h */ ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/Versions -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/Versions +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/Versions b/nptl/sysdeps/unix/s= ysv/linux/i386/Versions +--- a/nptl/sysdeps/unix/sysv/linux/i386/Versions 1970-01-01 00:00:00.0000000= 00 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/Versions 2011-12-22 17:59:24.5891193= 09 +0000 @@ -0,0 +1,6 @@ +libc { + GLIBC_PRIVATE { @@ -2462,8 +2524,9 @@ + __uname; + } +} ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S b/nptl/sys= deps/unix/sysv/linux/i386/i486/lowlevellock.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S 2011-12-22 16:50= :52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S 2011-12-22 17:59= :24.589119309 +0000 @@ -22,6 +22,8 @@ #include #include @@ -2473,7 +2536,7 @@ .text =20 #ifdef __ASSUME_PRIVATE_FUTEX -@@ -91,7 +93,8 @@ __lll_lock_wait_private: +@@ -91,7 +93,8 @@ cmpl %edx, %eax /* NB: %edx =3D=3D 2 */ jne 2f =20 @@ -2483,8 +2546,9 @@ ENTER_KERNEL =20 2: movl %edx, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadca= st.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broad= cast.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S = b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S 2011-1= 2-22 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S 2011-1= 2-22 17:59:24.590119310 +0000 @@ -24,6 +24,7 @@ #include #include @@ -2493,7 +2557,7 @@ =20 .text =20 -@@ -49,6 +50,8 @@ __pthread_cond_broadcast: +@@ -49,6 +50,8 @@ =20 movl 20(%esp), %ebx =20 @@ -2502,8 +2566,9 @@ /* Get internal lock. */ movl $1, %edx xorl %eax, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signa= l.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S b/n= ptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S 2011-12-2= 2 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S 2011-12-2= 2 17:59:24.590119310 +0000 @@ -24,7 +24,7 @@ #include #include @@ -2513,7 +2578,7 @@ =20 .text =20 -@@ -45,6 +45,8 @@ __pthread_cond_signal: +@@ -45,6 +45,8 @@ =20 movl 12(%esp), %edi =20 @@ -2522,8 +2587,9 @@ /* Get internal lock. */ movl $1, %edx xorl %eax, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwa= it.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timed= wait.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S = b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S 2011-1= 2-22 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S 2011-1= 2-22 17:59:24.591119311 +0000 @@ -24,7 +24,7 @@ #include #include @@ -2533,7 +2599,7 @@ =20 .text =20 -@@ -61,6 +61,8 @@ __pthread_cond_timedwait: +@@ -61,6 +61,8 @@ movl 20(%esp), %ebx movl 28(%esp), %ebp =20 @@ -2542,8 +2608,9 @@ cmpl $1000000000, 4(%ebp) movl $EINVAL, %eax jae 18f ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S b/npt= l/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S 2011-12-22 = 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S 2011-12-22 = 17:59:24.591119311 +0000 @@ -25,6 +25,7 @@ #include #include @@ -2552,7 +2619,7 @@ =20 =20 .text -@@ -61,6 +62,8 @@ __pthread_cond_wait: +@@ -61,6 +62,8 @@ xorl %esi, %esi movl 20(%esp), %ebx =20 @@ -2561,8 +2628,9 @@ /* Get internal lock. */ movl $1, %edx xorl %eax, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdloc= k.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdl= ock.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S b= /nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S 2011-12= -22 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S 2011-12= -22 17:59:24.592119312 +0000 @@ -23,6 +23,7 @@ #include #include @@ -2571,7 +2639,7 @@ =20 .text =20 -@@ -41,6 +42,8 @@ __pthread_rwlock_rdlock: +@@ -41,6 +42,8 @@ xorl %esi, %esi movl 12(%esp), %ebx =20 @@ -2580,8 +2648,9 @@ /* Get the lock. */ movl $1, %edx xorl %eax, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrloc= k.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrl= ock.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S b= /nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S 2011-12= -22 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S 2011-12= -22 17:59:24.592119312 +0000 @@ -23,6 +23,7 @@ #include #include @@ -2590,7 +2659,7 @@ =20 .text =20 -@@ -41,6 +42,8 @@ __pthread_rwlock_wrlock: +@@ -41,6 +42,8 @@ xorl %esi, %esi movl 12(%esp), %ebx =20 @@ -2599,8 +2668,9 @@ /* Get the lock. */ movl $1, %edx xorl %eax, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h b/nptl/sysdeps/= unix/sysv/linux/i386/lowlevellock.h +--- a/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h 2011-12-22 16:50:52.0= 00000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h 2011-12-22 17:59:24.5= 93119312 +0000 @@ -20,6 +20,8 @@ #ifndef _LOWLEVELLOCK_H #define _LOWLEVELLOCK_H 1 @@ -2610,7 +2680,7 @@ #ifndef __ASSEMBLER__ # include # include -@@ -226,6 +228,7 @@ LLL_STUB_UNWIND_INFO_END +@@ -226,6 +228,7 @@ do { \ int __ignore; \ register __typeof (nr) _nr asm ("edx") =3D (nr); \ @@ -2618,9 +2688,10 @@ __asm __volatile (LLL_EBX_LOAD \ LLL_ENTER_KERNEL \ LLL_EBX_LOAD \ ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/i386/smp.h -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/i386/smp.h -@@ -37,7 +37,7 @@ is_smp_system (void) +diff -Nur a/nptl/sysdeps/unix/sysv/linux/i386/smp.h b/nptl/sysdeps/unix/sysv= /linux/i386/smp.h +--- a/nptl/sysdeps/unix/sysv/linux/i386/smp.h 2011-12-22 16:50:52.000000000 = +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/smp.h 2011-12-22 17:59:24.593119312 = +0000 +@@ -37,7 +37,7 @@ char *cp; =20 /* Try reading the number using `sysctl' first. */ @@ -2629,8 +2700,9 @@ cp =3D u.uts.version; else { ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/kernel-features.h -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/kernel-features.h +diff -Nur a/nptl/sysdeps/unix/sysv/linux/kernel-features.h b/nptl/sysdeps/un= ix/sysv/linux/kernel-features.h +--- a/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1970-01-01 00:00:00.000= 000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/kernel-features.h 2011-12-22 17:59:24.593= 119312 +0000 @@ -0,0 +1,6 @@ +#include_next + @@ -2638,8 +2710,9 @@ +#ifndef __ASSUME_CLONE_THREAD_FLAGS +# define __ASSUME_CLONE_THREAD_FLAGS 1 +#endif ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S b/nptl/sysdep= s/unix/sysv/linux/x86_64/lowlevellock.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S 2011-12-22 16:50:52= .000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S 2011-12-22 17:59:24= .594119312 +0000 @@ -22,6 +22,8 @@ #include #include @@ -2649,7 +2722,7 @@ .text =20 #ifdef __ASSUME_PRIVATE_FUTEX -@@ -91,7 +93,8 @@ __lll_lock_wait_private: +@@ -87,7 +89,8 @@ cmpl %edx, %eax /* NB: %edx =3D=3D 2 */ jne 2f =20 @@ -2659,7 +2732,7 @@ syscall =20 2: movl %edx, %eax -@@ -130,7 +133,8 @@ __lll_lock_wait: +@@ -126,7 +129,8 @@ cmpl %edx, %eax /* NB: %edx =3D=3D 2 */ jne 2f =20 @@ -2669,8 +2742,9 @@ syscall =20 2: movl %edx, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h b/nptl/sysdep= s/unix/sysv/linux/x86_64/lowlevellock.h +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h 2011-12-22 16:50:52= .000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h 2011-12-22 17:59:24= .594119312 +0000 @@ -20,6 +20,8 @@ #ifndef _LOWLEVELLOCK_H #define _LOWLEVELLOCK_H 1 @@ -2680,7 +2754,7 @@ #ifndef __ASSEMBLER__ # include # include -@@ -227,6 +229,7 @@ LLL_STUB_UNWIND_INFO_END +@@ -227,6 +229,7 @@ do { \ int __ignore; \ register __typeof (nr) _nr __asm ("edx") =3D (nr); \ @@ -2688,8 +2762,9 @@ __asm __volatile ("syscall" \ : "=3Da" (__ignore) \ : "0" (SYS_futex), "D" (futex), \ ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcas= t.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S b/n= ptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S 2011-12-2= 2 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S 2011-12-2= 2 17:59:24.595119312 +0000 @@ -25,7 +25,7 @@ #include #include @@ -2708,8 +2783,9 @@ /* Get internal lock. */ movl $1, %esi xorl %eax, %eax ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S b/nptl= /sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S 2011-12-22 1= 6:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S 2011-12-22 1= 7:59:24.595119312 +0000 @@ -24,6 +24,7 @@ #include #include @@ -2727,8 +2803,9 @@ /* Get internal lock. */ movq %rdi, %r8 movl $1, %esi ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwai= t.S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S b/n= ptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S 2011-12-2= 2 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S 2011-12-2= 2 17:59:24.596119312 +0000 @@ -23,6 +23,7 @@ #include #include @@ -2737,7 +2814,7 @@ =20 #include =20 -@@ -71,6 +72,8 @@ __pthread_cond_timedwait: +@@ -68,6 +69,8 @@ cfi_adjust_cfa_offset(FRAME_SIZE) cfi_remember_state =20 @@ -2746,17 +2823,18 @@ cmpq $1000000000, 8(%rdx) movl $EINVAL, %eax jae 48f ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S -@@ -23,6 +23,7 @@ - #include +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/s= ysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S 2011-12-22 16:= 50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S 2011-12-22 17:= 59:24.596119312 +0000 +@@ -24,6 +24,7 @@ #include #include + #include +#include =20 #include =20 -@@ -65,6 +66,8 @@ __pthread_cond_wait: +@@ -66,6 +67,8 @@ +--------------------------+ */ =20 @@ -2765,8 +2843,9 @@ cmpq $-1, dep_mutex(%rdi) =20 /* Prepare structure passed to cancellation handler. */ ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock= .S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S b/np= tl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S 2011-12-22= 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S 2011-12-22= 17:59:24.597119312 +0000 @@ -22,7 +22,7 @@ #include #include @@ -2786,8 +2865,9 @@ xorq %r10, %r10 =20 /* Get the lock. */ ---- glibc-2.14.1/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S -+++ glibc-2.14.1-2/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock= .S +diff -Nur a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S b/np= tl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S 2011-12-22= 16:50:52.000000000 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S 2011-12-22= 17:59:24.597119312 +0000 @@ -22,7 +22,7 @@ #include #include @@ -2807,8 +2887,9 @@ xorq %r10, %r10 =20 /* Get the lock. */ ---- glibc-2.14.1/nscd/nscd.conf -+++ glibc-2.14.1-2/nscd/nscd.conf +diff -Nur a/nscd/nscd.conf b/nscd/nscd.conf +--- a/nscd/nscd.conf 2011-12-22 16:50:52.000000000 +0000 ++++ b/nscd/nscd.conf 2011-12-22 17:59:24.597119312 +0000 @@ -33,7 +33,7 @@ # logfile /var/log/nscd.log # threads 4 @@ -2818,8 +2899,9 @@ # stat-user somebody debug-level 0 # reload-count 5 ---- glibc-2.14.1/nscd/nscd.init -+++ glibc-2.14.1-2/nscd/nscd.init +diff -Nur a/nscd/nscd.init b/nscd/nscd.init +--- a/nscd/nscd.init 2011-12-22 16:50:52.000000000 +0000 ++++ b/nscd/nscd.init 2011-12-22 17:59:24.598119312 +0000 @@ -9,6 +9,7 @@ # slow naming services like NIS, NIS+, LDAP, or hesiod. # processname: /usr/sbin/nscd @@ -2851,7 +2933,7 @@ =20 RETVAL=3D0 prog=3Dnscd -@@ -50,7 +39,7 @@ start () { +@@ -50,7 +39,7 @@ [ -d /var/run/nscd ] || mkdir /var/run/nscd [ -d /var/db/nscd ] || mkdir /var/db/nscd echo -n $"Starting $prog: " @@ -2860,7 +2942,7 @@ RETVAL=3D$? echo [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd -@@ -83,11 +72,11 @@ restart() { +@@ -83,11 +72,11 @@ # See how we were called. case "$1" in start) @@ -2874,7 +2956,7 @@ RETVAL=3D$? ;; status) -@@ -99,14 +88,17 @@ case "$1" in +@@ -99,14 +88,17 @@ RETVAL=3D$? ;; try-restart | condrestart) @@ -2896,9 +2978,32 @@ ;; *) echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" ---- glibc-2.14.1/nss/Makefile -+++ glibc-2.14.1-2/nss/Makefile -@@ -75,6 +75,7 @@ endif +diff -Nur a/nscd/selinux.c b/nscd/selinux.c +--- a/nscd/selinux.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nscd/selinux.c 2011-12-22 17:59:24.598119312 +0000 +@@ -270,6 +270,18 @@ + { + int rc; +=20 ++#if defined HAVE_LIBAUDIT && defined HAVE_LIBCAP ++ if (server_user !=3D NULL && getuid () =3D=3D 0) ++ { ++ /* We need to preserve the capabilities in the AVC thread. */ ++ if (prctl (PR_SET_KEEPCAPS, 1) =3D=3D -1) ++ { ++ dbg_log (_("Failed to set keep-capabilities")); ++ error (EXIT_FAILURE, errno, _("prctl(KEEPCAPS) failed")); ++ } ++ } ++#endif ++ + rc =3D + pthread_create (&avc_notify_thread, NULL, (void *(*) (void *)) run, NUL= L); + if (rc !=3D 0) +diff -Nur a/nss/Makefile b/nss/Makefile +--- a/nss/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/nss/Makefile 2011-12-22 17:59:24.599119312 +0000 +@@ -88,6 +88,7 @@ =20 include ../Rules =20 @@ -2906,16 +3011,10 @@ =20 ifeq (yes,$(build-static-nss)) $(objpfx)getent: $(objpfx)libnss_files.a ---- glibc-2.14.1/nss/nss_files/files-XXX.c -+++ glibc-2.14.1-2/nss/nss_files/files-XXX.c -@@ -1,5 +1,5 @@ - /* Common code for file-based databases in nss_files module. -- Copyright (C) 1996-1999,2001,2002,2004,2007,2008 -+ Copyright (C) 1996-1999,2001,2002,2004,2007,2008,2010 - Free Software Foundation, Inc. - This file is part of the GNU C Library. -=20 -@@ -190,7 +190,7 @@ internal_getent (struct STRUCTURE *result, +diff -Nur a/nss/nss_files/files-XXX.c b/nss/nss_files/files-XXX.c +--- a/nss/nss_files/files-XXX.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/nss/nss_files/files-XXX.c 2011-12-22 17:59:24.599119312 +0000 +@@ -190,7 +190,7 @@ { char *p; struct parser_data *data =3D (void *) buffer; @@ -2924,9 +3023,10 @@ int parse_result; =20 if (buflen < sizeof *data + 2) ---- glibc-2.14.1/posix/Makefile -+++ glibc-2.14.1-2/posix/Makefile -@@ -325,15 +325,8 @@ $(inst_libexecdir)/getconf: $(inst_bindir)/getconf \ +diff -Nur a/posix/Makefile b/posix/Makefile +--- a/posix/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/posix/Makefile 2011-12-22 17:59:24.600119312 +0000 +@@ -320,15 +320,8 @@ mv -f $@/$$spec.new $@/$$spec; \ done < $(objpfx)getconf.speclist =20 @@ -2946,8 +3046,9 @@ + | sed -n -e '/START_OF_STRINGS/,$${/\(POSIX_V[67]\|XBS5\)_/{s/^[^"]*"//;= s/".*$$//;p}}' \ + > $@.new mv -f $@.new $@ ---- glibc-2.14.1/posix/gai.conf -+++ glibc-2.14.1-2/posix/gai.conf +diff -Nur a/posix/gai.conf b/posix/gai.conf +--- a/posix/gai.conf 2011-12-22 16:50:52.000000000 +0000 ++++ b/posix/gai.conf 2011-12-22 17:59:24.600119312 +0000 @@ -41,7 +41,7 @@ # # precedence @@ -2972,8 +3073,9 @@ #scopev4 ::ffff:0.0.0.0/96 14 +# +# This is what the Red Hat setting currently uses. ---- glibc-2.14.1/posix/getconf.speclist.h -+++ glibc-2.14.1-2/posix/getconf.speclist.h +diff -Nur a/posix/getconf.speclist.h b/posix/getconf.speclist.h +--- a/posix/getconf.speclist.h 1970-01-01 00:00:00.000000000 +0000 ++++ b/posix/getconf.speclist.h 2011-12-22 17:59:24.600119312 +0000 @@ -0,0 +1,39 @@ +#include +const char *START_OF_STRINGS =3D @@ -3014,9 +3116,10 @@ +"XBS5_LPBIG_OFFBIG" +#endif +""; ---- glibc-2.14.1/posix/regcomp.c -+++ glibc-2.14.1-2/posix/regcomp.c -@@ -2745,40 +2745,29 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *df= a, re_token_t *token, +diff -Nur a/posix/regcomp.c b/posix/regcomp.c +--- a/posix/regcomp.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/posix/regcomp.c 2011-12-22 17:59:24.601119313 +0000 +@@ -2745,40 +2745,29 @@ =20 /* Local function for parse_bracket_exp used in _LIBC environement. Seek the collating symbol entry correspondings to NAME. @@ -3036,7 +3139,8 @@ - if (symb_table[2 * elem] !=3D 0) - { - int32_t second =3D hash % (table_size - 2) + 1; -- ++ int32_t elem; +=20 - do - { - /* First compare the hashing value. */ @@ -3050,8 +3154,7 @@ - /* Yep, this is the entry. */ - break; - } -+ int32_t elem; -=20 +- - /* Next entry. */ - elem +=3D second; - } @@ -3075,7 +3178,7 @@ } =20 /* Local function for parse_bracket_exp used in _LIBC environment. -@@ -2787,8 +2776,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa,= re_token_t *token, +@@ -2787,8 +2776,7 @@ =20 auto inline unsigned int __attribute ((always_inline)) @@ -3085,7 +3188,7 @@ { if (br_elem->type =3D=3D SB_CHAR) { -@@ -2816,7 +2804,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa,= re_token_t *token, +@@ -2816,7 +2804,7 @@ int32_t elem, idx; elem =3D seek_collating_symbol_entry (br_elem->opr.name, sym_name_len); @@ -3094,7 +3197,7 @@ { /* We found the entry. */ idx =3D symb_table[2 * elem + 1]; -@@ -2834,7 +2822,7 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa,= re_token_t *token, +@@ -2834,7 +2822,7 @@ /* Return the collation sequence value. */ return *(unsigned int *) (extra + idx); } @@ -3103,7 +3206,7 @@ { /* No valid character. Match it as a single byte character. */ -@@ -2856,11 +2844,8 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa= , re_token_t *token, +@@ -2856,11 +2844,8 @@ =20 auto inline reg_errcode_t __attribute ((always_inline)) @@ -3117,7 +3220,7 @@ { unsigned int ch; uint32_t start_collseq; -@@ -2939,25 +2924,22 @@ parse_bracket_exp (re_string_t *regexp, re_dfa_t *df= a, re_token_t *token, +@@ -2939,25 +2924,22 @@ =20 auto inline reg_errcode_t __attribute ((always_inline)) @@ -3147,19 +3250,21 @@ { /* No valid character, treat it as a normal character. */ ---- glibc-2.14.1/resolv/Makefile -+++ glibc-2.14.1-2/resolv/Makefile -@@ -77,6 +77,7 @@ CPPFLAGS +=3D -Dgethostbyname=3Dres_gethostbyname \ - -Dgetnetbyaddr=3Dres_getnetbyaddr -=20 +diff -Nur a/resolv/Makefile b/resolv/Makefile +--- a/resolv/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/resolv/Makefile 2011-12-22 17:59:24.602119314 +0000 +@@ -81,6 +81,7 @@ + CFLAGS-libresolv +=3D -fstack-protector + endif CFLAGS-res_hconf.c =3D -fexceptions +CFLAGS-res_send.c +=3D -fno-strict-aliasing =20 # The BIND code elicits some harmless warnings. +cflags +=3D -Wno-strict-prototypes -Wno-write-strings ---- glibc-2.14.1/resource/getrlimit.c -+++ glibc-2.14.1-2/resource/getrlimit.c -@@ -28,6 +28,7 @@ __getrlimit (enum __rlimit_resource resource, struct rlimi= t *rlimits) +diff -Nur a/resource/getrlimit.c b/resource/getrlimit.c +--- a/resource/getrlimit.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/resource/getrlimit.c 2011-12-22 17:59:24.603119315 +0000 +@@ -28,6 +28,7 @@ __set_errno (ENOSYS); return -1; } @@ -3167,20 +3272,22 @@ weak_alias (__getrlimit, getrlimit) =20 stub_warning (getrlimit) ---- glibc-2.14.1/scripts/check-local-headers.sh -+++ glibc-2.14.1-2/scripts/check-local-headers.sh -@@ -31,6 +31,8 @@ fgrep -v "$includedir/asm" | - fgrep -v "$includedir/linux" | - fgrep -v "$includedir/selinux" | - fgrep -v "$includedir/sys/capability.h" | -+fgrep -v "$includedir/sys/sdt.h" | -+fgrep -v "$includedir/sys/sdt-config.h" | - fgrep -v "$includedir/gd" | - fgrep -v "$includedir/nss3"; then - # If we found a match something is wrong. ---- glibc-2.14.1/stdio-common/vfprintf.c -+++ glibc-2.14.1-2/stdio-common/vfprintf.c -@@ -1161,41 +1161,9 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) +diff -Nur a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh +--- a/scripts/check-local-headers.sh 2011-12-22 16:50:52.000000000 +0000 ++++ b/scripts/check-local-headers.sh 2011-12-22 17:59:24.603119315 +0000 +@@ -29,7 +29,7 @@ + BEGIN { + status =3D 0 + exclude =3D "^" includedir \ +- "/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h)" ++ "/(asm[-/]|linux/|selinux/|gd|nss3/|sys/capability\\.h|libaudit\\.h|sys= /sdt(-config)?\\.h))" + } + /^[^ ]/ && $1 ~ /.*:/ { obj =3D $1 } + { +diff -Nur a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c +--- a/stdio-common/vfprintf.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/stdio-common/vfprintf.c 2011-12-22 17:59:24.604119316 +0000 +@@ -1161,41 +1161,9 @@ else if (!is_long && spec !=3D L_('S')) \ { \ if (prec !=3D -1) \ @@ -3225,8 +3332,9 @@ else \ len =3D strlen (string); \ } \ ---- glibc-2.14.1/streams/Makefile -+++ glibc-2.14.1-2/streams/Makefile +diff -Nur a/streams/Makefile b/streams/Makefile +--- a/streams/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/streams/Makefile 2011-12-22 17:59:24.605119317 +0000 @@ -21,7 +21,7 @@ # subdir :=3D streams @@ -3236,9 +3344,10 @@ routines =3D isastream getmsg getpmsg putmsg putpmsg fattach fdetach =20 include ../Rules ---- glibc-2.14.1/sunrpc/Makefile -+++ glibc-2.14.1-2/sunrpc/Makefile -@@ -53,7 +53,7 @@ headers-in-tirpc =3D $(addprefix rpc/,auth.h auth_unix.h c= lnt.h pmap_clnt.h \ +diff -Nur a/sunrpc/Makefile b/sunrpc/Makefile +--- a/sunrpc/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/sunrpc/Makefile 2011-12-22 17:59:24.605119317 +0000 +@@ -53,7 +53,7 @@ des_crypt.h) headers-not-in-tirpc =3D $(addprefix rpc/,key_prot.h rpc_des.h) \ $(rpcsvc:%=3Drpcsvc/%) rpcsvc/bootparam.h @@ -3247,7 +3356,7 @@ install-others =3D $(inst_sysconfdir)/rpc generated =3D $(rpcsvc:%.x=3Drpcsvc/%.h) $(rpcsvc:%.x=3Dx%.c) $(rpcsvc:%.x= =3Dx%.stmp) \ $(rpcsvc:%.x=3Drpcsvc/%.stmp) rpcgen -@@ -152,6 +152,10 @@ CFLAGS-openchild.c =3D -fexceptions +@@ -152,6 +152,10 @@ =20 CPPFLAGS +=3D -D_RPC_THREAD_SAFE_ =20 @@ -3258,8 +3367,9 @@ $(objpfx)tst-getmyaddr: $(common-objpfx)linkobj/libc.so $(objpfx)tst-xdrmem: $(common-objpfx)linkobj/libc.so $(objpfx)tst-xdrmem2: $(common-objpfx)linkobj/libc.so ---- glibc-2.14.1/sysdeps/generic/dl-cache.h -+++ glibc-2.14.1-2/sysdeps/generic/dl-cache.h +diff -Nur a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h +--- a/sysdeps/generic/dl-cache.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/generic/dl-cache.h 2011-12-22 17:59:24.605119317 +0000 @@ -36,6 +36,14 @@ # define add_system_dir(dir) add_dir (dir) #endif @@ -3275,8 +3385,9 @@ #define CACHEMAGIC "ld.so-1.7.0" =20 /* libc5 and glibc 2.0/2.1 use the same format. For glibc 2.2 another ---- glibc-2.14.1/sysdeps/i386/Makefile -+++ glibc-2.14.1-2/sysdeps/i386/Makefile +diff -Nur a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile +--- a/sysdeps/i386/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/i386/Makefile 2011-12-22 17:59:24.606119317 +0000 @@ -2,6 +2,8 @@ # Every i386 port in use uses gas syntax (I think). asm-CPPFLAGS +=3D -DGAS_SYNTAX @@ -3286,7 +3397,7 @@ # The i386 `long double' is a distinct type we support. long-double-fcts =3D yes =20 -@@ -65,6 +67,14 @@ endif +@@ -68,6 +70,14 @@ =20 ifneq (,$(filter -mno-tls-direct-seg-refs,$(CFLAGS))) defines +=3D -DNO_TLS_DIRECT_SEG_REFS @@ -3301,8 +3412,9 @@ endif =20 ifeq ($(subdir),elf) ---- glibc-2.14.1/sysdeps/i386/__longjmp.S -+++ glibc-2.14.1-2/sysdeps/i386/__longjmp.S +diff -Nur a/sysdeps/i386/__longjmp.S b/sysdeps/i386/__longjmp.S +--- a/sysdeps/i386/__longjmp.S 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/i386/__longjmp.S 2011-12-22 17:59:24.606119317 +0000 @@ -1,5 +1,5 @@ /* longjmp for i386. - Copyright (C) 1995-1998,2000,2002,2005,2006,2009 @@ -3318,7 +3430,7 @@ =20 .text ENTRY (__longjmp) -@@ -33,6 +34,7 @@ ENTRY (__longjmp) +@@ -33,6 +34,7 @@ movl (JB_SP*4)(%eax), %ecx PTR_DEMANGLE (%edx) PTR_DEMANGLE (%ecx) @@ -3326,7 +3438,7 @@ cfi_def_cfa(%eax, 0) cfi_register(%eip, %edx) cfi_register(%esp, %ecx) -@@ -50,6 +52,7 @@ ENTRY (__longjmp) +@@ -50,6 +52,7 @@ cfi_restore(%edi) cfi_restore(%ebp) =20 @@ -3334,7 +3446,7 @@ movl 8(%esp), %eax /* Second argument is return value. */ movl %ecx, %esp #else -@@ -57,12 +60,14 @@ ENTRY (__longjmp) +@@ -57,12 +60,14 @@ movl 8(%esp), %eax /* Second argument is return value. */ /* Save the return address now. */ movl (JB_PC*4)(%ecx), %edx @@ -3349,8 +3461,9 @@ #endif /* Jump to saved PC. */ jmp *%edx ---- glibc-2.14.1/sysdeps/i386/bsd-_setjmp.S -+++ glibc-2.14.1-2/sysdeps/i386/bsd-_setjmp.S +diff -Nur a/sysdeps/i386/bsd-_setjmp.S b/sysdeps/i386/bsd-_setjmp.S +--- a/sysdeps/i386/bsd-_setjmp.S 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/i386/bsd-_setjmp.S 2011-12-22 17:59:24.606119317 +0000 @@ -1,5 +1,6 @@ /* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'. i386 version. - Copyright (C) 1994-1997,2000-2002,2005, 2006 Free Software Foundation, I= nc. @@ -3367,7 +3480,7 @@ =20 #define PARMS LINKAGE /* no space for saved regs */ #define JMPBUF PARMS -@@ -47,6 +49,7 @@ ENTRY (BP_SYM (_setjmp)) +@@ -47,6 +49,7 @@ #endif movl %ecx, (JB_SP*4)(%edx) movl PCOFF(%esp), %ecx /* Save PC we are returning to now. */ @@ -3375,8 +3488,9 @@ #ifdef PTR_MANGLE PTR_MANGLE (%ecx) #endif ---- glibc-2.14.1/sysdeps/i386/bsd-setjmp.S -+++ glibc-2.14.1-2/sysdeps/i386/bsd-setjmp.S +diff -Nur a/sysdeps/i386/bsd-setjmp.S b/sysdeps/i386/bsd-setjmp.S +--- a/sysdeps/i386/bsd-setjmp.S 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/i386/bsd-setjmp.S 2011-12-22 17:59:24.607119317 +0000 @@ -1,5 +1,6 @@ /* BSD `setjmp' entry point to `sigsetjmp (..., 1)'. i386 version. - Copyright (C) 1994-1997,2000,2001,2005, 2006 Free Software Foundation, I= nc. @@ -3393,7 +3507,7 @@ =20 #define PARMS LINKAGE /* no space for saved regs */ #define JMPBUF PARMS -@@ -49,6 +51,7 @@ ENTRY (BP_SYM (setjmp)) +@@ -49,6 +51,7 @@ #endif movl %ecx, (JB_SP*4)(%eax) movl PCOFF(%esp), %ecx /* Save PC we are returning to now. */ @@ -3401,9 +3515,10 @@ #ifdef PTR_MANGLE PTR_MANGLE (%ecx) #endif ---- glibc-2.14.1/sysdeps/i386/i686/Makefile -+++ glibc-2.14.1-2/sysdeps/i386/i686/Makefile -@@ -9,19 +9,3 @@ stack-align-test-flags +=3D -msse +diff -Nur a/sysdeps/i386/i686/Makefile b/sysdeps/i386/i686/Makefile +--- a/sysdeps/i386/i686/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/i386/i686/Makefile 2011-12-22 17:59:24.607119317 +0000 +@@ -9,19 +9,3 @@ ifeq ($(subdir),string) sysdep_routines +=3D cacheinfo endif @@ -3423,8 +3538,9 @@ -ASFLAGS-.ob +=3D -Wa,-mtune=3Di686 -ASFLAGS-.oS +=3D -Wa,-mtune=3Di686 -endif ---- glibc-2.14.1/sysdeps/i386/setjmp.S -+++ glibc-2.14.1-2/sysdeps/i386/setjmp.S +diff -Nur a/sysdeps/i386/setjmp.S b/sysdeps/i386/setjmp.S +--- a/sysdeps/i386/setjmp.S 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/i386/setjmp.S 2011-12-22 17:59:24.608119317 +0000 @@ -1,5 +1,5 @@ /* setjmp for i386. - Copyright (C) 1995,1996,1997,2000,2001,2005,2006 @@ -3440,7 +3556,7 @@ =20 #define PARMS LINKAGE /* no space for saved regs */ #define JMPBUF PARMS -@@ -44,6 +45,7 @@ ENTRY (BP_SYM (__sigsetjmp)) +@@ -44,6 +45,7 @@ #endif movl %ecx, (JB_SP*4)(%eax) movl PCOFF(%esp), %ecx /* Save PC we are returning to now. */ @@ -3448,9 +3564,10 @@ #ifdef PTR_MANGLE PTR_MANGLE (%ecx) #endif ---- glibc-2.14.1/sysdeps/ia64/Makefile -+++ glibc-2.14.1-2/sysdeps/ia64/Makefile -@@ -12,8 +12,8 @@ elide-routines.os +=3D hp-timing +diff -Nur a/sysdeps/ia64/Makefile b/sysdeps/ia64/Makefile +--- a/sysdeps/ia64/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/ia64/Makefile 2011-12-22 17:59:24.608119317 +0000 +@@ -12,8 +12,8 @@ =20 ifeq (yes,$(build-shared)) # Compatibility @@ -3461,8 +3578,9 @@ endif endif =20 ---- glibc-2.14.1/sysdeps/ia64/ia64libgcc.S -+++ glibc-2.14.1-2/sysdeps/ia64/ia64libgcc.S +diff -Nur a/sysdeps/ia64/ia64libgcc.S b/sysdeps/ia64/ia64libgcc.S +--- a/sysdeps/ia64/ia64libgcc.S 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/ia64/ia64libgcc.S 1970-01-01 00:00:00.000000000 +0000 @@ -1,350 +0,0 @@ -/* From the Intel IA-64 Optimization Guide, choose the minimum latency - alternative. */ @@ -3814,8 +3932,9 @@ - .symver ___multi3, __multi3(a)GLIBC_2.2 - -#endif ---- glibc-2.14.1/sysdeps/ia64/libgcc-compat.c -+++ glibc-2.14.1-2/sysdeps/ia64/libgcc-compat.c +diff -Nur a/sysdeps/ia64/libgcc-compat.c b/sysdeps/ia64/libgcc-compat.c +--- a/sysdeps/ia64/libgcc-compat.c 1970-01-01 00:00:00.000000000 +0000 ++++ b/sysdeps/ia64/libgcc-compat.c 2011-12-22 17:59:24.613119317 +0000 @@ -0,0 +1,84 @@ +/* pre-.hidden libgcc compatibility + Copyright (C) 2002 Free Software Foundation, Inc. @@ -3901,17 +4020,19 @@ +symbol_version (INTUSE (__multi3), __multi3, GLIBC_2.2); + +#endif ---- glibc-2.14.1/sysdeps/mach/hurd/getrlimit.c -+++ glibc-2.14.1-2/sysdeps/mach/hurd/getrlimit.c -@@ -44,4 +44,5 @@ __getrlimit (enum __rlimit_resource resource, struct rlimi= t *rlimits) +diff -Nur a/sysdeps/mach/hurd/getrlimit.c b/sysdeps/mach/hurd/getrlimit.c +--- a/sysdeps/mach/hurd/getrlimit.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/mach/hurd/getrlimit.c 2011-12-22 17:59:24.613119317 +0000 +@@ -44,4 +44,5 @@ =20 return 0; } +libc_hidden_def (__getrlimit) weak_alias (__getrlimit, getrlimit) ---- glibc-2.14.1/sysdeps/posix/getaddrinfo.c -+++ glibc-2.14.1-2/sysdeps/posix/getaddrinfo.c -@@ -565,8 +565,8 @@ gaih_inet (const char *name, const struct gaih_service *= service, +diff -Nur a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c +--- a/sysdeps/posix/getaddrinfo.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/posix/getaddrinfo.c 2011-12-22 17:59:24.615119317 +0000 +@@ -565,8 +565,8 @@ =20 /* If we do not have to look for IPv6 addresses, use the simple, old functions, which do not support @@ -3920,9 +4041,9 @@ + IPv6 scope ids, nor retrieving the canonical name. */ + if (req->ai_family =3D=3D AF_INET && (req->ai_flags & AI_CANONNAME) =3D= =3D 0) { - int family =3D req->ai_family; size_t tmpbuflen =3D 512; -@@ -1115,68 +1115,10 @@ gaih_inet (const char *name, const struct gaih_servi= ce *service, + assert (tmpbuf =3D=3D NULL); +@@ -1105,68 +1105,10 @@ /* Only the first entry gets the canonical name. */ if (at2 =3D=3D at && (req->ai_flags & AI_CANONNAME) !=3D 0) { @@ -3994,7 +4115,7 @@ =20 #ifdef HAVE_LIBIDN if (req->ai_flags & AI_CANONIDN) -@@ -1191,9 +1133,6 @@ gaih_inet (const char *name, const struct gaih_service= *service, +@@ -1181,9 +1123,6 @@ int rc =3D __idna_to_unicode_lzlz (canon, &out, idn_flags); if (rc !=3D IDNA_SUCCESS) { @@ -4004,7 +4125,7 @@ if (rc =3D=3D IDNA_MALLOC_ERROR) result =3D -EAI_MEMORY; else if (rc =3D=3D IDNA_DLOPEN_ERROR) -@@ -1223,17 +1162,11 @@ gaih_inet (const char *name, const struct gaih_servi= ce *service, +@@ -1213,17 +1152,11 @@ canon =3D strdup (canon); if (canon =3D=3D NULL) { @@ -4022,7 +4143,7 @@ } =20 family =3D at2->family; -@@ -1370,10 +1303,12 @@ static const struct scopeentry +@@ -1360,10 +1293,12 @@ /* Link-local addresses: scope 2. */ { { { 169, 254, 0, 0 } }, htonl_c (0xffff0000), 2 }, { { { 127, 0, 0, 0 } }, htonl_c (0xff000000), 2 }, @@ -4035,9 +4156,10 @@ /* Default: scope 14. */ { { { 0, 0, 0, 0 } }, htonl_c (0x00000000), 14 } }; ---- glibc-2.14.1/sysdeps/powerpc/powerpc64/Makefile -+++ glibc-2.14.1-2/sysdeps/powerpc/powerpc64/Makefile -@@ -33,6 +33,7 @@ ifneq ($(elf),no) +diff -Nur a/sysdeps/powerpc/powerpc64/Makefile b/sysdeps/powerpc/powerpc64/M= akefile +--- a/sysdeps/powerpc/powerpc64/Makefile 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/powerpc/powerpc64/Makefile 2011-12-22 17:59:24.615119317 +0000 +@@ -33,6 +33,7 @@ # we use -fpic instead which is much better. CFLAGS-initfini.s +=3D -fpic -O1 endif @@ -4045,17 +4167,19 @@ endif =20 ifeq ($(subdir),elf) ---- glibc-2.14.1/sysdeps/powerpc/powerpc64/elf/Makefile -+++ glibc-2.14.1-2/sysdeps/powerpc/powerpc64/elf/Makefile -@@ -9,3 +9,5 @@ CFLAGS-rtld-mempcpy.os =3D $(no-special-regs) +diff -Nur a/sysdeps/powerpc/powerpc64/elf/Makefile b/sysdeps/powerpc/powerpc= 64/elf/Makefile +--- a/sysdeps/powerpc/powerpc64/elf/Makefile 2011-12-22 16:50:52.000000000 += 0000 ++++ b/sysdeps/powerpc/powerpc64/elf/Makefile 2011-12-22 17:59:24.616119318 += 0000 +@@ -9,3 +9,5 @@ CFLAGS-rtld-memmove.os =3D $(no-special-regs) CFLAGS-rtld-memchr.os =3D $(no-special-regs) CFLAGS-rtld-strnlen.os =3D $(no-special-regs) + +CFLAGS-gmon-start.c =3D -fno-strict-aliasing ---- glibc-2.14.1/sysdeps/s390/s390-64/utf16-utf32-z9.c -+++ glibc-2.14.1-2/sysdeps/s390/s390-64/utf16-utf32-z9.c -@@ -169,10 +169,7 @@ gconv_end (struct __gconv_step *data) +diff -Nur a/sysdeps/s390/s390-64/utf16-utf32-z9.c b/sysdeps/s390/s390-64/utf= 16-utf32-z9.c +--- a/sysdeps/s390/s390-64/utf16-utf32-z9.c 2011-12-22 16:50:52.000000000 +0= 000 ++++ b/sysdeps/s390/s390-64/utf16-utf32-z9.c 2011-12-22 17:59:24.616119318 +0= 000 +@@ -169,10 +169,7 @@ register unsigned long long outlen asm("11") =3D outend - outptr; \ uint64_t cc =3D 0; \ \ @@ -4067,9 +4191,10 @@ " jo 0b \n\t" \ " ipm %2 \n" \ : "+a" (pOutput), "+a" (pInput), "+d" (cc), \ ---- glibc-2.14.1/sysdeps/s390/s390-64/utf8-utf16-z9.c -+++ glibc-2.14.1-2/sysdeps/s390/s390-64/utf8-utf16-z9.c -@@ -151,10 +151,7 @@ gconv_end (struct __gconv_step *data) +diff -Nur a/sysdeps/s390/s390-64/utf8-utf16-z9.c b/sysdeps/s390/s390-64/utf8= -utf16-z9.c +--- a/sysdeps/s390/s390-64/utf8-utf16-z9.c 2011-12-22 16:50:52.000000000 +00= 00 ++++ b/sysdeps/s390/s390-64/utf8-utf16-z9.c 2011-12-22 17:59:24.616119318 +00= 00 +@@ -151,10 +151,7 @@ register unsigned long long outlen asm("11") =3D outend - outptr; \ uint64_t cc =3D 0; \ \ @@ -4081,9 +4206,10 @@ " jo 0b \n\t" \ " ipm %2 \n" \ : "+a" (pOutput), "+a" (pInput), "+d" (cc), \ ---- glibc-2.14.1/sysdeps/s390/s390-64/utf8-utf32-z9.c -+++ glibc-2.14.1-2/sysdeps/s390/s390-64/utf8-utf32-z9.c -@@ -155,10 +155,7 @@ gconv_end (struct __gconv_step *data) +diff -Nur a/sysdeps/s390/s390-64/utf8-utf32-z9.c b/sysdeps/s390/s390-64/utf8= -utf32-z9.c +--- a/sysdeps/s390/s390-64/utf8-utf32-z9.c 2011-12-22 16:50:52.000000000 +00= 00 ++++ b/sysdeps/s390/s390-64/utf8-utf32-z9.c 2011-12-22 17:59:24.617119319 +00= 00 +@@ -155,10 +155,7 @@ register unsigned long long outlen asm("11") =3D outend - outptr; \ uint64_t cc =3D 0; \ \ @@ -4095,9 +4221,10 @@ " jo 0b \n\t" \ " ipm %2 \n" \ : "+a" (pOutput), "+a" (pInput), "+d" (cc), \ ---- glibc-2.14.1/sysdeps/unix/nice.c -+++ glibc-2.14.1-2/sysdeps/unix/nice.c -@@ -42,7 +42,12 @@ nice (int incr) +diff -Nur a/sysdeps/unix/nice.c b/sysdeps/unix/nice.c +--- a/sysdeps/unix/nice.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/unix/nice.c 2011-12-22 17:59:24.617119319 +0000 +@@ -42,7 +42,12 @@ __set_errno (save); } =20 @@ -4111,9 +4238,10 @@ if (result =3D=3D -1) { if (errno =3D=3D EACCES) ---- glibc-2.14.1/sysdeps/unix/sysv/linux/check_pf.c -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/check_pf.c -@@ -27,13 +27,10 @@ +diff -Nur a/sysdeps/unix/sysv/linux/check_pf.c b/sysdeps/unix/sysv/linux/che= ck_pf.c +--- a/sysdeps/unix/sysv/linux/check_pf.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/unix/sysv/linux/check_pf.c 2011-12-22 17:59:24.618119320 +0000 +@@ -27,16 +27,14 @@ #include #include =20 @@ -4123,14 +4251,19 @@ - #include #include + #include + #include + #include =20 +#include "netlinkaccess.h" ++ =20 #ifndef IFA_F_HOMEADDRESS # define IFA_F_HOMEADDRESS 0 ---- glibc-2.14.1/sysdeps/unix/sysv/linux/futimesat.c -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/futimesat.c -@@ -37,14 +37,14 @@ futimesat (fd, file, tvp) +diff -Nur a/sysdeps/unix/sysv/linux/futimesat.c b/sysdeps/unix/sysv/linux/fu= timesat.c +--- a/sysdeps/unix/sysv/linux/futimesat.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/unix/sysv/linux/futimesat.c 2011-12-22 17:59:24.618119320 +0000 +@@ -37,14 +37,14 @@ { int result; =20 @@ -4148,7 +4281,7 @@ result =3D INLINE_SYSCALL (futimesat, 3, fd, file, tvp); # ifndef __ASSUME_ATFCTS if (result =3D=3D -1 && errno =3D=3D ENOSYS) -@@ -58,22 +58,7 @@ futimesat (fd, file, tvp) +@@ -58,22 +58,7 @@ #ifndef __ASSUME_ATFCTS char *buf =3D NULL; =20 @@ -4172,19 +4305,9 @@ { size_t filelen =3D strlen (file); if (__builtin_expect (filelen =3D=3D 0, 0)) ---- glibc-2.14.1/sysdeps/unix/sysv/linux/getpagesize.c -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/getpagesize.c -@@ -28,7 +28,7 @@ - int - __getpagesize () - { --#ifdef __ASSUME_AT_PAGESIZE -+#if 0 && defined __ASSUME_AT_PAGESIZE - assert (GLRO(dl_pagesize) !=3D 0); - return GLRO(dl_pagesize); - #else ---- glibc-2.14.1/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S +diff -Nur a/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S b/sysdeps/unix/sy= sv/linux/i386/____longjmp_chk.S +--- a/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S 2011-12-22 16:50:52.000= 000000 +0000 ++++ b/sysdeps/unix/sysv/linux/i386/____longjmp_chk.S 2011-12-22 17:59:24.619= 119321 +0000 @@ -1,4 +1,5 @@ -/* Copyright (C) 2001,2004,2005,2006,2009 Free Software Foundation, Inc. +/* Copyright (C) 2001,2004,2005,2006,2009,2011 @@ -4200,7 +4323,7 @@ =20 =20 .section .rodata.str1.1,"aMS",@progbits,1 -@@ -79,7 +81,9 @@ ENTRY (____longjmp_chk) +@@ -79,7 +81,9 @@ cfi_adjust_cfa_offset(-12) movl 4(%esp), %ecx =20 @@ -4211,15 +4334,16 @@ cfi_def_cfa(%ecx, 0) cfi_register(%eip, %edx) cfi_register(%esp, %edi) -@@ -102,5 +106,6 @@ ENTRY (____longjmp_chk) +@@ -102,5 +106,6 @@ cfi_restore(%ebp) =20 /* Jump to saved PC. */ + LIBC_PROBE (longjmp_target, 3, 4@%ecx, -4@%eax, 4@%edx) jmp *%edx END (____longjmp_chk) ---- glibc-2.14.1/sysdeps/unix/sysv/linux/i386/dl-cache.h -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/i386/dl-cache.h +diff -Nur a/sysdeps/unix/sysv/linux/i386/dl-cache.h b/sysdeps/unix/sysv/linu= x/i386/dl-cache.h +--- a/sysdeps/unix/sysv/linux/i386/dl-cache.h 1970-01-01 00:00:00.000000000 = +0000 ++++ b/sysdeps/unix/sysv/linux/i386/dl-cache.h 2011-12-22 17:59:24.620119321 = +0000 @@ -0,0 +1,59 @@ +/* Support for reading /etc/ld.so.cache files written by Linux ldconfig. + Copyright (C) 2004 Free Software Foundation, Inc. @@ -4280,16 +4404,18 @@ + } while (0) + +#include_next ---- glibc-2.14.1/sysdeps/unix/sysv/linux/i386/getrlimit.c -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/i386/getrlimit.c -@@ -79,4 +79,5 @@ __new_getrlimit (enum __rlimit_resource resource, struct r= limit *rlimits) +diff -Nur a/sysdeps/unix/sysv/linux/i386/getrlimit.c b/sysdeps/unix/sysv/lin= ux/i386/getrlimit.c +--- a/sysdeps/unix/sysv/linux/i386/getrlimit.c 2011-12-22 16:50:52.000000000= +0000 ++++ b/sysdeps/unix/sysv/linux/i386/getrlimit.c 2011-12-22 17:59:24.620119321= +0000 +@@ -79,4 +79,5 @@ } =20 weak_alias (__new_getrlimit, __getrlimit); +libc_hidden_weak (__getrlimit) versioned_symbol (libc, __new_getrlimit, getrlimit, GLIBC_2_2); ---- glibc-2.14.1/sysdeps/unix/sysv/linux/ia64/dl-cache.h -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/ia64/dl-cache.h +diff -Nur a/sysdeps/unix/sysv/linux/ia64/dl-cache.h b/sysdeps/unix/sysv/linu= x/ia64/dl-cache.h +--- a/sysdeps/unix/sysv/linux/ia64/dl-cache.h 2011-12-22 16:50:52.000000000 = +0000 ++++ b/sysdeps/unix/sysv/linux/ia64/dl-cache.h 2011-12-22 17:59:24.621119321 = +0000 @@ -22,4 +22,31 @@ #define _dl_cache_check_flags(flags) \ ((flags) =3D=3D _DL_CACHE_DEFAULT_ID) @@ -4322,29 +4448,33 @@ + } while (0) + #include_next ---- glibc-2.14.1/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c +diff -Nur a/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c b/sysdeps/unix/sysv/l= inux/ia64/dl-procinfo.c +--- a/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1970-01-01 00:00:00.0000000= 00 +0000 ++++ b/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 2011-12-22 17:59:24.6211193= 21 +0000 @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-2.14.1/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h +diff -Nur a/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h b/sysdeps/unix/sysv/l= inux/ia64/dl-procinfo.h +--- a/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1970-01-01 00:00:00.0000000= 00 +0000 ++++ b/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 2011-12-22 17:59:24.6211193= 21 +0000 @@ -0,0 +1,5 @@ +#ifdef IS_IN_ldconfig +#include +#else +#include +#endif ---- glibc-2.14.1/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed +diff -Nur a/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed b/sysdeps/unix/sysv= /linux/ia64/ldd-rewrite.sed +--- a/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 2011-12-22 16:50:52.00000= 0000 +0000 ++++ b/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed 2011-12-22 17:59:24.62111= 9321 +0000 @@ -1 +1 @@ -s_^\(RTLDLIST=3D\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 \2\3"_ +s_^\(RTLDLIST=3D\)\([^ ]*\)-ia64\(\.so\.[0-9.]*\)[ ]*$_\1"\2-ia64\3 /emul= /ia32-linux\2\3"_ ---- glibc-2.14.1/sysdeps/unix/sysv/linux/netlinkaccess.h -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/netlinkaccess.h +diff -Nur a/sysdeps/unix/sysv/linux/netlinkaccess.h b/sysdeps/unix/sysv/linu= x/netlinkaccess.h +--- a/sysdeps/unix/sysv/linux/netlinkaccess.h 2011-12-22 16:50:52.000000000 = +0000 ++++ b/sysdeps/unix/sysv/linux/netlinkaccess.h 2011-12-22 17:59:24.621119321 = +0000 @@ -25,6 +25,24 @@ =20 #include @@ -4370,8 +4500,9 @@ =20 struct netlink_res { ---- glibc-2.14.1/sysdeps/unix/sysv/linux/paths.h -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/paths.h +diff -Nur a/sysdeps/unix/sysv/linux/paths.h b/sysdeps/unix/sysv/linux/paths.h +--- a/sysdeps/unix/sysv/linux/paths.h 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/unix/sysv/linux/paths.h 2011-12-22 17:59:24.622119321 +0000 @@ -62,7 +62,7 @@ #define _PATH_TTY "/dev/tty" #define _PATH_UNIX "/boot/vmlinux" @@ -4381,9 +4512,10 @@ #define _PATH_WTMP "/var/log/wtmp" =20 /* Provide trailing slash, since mostly used for building pathnames. */ ---- glibc-2.14.1/sysdeps/unix/sysv/linux/tcsetattr.c -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/tcsetattr.c -@@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios_p) +diff -Nur a/sysdeps/unix/sysv/linux/tcsetattr.c b/sysdeps/unix/sysv/linux/tc= setattr.c +--- a/sysdeps/unix/sysv/linux/tcsetattr.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/unix/sysv/linux/tcsetattr.c 2011-12-22 17:59:24.622119321 +0000 +@@ -49,6 +49,7 @@ { struct __kernel_termios k_termios; unsigned long int cmd; @@ -4391,7 +4523,7 @@ =20 switch (optional_actions) { -@@ -80,6 +81,35 @@ tcsetattr (fd, optional_actions, termios_p) +@@ -80,6 +81,35 @@ memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0], __KERNEL_NCCS * sizeof (cc_t)); =20 @@ -4428,8 +4560,9 @@ + return retval; } libc_hidden_def (tcsetattr) ---- glibc-2.14.1/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S -+++ glibc-2.14.1-2/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S +diff -Nur a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S b/sysdeps/unix/= sysv/linux/x86_64/____longjmp_chk.S +--- a/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S 2011-12-22 16:50:52.0= 00000000 +0000 ++++ b/sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S 2011-12-22 17:59:24.6= 23119321 +0000 @@ -19,6 +19,7 @@ #include #include @@ -4438,7 +4571,7 @@ =20 .section .rodata.str1.1,"aMS",@progbits,1 .type longjmp_msg,@object -@@ -94,7 +95,9 @@ ENTRY(____longjmp_chk) +@@ -94,7 +95,9 @@ movl %ebx, %esi cfi_restore (%rsi) =20 @@ -4449,15 +4582,16 @@ cfi_def_cfa(%rdi, 0) cfi_register(%rsp,%r8) cfi_register(%rbp,%r9) -@@ -113,5 +116,6 @@ ENTRY(____longjmp_chk) +@@ -113,5 +116,6 @@ movl %esi, %eax movq %r8,%rsp movq %r9,%rbp + LIBC_PROBE (longjmp_target, 3, 8@%rdi, -4@%eax, 8@%rdx) jmpq *%rdx END (____longjmp_chk) ---- glibc-2.14.1/sysdeps/x86_64/__longjmp.S -+++ glibc-2.14.1-2/sysdeps/x86_64/__longjmp.S +diff -Nur a/sysdeps/x86_64/__longjmp.S b/sysdeps/x86_64/__longjmp.S +--- a/sysdeps/x86_64/__longjmp.S 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/x86_64/__longjmp.S 2011-12-22 17:59:24.623119321 +0000 @@ -1,4 +1,4 @@ -/* Copyright (C) 2001,2004,2005,2006,2009 Free Software Foundation, Inc. +/* Copyright (C) 2001,2004,2005,2006,2009,2011 Free Software Foundation, In= c. @@ -4472,7 +4606,7 @@ =20 /* Jump to the position specified by ENV, causing the setjmp call there to return VAL, or 1 if VAL is 0. -@@ -34,6 +35,7 @@ ENTRY(__longjmp) +@@ -34,6 +35,7 @@ PTR_DEMANGLE (%r9) PTR_DEMANGLE (%rdx) #endif @@ -4480,15 +4614,16 @@ /* We add unwind information for the target here. */ cfi_def_cfa(%rdi, 0) cfi_register(%rsp,%r8) -@@ -53,5 +55,6 @@ ENTRY(__longjmp) +@@ -53,5 +55,6 @@ mov %esi, %eax movq %r8,%rsp movq %r9,%rbp + LIBC_PROBE (longjmp_target, 3, 8@%rdi, -4@%eax, 8@%rdx) jmpq *%rdx END (__longjmp) ---- glibc-2.14.1/sysdeps/x86_64/setjmp.S -+++ glibc-2.14.1-2/sysdeps/x86_64/setjmp.S +diff -Nur a/sysdeps/x86_64/setjmp.S b/sysdeps/x86_64/setjmp.S +--- a/sysdeps/x86_64/setjmp.S 2011-12-22 16:50:52.000000000 +0000 ++++ b/sysdeps/x86_64/setjmp.S 2011-12-22 17:59:24.624119322 +0000 @@ -1,5 +1,5 @@ /* setjmp for x86-64. - Copyright (C) 2001, 2003, 2005, 2006 Free Software Foundation, Inc. @@ -4504,7 +4639,7 @@ =20 ENTRY (__sigsetjmp) /* Save registers. */ -@@ -41,6 +42,7 @@ ENTRY (__sigsetjmp) +@@ -41,6 +42,7 @@ #endif movq %rdx, (JB_RSP*8)(%rdi) movq (%rsp), %rax /* Save PC we are returning to now. */ @@ -4512,9 +4647,10 @@ #ifdef PTR_MANGLE PTR_MANGLE (%rax) #endif ---- glibc-2.14.1/timezone/zic.c -+++ glibc-2.14.1-2/timezone/zic.c -@@ -1921,7 +1921,7 @@ const int zonecount; +diff -Nur a/timezone/zic.c b/timezone/zic.c +--- a/timezone/zic.c 2011-12-22 16:50:52.000000000 +0000 ++++ b/timezone/zic.c 2011-12-22 17:59:24.625119322 +0000 +@@ -1921,7 +1921,7 @@ if (stdrp !=3D NULL && stdrp->r_hiyear =3D=3D 2037) return; } diff --git a/glibc/patches/glibc-rh730856.patch b/glibc/patches/glibc-rh73085= 6.patch new file mode 100644 index 0000000..f7bd5d1 --- /dev/null +++ b/glibc/patches/glibc-rh730856.patch @@ -0,0 +1,16 @@ +2011-09-01 Andreas Schwab + + * resolv/res_query.c (__libc_res_nquery): Update assertion. + +diff -ru a/resolv/res_query.c b/resolv/res_query.c +--- a/resolv/res_query.c 2011-12-12 14:10:52.000000000 -0700 ++++ b/resolv/res_query.c 2011-12-12 14:23:04.832739111 -0700 +@@ -248,7 +248,7 @@ + && *resplen2 > (int) sizeof (HEADER)) + { + /* Special case of partial answer. */ +- assert (hp !=3D hp2); ++ assert (n =3D=3D 0 || hp !=3D hp2); + hp =3D hp2; + } + else if (answerp2 !=3D NULL && *resplen2 < (int) sizeof (HEADER) diff --git a/glibc/patches/glibc-rh740506.patch b/glibc/patches/glibc-rh74050= 6.patch new file mode 100644 index 0000000..6e20ff9 --- /dev/null +++ b/glibc/patches/glibc-rh740506.patch @@ -0,0 +1,35 @@ + * malloc/arena.c (arena_get2): Avoid unnecessarily + retrieving #cpus from /proc. + * malloc/malloc.c (mALLOPt): Clamp arena_test based on + the value of arena_max. + +diff --git a/malloc/arena.c b/malloc/arena.c +index cb8548b..00f1da5 100644 +--- a/malloc/arena.c ++++ b/malloc/arena.c +@@ -828,7 +828,7 @@ arena_get2(mstate a_tsd, size_t size) + { + if (mp_.arena_max !=3D 0) + narenas_limit =3D mp_.arena_max; +- else ++ else if (narenas > mp_.arena_test) + { + int n =3D __get_nprocs (); +=20 +diff --git a/malloc/malloc.c b/malloc/malloc.c +index 8608083..f8d32da 100644 +--- a/malloc/malloc.c ++++ b/malloc/malloc.c +@@ -4842,6 +4842,12 @@ int mALLOPt(int param_number, int value) + break; + #endif + } ++#ifdef PER_THREAD ++ /* Clamp ARENA_TEST from ARENA_MAX to avoid creating too many ++ arenas. */ ++ if (mp_.arena_max > 0 && mp_.arena_max <=3D mp_.arena_test) ++ mp_.arena_test =3D mp_.arena_max - 1; ++#endif + (void)mutex_unlock(&av->mutex); + return res; + } diff --git a/glibc/patches/glibc-rh757881.patch b/glibc/patches/glibc-rh75788= 1.patch new file mode 100644 index 0000000..0b41987 --- /dev/null +++ b/glibc/patches/glibc-rh757881.patch @@ -0,0 +1,170 @@ +Index: glibc-2.12-2-gc4ccff1/malloc/arena.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 +--- glibc-2.12-2-gc4ccff1.orig/malloc/arena.c ++++ glibc-2.12-2-gc4ccff1/malloc/arena.c +@@ -870,7 +870,7 @@ heap_trim(heap, pad) heap_info *heap; si + heap =3D prev_heap; + if(!prev_inuse(p)) { /* consolidate backward */ + p =3D prev_chunk(p); +- unlink(p, bck, fwd); ++ unlink(ar_ptr, p, bck, fwd); + } + assert(((unsigned long)((char*)p + new_size) & (pagesz-1)) =3D=3D 0); + assert( ((char*)p + new_size) =3D=3D ((char*)heap + heap->size) ); +Index: glibc-2.12-2-gc4ccff1/malloc/hooks.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 +--- glibc-2.12-2-gc4ccff1.orig/malloc/hooks.c ++++ glibc-2.12-2-gc4ccff1/malloc/hooks.c +@@ -219,7 +219,9 @@ top_check() + (char*)t + chunksize(t) =3D=3D mp_.sbrk_base + main_arena.system_mem))) + return 0; +=20 ++ mutex_unlock(&main_arena); + malloc_printerr (check_action, "malloc: top chunk is corrupt", t); ++ mutex_lock(&main_arena); +=20 + /* Try to set up a new top chunk. */ + brk =3D MORECORE(0); +Index: glibc-2.12-2-gc4ccff1/malloc/malloc.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 +--- glibc-2.12-2-gc4ccff1.orig/malloc/malloc.c ++++ glibc-2.12-2-gc4ccff1/malloc/malloc.c +@@ -1541,12 +1541,14 @@ + #define last(b) ((b)->bk) +=20 + /* Take a chunk off a bin list */ +-#define unlink(P, BK, FD) { \ ++#define unlink(AV, P, BK, FD) { \ + FD =3D P->fd; \ + BK =3D P->bk; \ +- if (__builtin_expect (FD->bk !=3D P || BK->fd !=3D P, 0)) \ ++ if (__builtin_expect (FD->bk !=3D P || BK->fd !=3D P, 0)) { \ ++ mutex_unlock(&(AV)->mutex); \ + malloc_printerr (check_action, "corrupted double-linked list", P); \ +- else { \ ++ mutex_lock(&(AV)->mutex); \ ++ } else { \ + FD->bk =3D BK; \ + BK->fd =3D FD; \ + if (!in_smallbin_range (P->size) \ +@@ -2593,7 +2595,9 @@ +=20 + else if (contiguous(av) && old_size && brk < old_end) { + /* Oops! Someone else killed our space.. Can't touch anything. */ ++ mutex_unlock(&av->mutex); + malloc_printerr (3, "break adjusted to free malloc space", brk); ++ mutex_lock(&av->mutex); + } +=20 + /* +@@ -3467,7 +3471,9 @@ + { + errstr =3D "malloc(): memory corruption (fast)"; + errout: ++ mutex_unlock(&av->mutex); + malloc_printerr (check_action, errstr, chunk2mem (victim)); ++ mutex_lock(&av->mutex); + return NULL; + } + check_remalloced_chunk(av, victim, nb); +@@ -3552,8 +3558,12 @@ + bck =3D victim->bk; + if (__builtin_expect (victim->size <=3D 2 * SIZE_SZ, 0) + || __builtin_expect (victim->size > av->system_mem, 0)) +- malloc_printerr (check_action, "malloc(): memory corruption", +- chunk2mem (victim)); ++ { ++ void *p =3D chunk2mem(victim); ++ mutex_unlock(&av->mutex); ++ malloc_printerr (check_action, "malloc(): memory corruption", p); ++ mutex_lock(&av->mutex); ++ } + size =3D chunksize(victim); +=20 + /* +@@ -3694,7 +3704,7 @@ + victim =3D victim->fd; +=20 + remainder_size =3D size - nb; +- unlink(victim, bck, fwd); ++ unlink(av, victim, bck, fwd); +=20 + /* Exhaust */ + if (remainder_size < MINSIZE) { +@@ -3792,7 +3802,7 @@ + remainder_size =3D size - nb; +=20 + /* unlink */ +- unlink(victim, bck, fwd); ++ unlink(av, victim, bck, fwd); +=20 + /* Exhaust */ + if (remainder_size < MINSIZE) { +@@ -3927,9 +3937,11 @@ + { + errstr =3D "free(): invalid pointer"; + errout: +- if (! have_lock && locked) ++ if (have_lock || locked) + (void)mutex_unlock(&av->mutex); + malloc_printerr (check_action, errstr, chunk2mem(p)); ++ if (have_lock) ++ mutex_lock(&av->mutex); + return; + } + /* We know that each chunk is at least MINSIZE bytes in size. */ +@@ -4073,7 +4085,7 @@ + prevsize =3D p->prev_size; + size +=3D prevsize; + p =3D chunk_at_offset(p, -((long) prevsize)); +- unlink(p, bck, fwd); ++ unlink(av, p, bck, fwd); + } +=20 + if (nextchunk !=3D av->top) { +@@ -4082,7 +4094,7 @@ +=20 + /* consolidate forward */ + if (!nextinuse) { +- unlink(nextchunk, bck, fwd); ++ unlink(av, nextchunk, bck, fwd); + size +=3D nextsize; + } else + clear_inuse_bit_at_offset(nextchunk, 0); +@@ -4243,7 +4255,7 @@ + prevsize =3D p->prev_size; + size +=3D prevsize; + p =3D chunk_at_offset(p, -((long) prevsize)); +- unlink(p, bck, fwd); ++ unlink(av, p, bck, fwd); + } +=20 + if (nextchunk !=3D av->top) { +@@ -4251,7 +4263,7 @@ +=20 + if (!nextinuse) { + size +=3D nextsize; +- unlink(nextchunk, bck, fwd); ++ unlink(av, nextchunk, bck, fwd); + } else + clear_inuse_bit_at_offset(nextchunk, 0); +=20 +@@ -4320,7 +4332,9 @@ + { + errstr =3D "realloc(): invalid old size"; + errout: ++ mutex_unlock(&av->mutex); + malloc_printerr (check_action, errstr, chunk2mem(oldp)); ++ mutex_lock(&av->mutex); + return NULL; + } +=20 +@@ -4362,7 +4376,7 @@ + (unsigned long)(newsize =3D oldsize + nextsize) >=3D + (unsigned long)(nb)) { + newp =3D oldp; +- unlink(next, bck, fwd); ++ unlink(av, next, bck, fwd); + } +=20 + /* allocate, copy, free */ diff --git a/glibc/patches/glibc-rh769421.patch b/glibc/patches/glibc-rh76942= 1.patch new file mode 100644 index 0000000..67f5ad7 --- /dev/null +++ b/glibc/patches/glibc-rh769421.patch @@ -0,0 +1,229 @@ +diff -rup a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S b/npt= l/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S +--- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S 2011-12-22 = 18:04:12.937212834 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S 2011-12-22 = 18:04:42.104222278 +0000 +@@ -137,7 +137,6 @@ __pthread_cond_wait: + cmpl $PI_BIT, %eax + jne 18f +=20 +-90: + movl $(FUTEX_WAIT_REQUEUE_PI|FUTEX_PRIVATE_FLAG), %ecx + movl %ebp, %edx + xorl %esi, %esi +@@ -151,9 +150,6 @@ __pthread_cond_wait: + sete 16(%esp) + je 19f +=20 +- cmpl $-EAGAIN, %eax +- je 91f +- + /* Normal and PI futexes dont mix. Use normal futex functions only + if the kernel does not support the PI futex functions. */ + cmpl $-ENOSYS, %eax +@@ -398,78 +394,6 @@ __pthread_cond_wait: + #endif + call __lll_unlock_wake + jmp 11b +- +-91: +-.LcleanupSTART2: +- /* FUTEX_WAIT_REQUEUE_PI returned EAGAIN. We need to +- call it again. */ +- +- /* Get internal lock. */ +- movl $1, %edx +- xorl %eax, %eax +- LOCK +-#if cond_lock =3D=3D 0 +- cmpxchgl %edx, (%ebx) +-#else +- cmpxchgl %edx, cond_lock(%ebx) +-#endif +- jz 92f +- +-#if cond_lock =3D=3D 0 +- movl %ebx, %edx +-#else +- leal cond_lock(%ebx), %edx +-#endif +-#if (LLL_SHARED-LLL_PRIVATE) > 255 +- xorl %ecx, %ecx +-#endif +- cmpl $-1, dep_mutex(%ebx) +- setne %cl +- subl $1, %ecx +- andl $(LLL_SHARED-LLL_PRIVATE), %ecx +-#if LLL_PRIVATE !=3D 0 +- addl $LLL_PRIVATE, %ecx +-#endif +- call __lll_lock_wait +- +-92: +- /* Increment the cond_futex value again, so it can be used as a new +- expected value. */ +- addl $1, cond_futex(%ebx) +- movl cond_futex(%ebx), %ebp +- +- /* Unlock. */ +- LOCK +-#if cond_lock =3D=3D 0 +- subl $1, (%ebx) +-#else +- subl $1, cond_lock(%ebx) +-#endif +- je 93f +-#if cond_lock =3D=3D 0 +- movl %ebx, %eax +-#else +- leal cond_lock(%ebx), %eax +-#endif +-#if (LLL_SHARED-LLL_PRIVATE) > 255 +- xorl %ecx, %ecx +-#endif +- cmpl $-1, dep_mutex(%ebx) +- setne %cl +- subl $1, %ecx +- andl $(LLL_SHARED-LLL_PRIVATE), %ecx +-#if LLL_PRIVATE !=3D 0 +- addl $LLL_PRIVATE, %ecx +-#endif +- call __lll_unlock_wake +- +-93: +- /* Set the rest of SYS_futex args for FUTEX_WAIT_REQUEUE_PI. */ +- xorl %ecx, %ecx +- movl dep_mutex(%ebx), %edi +- jmp 90b +-.LcleanupEND2: +- + .size __pthread_cond_wait, .-__pthread_cond_wait + versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait, + GLIBC_2_3_2) +@@ -642,10 +566,6 @@ __condvar_w_cleanup: + .long .LcleanupEND-.Lsub_cond_futex + .long __condvar_w_cleanup-.LSTARTCODE + .uleb128 0 +- .long .LcleanupSTART2-.LSTARTCODE +- .long .LcleanupEND2-.LcleanupSTART2 +- .long __condvar_w_cleanup-.LSTARTCODE +- .uleb128 0 + .long .LcallUR-.LSTARTCODE + .long .LENDCODE-.LcallUR + .long 0 +Only in b/nptl/sysdeps/unix/sysv/linux/i386/i486: pthread_cond_wait.S.orig +diff -rup a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/s= ysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S +--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S 2011-12-22 18:= 04:12.941212837 +0000 ++++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S 2011-12-22 18:= 05:05.155229737 +0000 +@@ -23,7 +23,6 @@ + #include + #include + #include +-#include + #include +=20 + #include +@@ -137,14 +136,11 @@ __pthread_cond_wait: + cmpl $PI_BIT, %eax + jne 61f +=20 +-90: + movl $(FUTEX_WAIT_REQUEUE_PI|FUTEX_PRIVATE_FLAG), %esi + movl $SYS_futex, %eax + syscall +=20 + movl $1, %r8d +- cmpq $-EAGAIN, %rax +- je 91f + #ifdef __ASSUME_REQUEUE_PI + jmp 62f + #else +@@ -331,70 +327,6 @@ __pthread_cond_wait: +=20 + 13: movq %r10, %rax + jmp 14b +- +-91: +-.LcleanupSTART2: +- /* FUTEX_WAIT_REQUEUE_PI returned EAGAIN. We need to +- call it again. */ +- movq 8(%rsp), %rdi +- +- /* Get internal lock. */ +- movl $1, %esi +- xorl %eax, %eax +- LOCK +-#if cond_lock =3D=3D 0 +- cmpxchgl %esi, (%rdi) +-#else +- cmpxchgl %esi, cond_lock(%rdi) +-#endif +- jz 92f +- +-#if cond_lock !=3D 0 +- addq $cond_lock, %rdi +-#endif +- cmpq $-1, dep_mutex-cond_lock(%rdi) +- movl $LLL_PRIVATE, %eax +- movl $LLL_SHARED, %esi +- cmovne %eax, %esi +- callq __lll_lock_wait +-#if cond_lock !=3D 0 +- subq $cond_lock, %rdi +-#endif +-92: +- /* Increment the cond_futex value again, so it can be used as a new +- expected value. */ +- incl cond_futex(%rdi) +- movl cond_futex(%rdi), %edx +- +- /* Release internal lock. */ +- LOCK +-#if cond_lock =3D=3D 0 +- decl (%rdi) +-#else +- decl cond_lock(%rdi) +-#endif +- jz 93f +- +-#if cond_lock !=3D 0 +- addq $cond_lock, %rdi +-#endif +- cmpq $-1, dep_mutex-cond_lock(%rdi) +- movl $LLL_PRIVATE, %eax +- movl $LLL_SHARED, %esi +- cmovne %eax, %esi +- /* The call preserves %rdx. */ +- callq __lll_unlock_wake +-#if cond_lock !=3D 0 +- subq $cond_lock, %rdi +-#endif +-93: +- /* Set the rest of SYS_futex args for FUTEX_WAIT_REQUEUE_PI. */ +- xorq %r10, %r10 +- movq dep_mutex(%rdi), %r8 +- leaq cond_futex(%rdi), %rdi +- jmp 90b +-.LcleanupEND2: +- + .size __pthread_cond_wait, .-__pthread_cond_wait + versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait, + GLIBC_2_3_2) +@@ -547,15 +479,11 @@ __condvar_cleanup1: + .uleb128 .LcleanupSTART-.LSTARTCODE + .uleb128 .LcleanupEND-.LcleanupSTART + .uleb128 __condvar_cleanup1-.LSTARTCODE +- .uleb128 0 +- .uleb128 .LcleanupSTART2-.LSTARTCODE +- .uleb128 .LcleanupEND2-.LcleanupSTART2 +- .uleb128 __condvar_cleanup1-.LSTARTCODE +- .uleb128 0 ++ .uleb128 0 + .uleb128 .LcallUR-.LSTARTCODE + .uleb128 .LENDCODE-.LcallUR + .uleb128 0 +- .uleb128 0 ++ .uleb128 0 + .Lcstend: +=20 +=20 +Only in b/nptl/sysdeps/unix/sysv/linux/x86_64: pthread_cond_wait.S.orig +Only in b/nptl/sysdeps/unix/sysv/linux/x86_64: pthread_cond_wait.S.rej diff --git a/libcap-ng/libcap-ng.nm b/libcap-ng/libcap-ng.nm index fae925b..d0a015f 100644 --- a/libcap-ng/libcap-ng.nm +++ b/libcap-ng/libcap-ng.nm @@ -5,7 +5,7 @@ =20 name =3D libcap-ng version =3D 0.6.6 -release =3D 1 +release =3D 2 =20 groups =3D System/Libraries url =3D http://people.redhat.com/sgrubb/libcap-ng @@ -27,11 +27,11 @@ build =20 install_cmds # Move libraries to lib - mkdir -pv %{BUILDROOT}/lib - mv -vf %{BUILDROOT}/usr/lib/libcap-ng.so.* %{BUILDROOT}/lib/ + mkdir -pv %{BUILDROOT}/%{lib} + mv -vf %{BUILDROOT}%{libdir}/libcap-ng.so.* %{BUILDROOT}/%{lib}/ =20 # Recreate symlink - ln -svf ../../lib/libcap-ng.so.0 %{BUILDROOT}/usr/lib/libcap-ng.so + ln -svf ../../%{lib}/libcap-ng.so.0 %{BUILDROOT}%{libdir}/libcap-ng.so end =20 # XXX Testsuite is broken by the package developers @@ -42,7 +42,6 @@ end =20 packages package %{name} - end =20 package %{name}-devel template DEVEL diff --git a/libpng/libpng.nm b/libpng/libpng.nm index 3841816..752ba69 100644 --- a/libpng/libpng.nm +++ b/libpng/libpng.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D libpng -version =3D 1.5.6 +version =3D 1.5.7 release =3D 1 =20 groups =3D System/Libraries diff --git a/mailcap/mailcap.nm b/mailcap/mailcap.nm index 01fd954..be52d0d 100644 --- a/mailcap/mailcap.nm +++ b/mailcap/mailcap.nm @@ -5,7 +5,7 @@ =20 name =3D mailcap version =3D 2.1.36 -release =3D 1 +release =3D 2 arch =3D noarch =20 groups =3D System/Base @@ -26,6 +26,10 @@ source_dl =3D sources =3D %{thisapp}.tar.xz =20 build + requires + perl + end + build =3D # Nothing to do. =20 test diff --git a/perl-FCGI/perl-FCGI.nm b/perl-FCGI/perl-FCGI.nm new file mode 100644 index 0000000..439449c --- /dev/null +++ b/perl-FCGI/perl-FCGI.nm @@ -0,0 +1,49 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D perl-FCGI +version =3D 0.74 +release =3D 1 +thisapp =3D FCGI-%{version} + +groups =3D Development/Libraries +url =3D http://search.cpan.org/dist/FCGI +license =3D OML +summary =3D FastCGI perl bindings. + +description + FastCGI perl bindings. +end + +source_dl =3D http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/ + +build + requires + perl(ExtUtils::MakeMaker) + end + + build + perl Makefile.PL INSTALLDIRS=3Dvendor OPTIMIZE=3D"%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + make test + end + + make_install_targets =3D pure_install DESTDIR=3D%{BUILDROOT} +end + +packages + package %{name} + requires + perl + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end diff --git a/perl/perl.nm b/perl/perl.nm index 253b4c7..8201e4f 100644 --- a/perl/perl.nm +++ b/perl/perl.nm @@ -8,6 +8,9 @@ version =3D 5.14.2 # Never reset release in this package, just increase. release =3D 10 =20 +perl_epoch =3D 2 +thisver =3D %{perl_epoch}:%{version}-%{_release} + maintainer =3D Michael Tremer groups =3D Development/Languages url =3D http://www.perl.org/ @@ -34,6 +37,7 @@ build gcc-c++ gdbm-devel iana-etc + perl procps zlib-devel end @@ -46,55 +50,66 @@ build sed -i 's/command /command[ -]/' makedepend.SH end =20 + configure_options =3D \ + -des \ + -Doptimize=3D"%{CFLAGS}" \ + -Dccdlflags=3D"-Wl,--enable-new-dtags" \ + -Dlddlflags=3D"-shared %{CFLAGS} %{LDFLAGS}" \ + -DDDEBUGGING=3D-g \ + -Dversion=3D%{version} \ + -Dmyhostname=3Dlocalhost \ + -Dperladmin=3Droot(a)localhost \ + -Dcc=3D"gcc" \ + -Dcf_by=3D"%{DISTRO_VENDOR}" \ + -Dprefix=3D/usr \ + -Dvendorprefix=3D/usr \ + -Dsiteprefix=3D"/usr/local" \ + -Dsitelib=3D"/usr/local/share/perl5" \ + -Dsitearch=3D"/usr/local/lib/perl5" \ + -Dprivlib=3D"/usr/share/perl5" \ + -Dvendorlib=3D"/usr/share/perl5/vendor_perl" \ + -Darchlib=3D"%{libdir}/perl5" \ + -Dvendorarch=3D"%{libdir}/perl5/vendor_perl" \ + -Darchname=3D%{arch}-linux-thread-multi \ + -Dpager=3D"/usr/bin/less -isr" \ + -Dman1dir=3D/usr/share/man/man1 \ + -Dman3dir=3D/usr/share/man/man3 \ + -Duseshrplib \ + -Dusethreads \ + -Duseithreads \ + -Duselargefiles \ + -Dd_semctl_semun \ + -Di_db \ + -Ui_ndbm \ + -Di_gdbm \ + -Di_shadow \ + -Di_syslog \ + -Dman3ext=3D3pm \ + -Duseperlio \ + -Dinstallusrbinperl=3Dn \ + -Ubincompat5005 \ + -Uversiononly \ + -Dd_gethostent_r_proto \ + -Ud_endhostent_r_proto \ + -Ud_sethostent_r_proto \ + -Ud_endprotoent_r_proto \ + -Ud_setprotoent_r_proto \ + -Ud_endservent_r_proto \ + -Ud_setservent_r_proto \ + -Dscriptdir=3D"/usr/bin" + + if "%{DISTRO_ARCH}" =3D=3D "x86_64" + configure_options +=3D \ + -Dlibpth=3D"/usr/local/lib64 /lib64 %{prefix}/lib64" + end + build sed -i -e "s|BUILD_ZLIB\s*=3D True|BUILD_ZLIB =3D False|" \ -e "s|INCLUDE\s*=3D ./zlib-src|INCLUDE =3D /usr/include|" \ -e "s|LIB\s*=3D ./zlib-src|LIB =3D %{libdir}|" \ cpan/Compress-Raw-Zlib/config.in =20 - sh ./Configure -des \ - -Doptimize=3D"%{CFLAGS}" \ - -Dversion=3D%{version} \ - -Dmyhostname=3Dlocalhost \ - -Dperladmin=3Droot(a)localhost \ - -Dcc=3D"gcc" \ - -Dcf_by=3D"%{DISTRO_VENDOR}" \ - -Dprefix=3D/usr \ - -Dvendorprefix=3D/usr \ - -Dsiteprefix=3D"/usr/local" \ - -Dsitelib=3D"/usr/local/share/perl5" \ - -Dsitearch=3D"/usr/local/lib/perl5" \ - -Dprivlib=3D"/usr/share/perl5" \ - -Dvendorlib=3D"/usr/share/perl5/vendor_perl" \ - -Darchlib=3D"%{libdir}/perl5" \ - -Dvendorarch=3D"%{libdir}/perl5/vendor_perl" \ - -Darchname=3D%{arch}-linux-thread-multi \ - -Dpager=3D"/usr/bin/less -isr" \ - -Dman1dir=3D/usr/share/man/man1 \ - -Dman3dir=3D/usr/share/man/man3 \ - -Duseshrplib \ - -Dusethreads \ - -Duseithreads \ - -Duselargefiles \ - -Dd_semctl_semun \ - -Di_db \ - -Ui_ndbm \ - -Di_gdbm \ - -Di_shadow \ - -Di_syslog \ - -Dman3ext=3D3pm \ - -Duseperlio \ - -Dinstallusrbinperl=3Dn \ - -Ubincompat5005 \ - -Uversiononly \ - -Dd_gethostent_r_proto \ - -Ud_endhostent_r_proto \ - -Ud_sethostent_r_proto \ - -Ud_endprotoent_r_proto \ - -Ud_setprotoent_r_proto \ - -Ud_endservent_r_proto \ - -Ud_setservent_r_proto \ - -Dscriptdir=3D"/usr/bin" + sh ./Configure %{configure_options} =20 make %{PARALLELISMFLAGS} end @@ -119,7 +134,7 @@ end =20 # This variable contains the constant version string # of this perl package. -perl_requires :=3D %{name}=3D%{thisver} +perl_requires :=3D %{name} =3D %{thisver} =20 packages package perl @@ -127,8 +142,7 @@ packages epoch =3D 2 =20 requires - perl-libs=3D%{thisver} - perl(Carp) + perl-libs =3D %{version}-%{_release} end =20 provides @@ -189,24 +203,14 @@ packages perl(constant) perl(strict) perl(vars) - - # XXX why? - perl(Mac::InternetConfig) - perl(NDBM_File) end =20 filter_requires - %{perl_filter_requires} DBIx InternetConfig - perl\(Mac - perl\(NDBM_File - perl\(VMS - end - - filter_provides - Carp - perl\(Carp\) + Mac:: + NDBM_File + VMS:: end end =20 @@ -407,7 +411,7 @@ packages end =20 filter_requires - perl\(Mac::BuildTools\) + Mac::BuildTools end =20 files @@ -494,10 +498,9 @@ packages end =20 filter_requires - %{perl_filter_requires} DBIx Your::Module::Here - perl\(DBD::SQLite\) + DBD::SQLite end =20 files @@ -531,8 +534,13 @@ packages %{perl_requires} end =20 + provides + perl(Carp) =3D %{version} + perl(Carp::Heavy) =3D %{version} + end + # Do not export unversioned module - filter_provides =3D ^perl\(Carp\)\s*$ + #filter_provides =3D ^perl\(Carp\)\s*$ =20 files /usr/share/perl5/Carp* @@ -565,9 +573,9 @@ packages /usr/share/perl5/Digest.pm /usr/share/perl5/Digest/base.pm /usr/share/perl5/Digest/file.pm - /usr/share/man/man5/Digest.3* - /usr/share/man/man5/Digest::base.3* - /usr/share/man/man5/Digest::file.3* + /usr/share/man/man3/Digest.3* + /usr/share/man/man3/Digest::base.3* + /usr/share/man/man3/Digest::file.3* end end =20 @@ -615,6 +623,8 @@ packages =20 files /usr/bin/shasum + %{libdir}/perl5/Digest/SHA* + %{libdir}/perl5/auto/Digest/SHA* /usr/share/perl5/Digest/SHA* /usr/share/man/man1/shasum.1* /usr/share/man/man3/Digest::SHA.3* @@ -682,6 +692,10 @@ packages perl(Test::Harness) end =20 + filter_requires + VMS::Filespec + end + files /usr/bin/instmodsh /usr/share/perl5/ExtUtils/Command/ @@ -1246,7 +1260,7 @@ packages end =20 filter_requires - perl\(VMS\:\:Filespec\) + VMS::Filespec end =20 files @@ -1298,10 +1312,6 @@ packages %{perl_requires} end =20 - filter_requires - %{perl_filter_requires} - end - files /usr/share/perl5/Pod/Escapes.pm /usr/share/man/man3/Pod::Escapes.* @@ -1324,10 +1334,6 @@ packages %{perl_requires} end =20 - filter_requires - %{perl_filter_requires} - end - files /usr/share/perl5/Pod/Simple/ /usr/share/perl5/Pod/Simple.pm @@ -1400,10 +1406,6 @@ packages %{perl_requires} end =20 - filter_requires - %{perl_filter_requires} - end - files /usr/bin/prove /usr/share/perl5/App* hooks/post-receive -- IPFire 3.x development tree --===============4428490519176996930==--