[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r6724 - in glibc-package/branches/glibc-2.22/debian: . control.in debhelper.in patches patches/amd64 patches/any patches/hppa patches/hurd-i386 patches/kfreebsd po rules.d sysdeps testsuite-checking



Author: aurel32
Date: 2015-12-01 20:01:33 +0000 (Tue, 01 Dec 2015)
New Revision: 6724

Added:
   glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-for-Intel-TSX.diff
   glibc-package/branches/glibc-2.22/debian/patches/any/cvs-ld_pointer_guard.diff
   glibc-package/branches/glibc-2.22/debian/patches/any/cvs-mangle-tls_dtor_list.diff
   glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-allocatestack-stacktop.diff
   glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-inline-syscall.diff
   glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-gmon-start.diff
   glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-mathdef.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/cvs-hidden.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/local-mach_print.diff
   glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-tst-auxv.diff
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabi64-libc
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabin32-mipsn32
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-mips32
Removed:
   glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-on-TSX-Haswell.diff
Modified:
   glibc-package/branches/glibc-2.22/debian/changelog
   glibc-package/branches/glibc-2.22/debian/control
   glibc-package/branches/glibc-2.22/debian/control.in/main
   glibc-package/branches/glibc-2.22/debian/debhelper.in/libc.preinst
   glibc-package/branches/glibc-2.22/debian/patches/hppa/local-stack-grows-up.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-bind_umask2.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-handle-eprototype.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-context_functions.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-pagesize.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-tls-threadvar.diff
   glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-NO_HIDDEN.diff
   glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-fbtl.diff
   glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-getaddrinfo-freebsd-kernel.diff
   glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-nscd-no-sockcloexec.diff
   glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-scripts.diff
   glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-sysdeps.diff
   glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-undef-glibc.diff
   glibc-package/branches/glibc-2.22/debian/patches/series
   glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-amd64
   glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-i386
   glibc-package/branches/glibc-2.22/debian/po/pt_BR.po
   glibc-package/branches/glibc-2.22/debian/rules
   glibc-package/branches/glibc-2.22/debian/rules.d/build.mk
   glibc-package/branches/glibc-2.22/debian/sysdeps/hurd-i386.mk
   glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-amd64.mk
   glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-i386.mk
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-armel
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-libc
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabihf-libc
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-hppa-linux-gnu-libc
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i586-kfreebsd-gnu-libc
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i386
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i686
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips-linux-gnu-libc
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32-linux-gnu-mipsn32
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32el-linux-gnu-mipsn32
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64-linux-gnu-mips64
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnu-mips64
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-libc
   glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-x86_64-kfreebsd-gnu-libc
Log:
Merge from trunk


Modified: glibc-package/branches/glibc-2.22/debian/changelog
===================================================================
--- glibc-package/branches/glibc-2.22/debian/changelog	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/changelog	2015-12-01 20:01:33 UTC (rev 6724)
@@ -6,7 +6,6 @@
     - debian/patches/any/cvs-ldconfig-aux-cache.diff: Upstreamed.
     - debian/patches/any/cvs-localplt-new-readelf.diff: Upstreamed.
     - debian/patches/any/cvs-logbl-accuracy.diff: Upstreamed.
-    - debian/patches/any/cvs-make-typo.diff: Upstreamed.
     - debian/patches/any/cvs-vismain-pie.diff: Upstreamed.
     - debian/patches/any/local-xfail-stdlib-linkns.diff: Dropped.
     - debian/patches/any/local-tester-gcc-4.9.diff: Dropped.
@@ -24,7 +23,7 @@
     - debian/patches/powerpc/cvs-ppc-sqrtf.diff: Upstreamed.
     - debian/patches/powerpc/cvs-ppc-tabort-le.diff: Upstreamed.
     - debian/patches/all/local-alias-et_EE.diff: Rebased.
-    - debian/patches/amd64/local-blacklist-on-TSX-Haswell.diff: Rebased.
+    - debian/patches/amd64/local-blacklist-for-Intel-TSX.diff: Rebased.
     - debian/patches/any/local-libgcc-compat-ports.diff: Rebased.
     - debian/patches/any/local-libpic.diff: Rebased.
     - debian/patches/any/local-no-pagesize.diff: Rebased.
@@ -66,11 +65,123 @@
     _POSIX_THREAD_KEYS_MAX, _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
     _POSIX_THREAD_THREADS_MAX.
 
+  [ Aurelien Jarno ]
+  * debian/patches/hppa/cvs-atomic.diff: Upstreamed.
+  * debian/patches/hppa/cvs-sysdep-errno.diff: Upstreamed.
+  * debian/patches/hppa/cvs-inline-syscall-rewrite.diff: Upstreamed.
+  * debian/patches/any/cvs-mangle-tls_dtor_list.diff: Rebased.
+  * debian/patches/any/cvs-tls-dtv.diff: Upstreamed.
+  * debian/patches/any/cvs-rfc3542-advanced-api.diff: Upstreamed.
+  * debian/patches/any/cvs-check-localplt.diff: Upstreamed.
+
  -- Adam Conrad <adconrad@0c3.net>  Tue, 15 Sep 2015 17:57:41 -0600
 
-glibc (2.21-0experimental2) UNRELEASED; urgency=medium
+glibc (2.21-1) unstable; urgency=medium
 
+  [ Aurelien Jarno ]
+  * testsuite-checking/expected-results-mips64el-linux-gnu-*: allow 
+    nptl/tst-cancel24-static to fail on mips64el.  It's an upstream regression
+    only affecting static binaries currently under investigation.
+  * patches/hppa/submitted-mathdef.diff: update to include the ABI baseline
+    changes.
+  * testsuite-checking/expected-results-*kfreebsd-gnu-*: re-add rt/tst-shm as
+    it seems it can still occasionally fail on the buildds.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Tue, 01 Dec 2015 00:17:43 +0100
+
+glibc (2.21-0experimental4) experimental; urgency=medium
+
+  [ Aurelien Jarno ]
+  * testsuite-checking/expected-results-*kfreebsd-gnu-*: re-add tst-getpid1
+    and tst-getpid2 as it seems they can still occasionally fail on the
+    buildds.
+  * testsuite-checking/expected-results-mips64el-linux-gnu-libc: rename into
+    testsuite-checking/expected-results-mips64el-linux-gnuabi64-libc.
+  * testsuite-checking/expected-results-{arm,mips}*: allow nptl/tst-stack4 to
+    fail. It's a new test which fails intermitently on the buildds and a known
+    upstream problem.
+  * patches/hppa/submitted-mathdef.diff: new patch from John David Anglin to
+    define __NO_LONG_DOUBLE_MATH on hppa.  Closes: #805836.
+  * patches/hppa/cvs-inline-syscall-rewrite.diff: new patch backported from
+    upstream as requested by John David Anglin.
+  * patches/hppa/cvs-sysdep-errno.diff: new patch backported from upstream as
+    requested by John David Anglin.
+  * testsuite-checking/expected-results-hppa-linux-gnu-libc: update testsuite
+    result, from John David Anglin.
+  * testsuite-checking/*{arm,mips,hppa}*: allow nptl/tst-cancel24-static to
+    fail on armel, armhf, hppa, mips, mipsel. It's an upstream regression
+    only affecting static binaries currently under investigation.
+
   [ Samuel Thibault ]
+  * patches/hurd-i386/tg-tls-threadvar.diff: Update, to fix recursion while
+    accessing TLS while locking for accessing TLS.
+  * patches/hurd-i386/tg-context_functions.diff: Update, to fix sigprocmask
+    visibility.
+  * patches/hurd-i386/cvs-hidden.diff: New patch, to fix build with hidden
+    support.
+  * sysdeps/hurd-i386.mk: Disable libc0.3-i686 and libc0.3-xen build for now,
+    to get 2.21 out against the binutils version which broke them.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 29 Nov 2015 23:24:08 +0100
+
+glibc (2.21-0experimental3) experimental; urgency=medium
+
+  [ Aurelien Jarno ]
+  * patches/hppa/cvs-allocatestack-stacktop.diff: new patch from upstream
+    to fix a set-but-unused warning in nptl/allocatestack.c, causing a
+    build failure.
+  * patches/hppa/local-stack-grows-up.diff: rebase.
+  * patches/any/cvs-tls-dtv.diff: new patch from upstream to fix DTV race,
+    assert, and DTV_SURPLUS Static TLS limit.  This also reduces the failure
+    rate of nptl/tst-stack4.  Closes: #793641.
+  * Add expected testsuite result for mips64el:
+    - testsuite-checking/expected-results-mips64el-linux-gnu-libc
+    - testsuite-checking/expected-results-mips64el-linux-gnuabin32-mipsn32
+    - testsuite-checking/expected-results-mipsel-linux-gnu-mips32
+  * patches/kfreebsd/local-sysdeps.diff, patches/kfreebsd/local-fbtl.diff:
+    update to revision 5844 (from glibc-bsd):
+    - Update to glibc 2.21.
+    - Define F_DUP2FD_CLOEXEC.  Closes: #712074.
+    - Define SOCK_CLOEXEC and SOCK_NONBLOCK.
+    - Wire-up accept4.  Closes: #722885.
+  * sysdeps/kfreebsd-{amd64,i386}.mk: configure with --disable-werror.
+  * patches/kfreebsd/local-nscd-no-sockcloexec.diff: Drop.
+  * patches/kfreebsd/local-getaddrinfo-freebsd-kernel.diff: improve and remove
+    a warning.
+  * patches/kfreebsd/local-tst-auxv.diff: new patch to disable AT_EXECFN
+    testing in tst-auxv when it is not defined.
+  * patches/any/cvs-rfc3542-advanced-api.diff: new patch from usptream to
+    add missing Advanced API (RFC3542) (1) defines.  Closes: #753909.
+  * debian/rules: don't put debug files from libc0.1-i386 and libc6-mips32
+    into libc0.1-dbg or libc6-dbg.
+  * patches/hppa/cvs-atomic.diff, patches/hppa/cvs-inline-syscall.diff: new
+    patches from upstream to improve atomic and inline syscalls on HPPA
+    (closes: #799478).
+  * rules.d/build.mk: don't run the testsuite with make -k, as a build
+    failure in the testsuite, otherwise build failures cause the regression
+    comparison to be entirely skipped.
+  * testsuite-checking/expected-results-*kfreebsd-gnu-*: update testsuite
+    results.
+  * patches/any/cvs-check-localplt.diff: new patch from upstream to fix
+    check-localplt test with recent binutils version on x86.
+  * patches/hppa/submitted-gmon-start.diff: new patch from upstream to
+    fix __gmon_start__ symbol proliferation on hppa.  Closes: #805730.
+  * Update from upstream stable branch:
+    - patches/any/cvs-make-typo.diff: Merged. 
+    - Fix FTBFS with libselinux 2.4.
+
+  [ Samuel Thibault ]
+  * patches/hurd-i386/tg-pagesize.diff: Refresh.
+  * patches/hurd-i386/submitted-handle-eprototype.diff: Refresh.
+  * patches/hurd-i386/tg-posix_thread.diff: Update, to define
+    _POSIX_THREAD_KEYS_MAX, _POSIX_THREAD_DESTRUCTOR_ITERATIONS and
+    _POSIX_THREAD_THREADS_MAX.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 22 Nov 2015 19:37:39 +0100
+
+glibc (2.21-0experimental2) experimental; urgency=medium
+
+  [ Samuel Thibault ]
   * Symbol versions which contain _DEBIAN_ are unexpected by upstream scripts.
     Add hurd-i386-only patches/hurd-i386/local-versions-hack.diff to work
     around the issue.  Also take the opportunity of the upstream version bump
@@ -86,6 +197,7 @@
   * patches/hurd-i386/unsubmitted-gnumach.defs.diff: Also build
     task_notify.defs stubs.  Drop unneeded change.
   * libc0.3.symbols.hurd-i386: Update.
+  * patches/hurd-i386/local-mach_print.diff: New patch to export mach_print.
 
   [ Aurelien Jarno ]
   * rules.d/debhelper.mk: replace GLIBC_VERSION before LIBC.  Closes:
@@ -133,6 +245,14 @@
     binary-indep targets.
   * patches/hppa/cvs-alloca-werror.diff: new patch from upstream to fix a
     build failure.
+  * debhelper.in/libc.preinst: fix up error message for too old Linux
+    kernels.  Closes: #800846.
+  * patches/any/cvs-ld_pointer_guard.diff: new patch from upstream to
+    unconditionally disable LD_POINTER_GUARD.  Closes: #798316, #801691.
+  * patches/any/cvs-mangle-tls_dtor_list.diff: new patch from upstream to
+    mangle function pointers in tls_dtor_list.  Closes: #802256.
+  * Update Brazilian Portuguese debconf translation, by Adriano Rafael
+    Gomes.  Closes: #799418.
 
   [ Steven Chamberlain ]
   * sysdeps/kfreebsd.mk: find kfreebsd-kernel-headers in multiarch path.
@@ -146,8 +266,13 @@
     support for futex_atomic_cmpxchg_inatomic to restore the  previous state
     and fix the pulsesink (and others) regression on ARM (closes: #788799)
 
- -- Aurelien Jarno <aurel32@debian.org>  Sat, 29 Aug 2015 00:43:44 +0200
+  [ Henrique de Moraes Holschuh ]
+  * Replace patches/amd64/local-blacklist-on-TSX-Haswell.diff by 
+    local-blacklist-for-Intel-TSX.diff also blacklisting some Broadwell
+    models.  Closes: #800574.
 
+ -- Aurelien Jarno <aurel32@debian.org>  Mon, 19 Oct 2015 00:20:34 +0200
+
 glibc (2.21-0experimental1) experimental; urgency=medium
 
   [ Samuel Thibault ]

Modified: glibc-package/branches/glibc-2.22/debian/control
===================================================================
--- glibc-package/branches/glibc-2.22/debian/control	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/control	2015-12-01 20:01:33 UTC (rev 6724)
@@ -5,7 +5,7 @@
  autoconf, gawk, debhelper (>= 9.20141010), rdfind, symlinks, netbase,
  linux-libc-dev (>= 3.9) [linux-any],
  libaudit-dev [linux-any], libcap-dev [linux-any], libselinux-dev [linux-any],
- mig (>= 1.5-3) [hurd-i386], hurd-dev (>= 1:0.5.git20140320~) [hurd-i386], gnumach-dev (>= 2:1.4+git20141109-1) [hurd-i386],
+ mig (>= 1.5-3) [hurd-i386], hurd-dev (>= 1:0.5.git20140320~) [hurd-i386], gnumach-dev (>= 2:1.4+git20141109~) [hurd-i386],
  kfreebsd-kernel-headers [kfreebsd-any],
  binutils (>= 2.21),
  g++-4.9, g++-4.9-multilib [amd64 i386 kfreebsd-amd64 mips mipsel mipsn32 mipsn32el mips64 mips64el powerpc ppc64 s390x sparc sparc64 x32]

Modified: glibc-package/branches/glibc-2.22/debian/control.in/main
===================================================================
--- glibc-package/branches/glibc-2.22/debian/control.in/main	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/control.in/main	2015-12-01 20:01:33 UTC (rev 6724)
@@ -5,7 +5,7 @@
  autoconf, gawk, debhelper (>= 9.20141010), rdfind, symlinks, netbase,
  linux-libc-dev (>= 3.9) [linux-any],
  libaudit-dev [linux-any], libcap-dev [linux-any], libselinux-dev [linux-any],
- mig (>= 1.5-3) [hurd-i386], hurd-dev (>= 1:0.5.git20140320~) [hurd-i386], gnumach-dev (>= 2:1.4+git20141109-1) [hurd-i386],
+ mig (>= 1.5-3) [hurd-i386], hurd-dev (>= 1:0.5.git20140320~) [hurd-i386], gnumach-dev (>= 2:1.4+git20141109~) [hurd-i386],
  kfreebsd-kernel-headers [kfreebsd-any],
  binutils (>= 2.21),
  g++-4.9, g++-4.9-multilib [amd64 i386 kfreebsd-amd64 mips mipsel mipsn32 mipsn32el mips64 mips64el powerpc ppc64 s390x sparc sparc64 x32]

Modified: glibc-package/branches/glibc-2.22/debian/debhelper.in/libc.preinst
===================================================================
--- glibc-package/branches/glibc-2.22/debian/debhelper.in/libc.preinst	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/debhelper.in/libc.preinst	2015-12-01 20:01:33 UTC (rev 6724)
@@ -362,7 +362,7 @@
         if linux_compare_versions "$kernel_ver" lt 3.2
         then
             echo WARNING: this version of the GNU libc requires kernel version
-            echo 2.6.32 or later.  Please upgrade your kernel before installing
+            echo 3.2 or later.  Please upgrade your kernel before installing
             echo glibc.
             kernel26_help
 

Added: glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-for-Intel-TSX.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-for-Intel-TSX.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-for-Intel-TSX.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,99 @@
+Intel TSX is broken on Haswell based processors (erratum HSD136/HSW136)
+and a microcode update is available to simply disable the corresponding
+instructions.
+
+A live microcode update will disable the TSX instructions causing
+already started binaries to segfault. This patch simply disable Intel
+TSX (HLE and RTM) on processors which might receive a microcode update,
+so that it doesn't happen.  We might expect newer steppings to fix the
+issue (e.g. as Haswell-EX did).
+
+Intel TSX-NI is also broken on Broadwell systems, and documented as
+being unavailable in their specification updates errata list.  However,
+some end-user systems were shipped with old microcode that left Intel
+TSX-NI still enabled in CPUID on these processors.  We must not allow
+RTM to be used by glibc on these systems, due to runtime system
+misbehavior and live-update of microcode hazards.
+
+Author: Henrique de Moraes Holschuh <hmh@debian.org>
+
+--- a/sysdeps/x86_64/multiarch/init-arch.c
++++ b/sysdeps/x86_64/multiarch/init-arch.c
+@@ -26,7 +26,7 @@
+ 
+ 
+ static void
+-get_common_indeces (unsigned int *family, unsigned int *model)
++get_common_indeces (unsigned int *family, unsigned int *model, unsigned int *stepping)
+ {
+   __cpuid (1, __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax,
+ 	   __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ebx,
+@@ -36,6 +36,7 @@
+   unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
+   *family = (eax >> 8) & 0x0f;
+   *model = (eax >> 4) & 0x0f;
++  *stepping = eax & 0x0f;
+ }
+ 
+ 
+@@ -47,6 +48,7 @@
+   unsigned int edx;
+   unsigned int family = 0;
+   unsigned int model = 0;
++  unsigned int stepping = 0;
+   enum cpu_features_kind kind;
+ 
+   __cpuid (0, __cpu_features.max_cpuid, ebx, ecx, edx);
+@@ -56,7 +58,7 @@
+     {
+       kind = arch_kind_intel;
+ 
+-      get_common_indeces (&family, &model);
++      get_common_indeces (&family, &model, &stepping);
+ 
+       unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
+       unsigned int extended_family = (eax >> 20) & 0xff;
+@@ -135,7 +137,7 @@
+     {
+       kind = arch_kind_amd;
+ 
+-      get_common_indeces (&family, &model);
++      get_common_indeces (&family, &model, &stepping);
+ 
+       ecx = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx;
+ 
+@@ -205,6 +207,24 @@
+ 	}
+     }
+ 
++  /* Disable Intel TSX (HLE and RTM) due to erratum HSD136/HSW136
++     on all Haswell processors, except Haswell-EX/Xeon E7-v3 (306F4),
++     to work around outdated microcode that doesn't disable the
++     broken feature by default.
++
++     Disable TSX on Broadwell, due to errata BDM53/BDW51/BDD51/
++     BDE42.  The errata documentation states that RTM is unusable,
++     and that it should not be advertised by CPUID at all on any
++     such processors.  Unfortunately, it _is_ advertised in some
++     (older) microcode versions.  Exceptions: Broadwell-E (406Fx),
++     likely already fixed at launch */
++  if (kind == arch_kind_intel && family == 6 &&
++      ((model == 63 && stepping <= 2) || (model == 60 && stepping <= 3) ||
++       (model == 69 && stepping <= 1) || (model == 70 && stepping <= 1) ||
++       (model == 61 && stepping <= 4) || (model == 71 && stepping <= 1) ||
++       (model == 86 && stepping <= 2) ))
++    __cpu_features.cpuid[COMMON_CPUID_INDEX_7].ebx &= ~(bit_RTM | bit_HLE);
++
+   __cpu_features.family = family;
+   __cpu_features.model = model;
+   atomic_write_barrier ();
+--- a/sysdeps/x86_64/multiarch/init-arch.h
++++ b/sysdeps/x86_64/multiarch/init-arch.h
+@@ -44,6 +44,7 @@
+ 
+ /* COMMON_CPUID_INDEX_7.  */
+ #define bit_RTM		(1 << 11)
++#define bit_HLE		(1 << 4)
+ #define bit_AVX2	(1 << 5)
+ #define bit_AVX512F	(1 << 16)
+ #define bit_AVX512DQ	(1 << 17)

Deleted: glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-on-TSX-Haswell.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-on-TSX-Haswell.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/amd64/local-blacklist-on-TSX-Haswell.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,88 +0,0 @@
-Intel TSX is broken on Haswell based processors (erratum HSD136/HSW136)
-and a microcode update is available to simply disable the corresponding
-instructions.
-
-While the responsability to continue or not using TSX should be left to
-the users, a live microcode update will disable the TSX instructions
-causing already started binaries to segfault. This patch simply disable 
-Intel TSX (HLE and RTM) on processors which might receive a microcode
-update, so that it doesn't happen. We might expect newer steppings to
-fix the issue, and if it is not the case the corresponding processors 
-will be shipped with TSX already disabled.
-
-Author: Henrique de Moraes Holschuh <hmh@debian.org>
-
-diff --git a/sysdeps/x86_64/multiarch/init-arch.c b/sysdeps/x86_64/multiarch/init-arch.c
-index db74d97..6f61ae6 100644
---- a/sysdeps/x86_64/multiarch/init-arch.c
-+++ b/sysdeps/x86_64/multiarch/init-arch.c
-@@ -26,7 +26,7 @@ struct cpu_features __cpu_features attribute_hidden;
- 
- 
- static void
--get_common_indeces (unsigned int *family, unsigned int *model)
-+get_common_indeces (unsigned int *family, unsigned int *model, unsigned int *stepping)
- {
-   __cpuid (1, __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax,
- 	   __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ebx,
-@@ -36,6 +36,7 @@ get_common_indeces (unsigned int *family, unsigned int *model)
-   unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
-   *family = (eax >> 8) & 0x0f;
-   *model = (eax >> 4) & 0x0f;
-+  *stepping = eax & 0x0f;
- }
- 
- 
-@@ -47,6 +48,7 @@ __init_cpu_features (void)
-   unsigned int edx;
-   unsigned int family = 0;
-   unsigned int model = 0;
-+  unsigned int stepping = 0;
-   enum cpu_features_kind kind;
- 
-   __cpuid (0, __cpu_features.max_cpuid, ebx, ecx, edx);
-@@ -56,7 +58,7 @@ __init_cpu_features (void)
-     {
-       kind = arch_kind_intel;
- 
--      get_common_indeces (&family, &model);
-+      get_common_indeces (&family, &model, &stepping);
- 
-       unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
-       unsigned int extended_family = (eax >> 20) & 0xff;
-@@ -131,7 +133,7 @@ __init_cpu_features (void)
-     {
-       kind = arch_kind_amd;
- 
--      get_common_indeces (&family, &model);
-+      get_common_indeces (&family, &model, &stepping);
- 
-       ecx = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx;
- 
-@@ -176,6 +178,14 @@ __init_cpu_features (void)
- 	}
-     }
- 
-+  /* Disable Intel TSX (HLE and RTM) due to erratum HSD136/HSW136
-+     on Haswell processors, to work around outdated microcode that
-+     doesn't disable the broken feature by default */
-+  if (kind == arch_kind_intel && family == 6 &&
-+      ((model == 63 && stepping <= 2) || (model == 60 && stepping <= 3) ||
-+       (model == 69 && stepping <= 1) || (model == 70 && stepping <= 1)))
-+    __cpu_features.cpuid[COMMON_CPUID_INDEX_7].ebx &= ~(bit_RTM | bit_HLE);
-+
-   __cpu_features.family = family;
-   __cpu_features.model = model;
-   atomic_write_barrier ();
-diff --git a/sysdeps/x86_64/multiarch/init-arch.h b/sysdeps/x86_64/multiarch/init-arch.h
-index 793707a..e2745cb 100644
---- a/sysdeps/x86_64/multiarch/init-arch.h
-+++ b/sysdeps/x86_64/multiarch/init-arch.h
-@@ -40,6 +40,7 @@
- 
- /* COMMON_CPUID_INDEX_7.  */
- #define bit_RTM		(1 << 11)
-+#define bit_HLE		(1 << 4)
- #define bit_AVX2	(1 << 5)
- #define bit_AVX512F	(1 << 16)
- #define bit_AVX512DQ	(1 << 17)

Added: glibc-package/branches/glibc-2.22/debian/patches/any/cvs-ld_pointer_guard.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/any/cvs-ld_pointer_guard.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/any/cvs-ld_pointer_guard.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,62 @@
+2015-10-15  Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #18928]
+	* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
+	_dl_pointer_guard member.
+	* elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
+	initializer.
+	(security_init): Always set up pointer guard.
+	(process_envvars): Do not process LD_POINTER_GUARD.
+
+--- a/elf/rtld.c
++++ b/elf/rtld.c
+@@ -162,7 +162,6 @@ struct rtld_global_ro _rtld_global_ro attribute_relro =
+     ._dl_hwcap_mask = HWCAP_IMPORTANT,
+     ._dl_lazy = 1,
+     ._dl_fpu_control = _FPU_DEFAULT,
+-    ._dl_pointer_guard = 1,
+     ._dl_pagesize = EXEC_PAGESIZE,
+     ._dl_inhibit_cache = 0,
+ 
+@@ -709,15 +708,12 @@ security_init (void)
+ #endif
+ 
+   /* Set up the pointer guard as well, if necessary.  */
+-  if (GLRO(dl_pointer_guard))
+-    {
+-      uintptr_t pointer_chk_guard = _dl_setup_pointer_guard (_dl_random,
+-							     stack_chk_guard);
++  uintptr_t pointer_chk_guard
++    = _dl_setup_pointer_guard (_dl_random, stack_chk_guard);
+ #ifdef THREAD_SET_POINTER_GUARD
+-      THREAD_SET_POINTER_GUARD (pointer_chk_guard);
++  THREAD_SET_POINTER_GUARD (pointer_chk_guard);
+ #endif
+-      __pointer_chk_guard_local = pointer_chk_guard;
+-    }
++  __pointer_chk_guard_local = pointer_chk_guard;
+ 
+   /* We do not need the _dl_random value anymore.  The less
+      information we leave behind, the better, so clear the
+@@ -2471,9 +2467,6 @@ process_envvars (enum mode *modep)
+ 	      GLRO(dl_use_load_bias) = envline[14] == '1' ? -1 : 0;
+ 	      break;
+ 	    }
+-
+-	  if (memcmp (envline, "POINTER_GUARD", 13) == 0)
+-	    GLRO(dl_pointer_guard) = envline[14] != '0';
+ 	  break;
+ 
+ 	case 14:
+--- a/sysdeps/generic/ldsodefs.h
++++ b/sysdeps/generic/ldsodefs.h
+@@ -592,9 +592,6 @@ struct rtld_global_ro
+   /* List of auditing interfaces.  */
+   struct audit_ifaces *_dl_audit;
+   unsigned int _dl_naudit;
+-
+-  /* 0 if internal pointer values should not be guarded, 1 if they should.  */
+-  EXTERN int _dl_pointer_guard;
+ };
+ # define __rtld_global_attribute__
+ # if IS_IN (rtld)

Added: glibc-package/branches/glibc-2.22/debian/patches/any/cvs-mangle-tls_dtor_list.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/any/cvs-mangle-tls_dtor_list.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/any/cvs-mangle-tls_dtor_list.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,35 @@
+2015-10-06  Florian Weimer  <fweimer@redhat.com>
+
+	[BZ #19018]
+	* stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
+	Mangle function pointer before storing it.
+	(__call_tls_dtors): Demangle function pointer before calling it.
+
+--- a/stdlib/cxa_thread_atexit_impl.c
++++ b/stdlib/cxa_thread_atexit_impl.c
+@@ -98,6 +98,10 @@ static __thread struct link_map *lm_cache;
+ int
+ __cxa_thread_atexit_impl (dtor_func func, void *obj, void *dso_symbol)
+ {
++#ifdef PTR_MANGLE
++  PTR_MANGLE (func);
++#endif
++
+   /* Prepend.  */
+   struct dtor_list *new = calloc (1, sizeof (struct dtor_list));
+   new->func = func;
+@@ -142,9 +146,13 @@ __call_tls_dtors (void)
+   while (tls_dtor_list)
+     {
+       struct dtor_list *cur = tls_dtor_list;
++      dtor_func func = cur->func;
++#ifdef PTR_DEMANGLE
++      PTR_DEMANGLE (func);
++#endif
+ 
+       tls_dtor_list = tls_dtor_list->next;
+-      cur->func (cur->obj);
++      func (cur->obj);
+ 
+       /* Ensure that the MAP dereference happens before
+ 	 l_tls_dtor_count decrement.  That way, we protect this access from a

Added: glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-allocatestack-stacktop.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-allocatestack-stacktop.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-allocatestack-stacktop.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,46 @@
+2015-08-05  Mike Frysinger  <vapier@gentoo.org>
+
+	* nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
+	bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
+	in there too.
+
+--- a/nptl/allocatestack.c
++++ b/nptl/allocatestack.c
+@@ -353,7 +353,6 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
+   struct pthread *pd;
+   size_t size;
+   size_t pagesize_m1 = __getpagesize () - 1;
+-  void *stacktop;
+ 
+   assert (powerof2 (pagesize_m1 + 1));
+   assert (TCB_ALIGNMENT >= STACK_ALIGN);
+@@ -717,19 +716,23 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
+   /* We place the thread descriptor at the end of the stack.  */
+   *pdp = pd;
+ 
+-#if TLS_TCB_AT_TP
++#if _STACK_GROWS_DOWN
++  void *stacktop;
++
++# if TLS_TCB_AT_TP
+   /* The stack begins before the TCB and the static TLS block.  */
+   stacktop = ((char *) (pd + 1) - __static_tls_size);
+-#elif TLS_DTV_AT_TP
++# elif TLS_DTV_AT_TP
+   stacktop = (char *) (pd - 1);
+-#endif
++# endif
+ 
+-#ifdef NEED_SEPARATE_REGISTER_STACK
++# ifdef NEED_SEPARATE_REGISTER_STACK
+   *stack = pd->stackblock;
+   *stacksize = stacktop - *stack;
+-#elif _STACK_GROWS_DOWN
++# else
+   *stack = stacktop;
+-#elif _STACK_GROWS_UP
++# endif
++#else
+   *stack = pd->stackblock;
+   assert (*stack > 0);
+ #endif

Added: glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-inline-syscall.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-inline-syscall.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/hppa/cvs-inline-syscall.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,116 @@
+2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
+
+	[BZ #18480]
+	* sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
+	LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
+	Define.
+	(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
+	LOAD_REGS_5, LOAD_REGS_6): Update.
+	(INTERNAL_SYSCALL): Update using new LOAD defines.
+	(INTERNAL_SYSCALL_NCS): Likewise.
+	* sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
+
+--- a/sysdeps/unix/sysv/linux/hppa/syscall.c
++++ b/sysdeps/unix/sysv/linux/hppa/syscall.c
+@@ -43,9 +43,10 @@ syscall (long int __sysno, ...)
+   va_end (args);
+ 
+   {
++    LOAD_ARGS_6 (arg0, arg1, arg2, arg3, arg4, arg5)
+     register unsigned long int __res asm("r28");
+     PIC_REG_DEF
+-    LOAD_ARGS_6 (arg0, arg1, arg2, arg3, arg4, arg5)
++    LOAD_REGS_6
+     asm volatile (SAVE_ASM_PIC
+ 		  "	ble  0x100(%%sr2, %%r0)	\n"
+ 		  "	copy %1, %%r20		\n"
+--- a/sysdeps/unix/sysv/linux/hppa/sysdep.h
++++ b/sysdeps/unix/sysv/linux/hppa/sysdep.h
+@@ -400,9 +400,10 @@ L(pre_end):					ASM_LINE_SEP	\
+ ({									\
+ 	long __sys_res;							\
+ 	{								\
++		LOAD_ARGS_##nr(args)					\
+ 		register unsigned long __res asm("r28");		\
+ 		PIC_REG_DEF						\
+-		LOAD_ARGS_##nr(args)					\
++		LOAD_REGS_##nr						\
+ 		/* FIXME: HACK save/load r19 around syscall */		\
+ 		asm volatile(						\
+ 			SAVE_ASM_PIC					\
+@@ -425,9 +426,10 @@ L(pre_end):					ASM_LINE_SEP	\
+ ({									\
+ 	long __sys_res;							\
+ 	{								\
++		LOAD_ARGS_##nr(args)					\
+ 		register unsigned long __res asm("r28");		\
+ 		PIC_REG_DEF						\
+-		LOAD_ARGS_##nr(args)					\
++		LOAD_REGS_##nr						\
+ 		/* FIXME: HACK save/load r19 around syscall */		\
+ 		asm volatile(						\
+ 			SAVE_ASM_PIC					\
+@@ -443,27 +445,44 @@ L(pre_end):					ASM_LINE_SEP	\
+ 	__sys_res;							\
+  })
+ 
+-
+-
+ #define LOAD_ARGS_0()
+-#define LOAD_ARGS_1(r26)						\
+-  register unsigned long __r26 __asm__("r26") = (unsigned long)(r26);	\
++#define LOAD_REGS_0
++#define LOAD_ARGS_1(a1)							\
++  register unsigned long __x26 = (unsigned long)(a1);			\
+   LOAD_ARGS_0()
+-#define LOAD_ARGS_2(r26,r25)						\
+-  register unsigned long __r25 __asm__("r25") = (unsigned long)(r25);	\
+-  LOAD_ARGS_1(r26)
+-#define LOAD_ARGS_3(r26,r25,r24)					\
+-  register unsigned long __r24 __asm__("r24") = (unsigned long)(r24);	\
+-  LOAD_ARGS_2(r26,r25)
+-#define LOAD_ARGS_4(r26,r25,r24,r23)					\
+-  register unsigned long __r23 __asm__("r23") = (unsigned long)(r23);	\
+-  LOAD_ARGS_3(r26,r25,r24)
+-#define LOAD_ARGS_5(r26,r25,r24,r23,r22)				\
+-  register unsigned long __r22 __asm__("r22") = (unsigned long)(r22);	\
+-  LOAD_ARGS_4(r26,r25,r24,r23)
+-#define LOAD_ARGS_6(r26,r25,r24,r23,r22,r21)				\
+-  register unsigned long __r21 __asm__("r21") = (unsigned long)(r21);	\
+-  LOAD_ARGS_5(r26,r25,r24,r23,r22)
++#define LOAD_REGS_1							\
++  register unsigned long __r26 __asm__("r26") = __x26;			\
++  LOAD_REGS_0
++#define LOAD_ARGS_2(a1,a2)						\
++  register unsigned long __x25 = (unsigned long)(a2);			\
++  LOAD_ARGS_1(a1)
++#define LOAD_REGS_2							\
++  register unsigned long __r25 __asm__("r25") = __x25;			\
++  LOAD_REGS_1
++#define LOAD_ARGS_3(a1,a2,a3)						\
++  register unsigned long __x24 = (unsigned long)(a3);			\
++  LOAD_ARGS_2(a1,a2)
++#define LOAD_REGS_3							\
++  register unsigned long __r24 __asm__("r24") = __x24;			\
++  LOAD_REGS_2
++#define LOAD_ARGS_4(a1,a2,a3,a4)					\
++  register unsigned long __x23 = (unsigned long)(a4);			\
++  LOAD_ARGS_3(a1,a2,a3)
++#define LOAD_REGS_4							\
++  register unsigned long __r23 __asm__("r23") = __x23;			\
++  LOAD_REGS_3
++#define LOAD_ARGS_5(a1,a2,a3,a4,a5)					\
++  register unsigned long __x22 = (unsigned long)(a5);			\
++  LOAD_ARGS_4(a1,a2,a3,a4)
++#define LOAD_REGS_5							\
++  register unsigned long __r22 __asm__("r22") = __x22;			\
++  LOAD_REGS_4
++#define LOAD_ARGS_6(a1,a2,a3,a4,a5,a6)					\
++  register unsigned long __x21 = (unsigned long)(a6);			\
++  LOAD_ARGS_5(a1,a2,a3,a4,a5)
++#define LOAD_REGS_6							\
++  register unsigned long __r21 __asm__("r21") = __x21;			\
++  LOAD_REGS_5
+ 
+ /* Even with zero args we use r20 for the syscall number */
+ #define ASM_ARGS_0

Modified: glibc-package/branches/glibc-2.22/debian/patches/hppa/local-stack-grows-up.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hppa/local-stack-grows-up.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/hppa/local-stack-grows-up.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,28 +1,22 @@
----
- nptl/allocatestack.c         |   35 +++++++++++++++++++++++++----------
- nptl/pthread_create.c        |   19 ++++++++++++++++---
- nptl/pthread_getattr_np.c    |    4 ++++
- 5 files changed, 57 insertions(+), 13 deletions(-)
-
 --- a/nptl/allocatestack.c
 +++ b/nptl/allocatestack.c
-@@ -361,6 +361,15 @@
+@@ -371,6 +371,15 @@
    if (__glibc_unlikely (attr->flags & ATTR_FLAG_STACKADDR))
      {
        uintptr_t adj;
 +#if _STACK_GROWS_DOWN
 +      char * stackaddr = (char *) attr->stackaddr;
 +#else
-+      /* Assume the same layout as the _STACK_GROWS_DOWN case, 
-+	 with struct pthread at the top of the stack block. 
-+	 Later we adjust the guard location and stack address 
++      /* Assume the same layout as the _STACK_GROWS_DOWN case,
++	 with struct pthread at the top of the stack block.
++	 Later we adjust the guard location and stack address
 +	 to match the _STACK_GROWS_UP case.  */
 +      char * stackaddr = (char *) attr->stackaddr + attr->stacksize;
 +#endif
  
        /* If the user also specified the size of the stack make sure it
  	 is large enough.  */
-@@ -370,11 +379,11 @@
+@@ -380,11 +389,11 @@
  
        /* Adjust stack size for alignment of the TLS block.  */
  #if TLS_TCB_AT_TP
@@ -36,7 +30,7 @@
  	    & __static_tls_align_m1;
        assert (size > adj);
  #endif
-@@ -384,10 +393,10 @@
+@@ -394,10 +403,10 @@
  	 the stack.  It is the user's responsibility to do this if it
  	 is wanted.  */
  #if TLS_TCB_AT_TP
@@ -49,7 +43,7 @@
  				- __static_tls_size - adj)
  			       - TLS_PRE_TCB_SIZE);
  #endif
-@@ -399,7 +408,7 @@
+@@ -409,7 +418,7 @@
        pd->specific[0] = pd->specific_1stblock;
  
        /* Remember the stack-related values.  */
@@ -58,7 +52,7 @@
        pd->stackblock_size = size;
  
        /* This is a user-provided stack.  It will not be queued in the
-@@ -625,7 +634,7 @@
+@@ -633,7 +642,7 @@
  	  char *guard = mem + (((size - guardsize) / 2) & ~pagesize_m1);
  #elif _STACK_GROWS_DOWN
  	  char *guard = mem;
@@ -67,7 +61,7 @@
  	  char *guard = (char *) (((uintptr_t) pd - guardsize) & ~pagesize_m1);
  #endif
  	  if (mprotect (guard, guardsize, PROT_NONE) != 0)
-@@ -675,9 +684,13 @@
+@@ -683,9 +692,13 @@
  			prot) != 0)
  	    goto mprot_error;
  #elif _STACK_GROWS_UP
@@ -84,10 +78,10 @@
  #endif
  
  	  pd->guardsize = guardsize;
-@@ -720,8 +733,10 @@
- #elif _STACK_GROWS_DOWN
+@@ -732,8 +745,10 @@
    *stack = stacktop;
- #elif _STACK_GROWS_UP
+ # endif
+ #else
 +  /* We don't use stacktop. In _STACK_GROWS_UP the start
 +     of the stack is simply stackblock (lowest address of
 +     the stored block of memory for the stack).  */
@@ -98,7 +92,7 @@
    return 0;
 --- a/nptl/pthread_create.c
 +++ b/nptl/pthread_create.c
-@@ -399,12 +399,25 @@
+@@ -426,12 +426,25 @@
  #ifdef _STACK_GROWS_DOWN
    char *sp = CURRENT_STACK_FRAME;
    size_t freesize = (sp - (char *) pd->stackblock) & ~pagesize_m1;
@@ -109,11 +103,11 @@
    if (freesize > PTHREAD_STACK_MIN)
      __madvise (pd->stackblock, freesize - PTHREAD_STACK_MIN, MADV_DONTNEED);
 +#else
-+  /* Page aligned start of memory to free (higher than or equal 
++  /* Page aligned start of memory to free (higher than or equal
 +     to current sp plus the minimum stack size).  */
-+  void *freeblock = (void*)((size_t)(CURRENT_STACK_FRAME 
-+				     + PTHREAD_STACK_MIN 
-+				     + pagesize_m1) 
++  void *freeblock = (void*)((size_t)(CURRENT_STACK_FRAME
++				     + PTHREAD_STACK_MIN
++				     + pagesize_m1)
 +				    & ~pagesize_m1);
 +  char *free_end = (char *) (((uintptr_t) pd - pd->guardsize) & ~pagesize_m1);
 +  /* Is there any space to free?  */

Added: glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-gmon-start.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-gmon-start.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-gmon-start.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,205 @@
+2015-11-15  Helge Deller  <deller@gmx.de>
+	    John David Anglin  <danglin@gcc.gnu.org>
+
+	PR libc/19170
+	* sysdeps/hppa/crti.S (gmon_initializer): New.  Use .init_array support
+	to call gmon_initializer.  Only call __gmon_start__ when symbol is
+	defined at runtime.
+	* sysdeps/hppa/crtn.S (__gmon_start__): Delete.
+	* sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Provide null
+	function descriptor when MAP argument is null.
+	* sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return directly
+	to previous function when function is undefined.
+
+diff --git a/sysdeps/hppa/crti.S b/sysdeps/hppa/crti.S
+index 98f1af5..568a999 100644
+--- a/sysdeps/hppa/crti.S
++++ b/sysdeps/hppa/crti.S
+@@ -49,6 +49,95 @@
+ # define PREINIT_FUNCTION_WEAK 1
+ #endif
+ 
++#if PREINIT_FUNCTION_WEAK
++	weak_extern (PREINIT_FUNCTION)
++#else
++	.hidden PREINIT_FUNCTION
++#endif
++
++
++/* If we have working .init_array support, we want to keep the .init
++   section empty (apart from the mandatory prologue/epilogue.  This
++   ensures that the default unwind conventions (return-pointer in b0,
++   frame state in ar.pfs, etc.)  will do the Right Thing.  To ensure
++   an empty .init section, we register gmon_initializer() via the
++   .init_array.
++
++    --davidm 02/10/29 */
++
++#if PREINIT_FUNCTION_WEAK
++/* This blob of assembly code is one simple C function:
++
++static void
++__attribute__ ((used))
++gmon_initializer (void)
++{
++  extern void weak_function __gmon_start__ (void);
++
++  if (__gmon_start__)
++    (*__gmon_start__)();
++}
++
++In a final executable, PLABEL32 relocations for function pointers are
++resolved at link time.  Typically, binutils/ld resolves __gmon_start__
++using an external shared library.  __gmon_start__ is always called if
++it is found at link time.  If __gmon_start__ is not found at runtime
++due to a library update, then the function pointer will point at a null
++function descriptor and calling it will cause a segmentation fault.
++So, we call __canonicalize_funcptr_for_compare to obtain the canonicalized
++address of __gmon_start__ and skip calling __gmon_start__ if it is zero.
++
++ */
++	.type __canonicalize_funcptr_for_compare,@function
++	.type $$dyncall,@function
++
++	.section .data.rel.ro,"aw",@progbits
++	.align 4
++.LC0:
++	.type __gmon_start__,@function
++	.word P%__gmon_start__
++
++	.text
++	.align 4
++	.type gmon_initializer,@function
++gmon_initializer:
++	.PROC
++	.CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=4
++	.ENTRY
++	stw %r2,-20(%r30)
++	stwm %r4,64(%r30)
++	stw %r3,-60(%r30)
++	addil LT'.LC0,%r19
++	ldw RT'.LC0(%r1),%r28
++	ldw 0(%r28),%r3
++	comib,= 0,%r3,1f
++	copy %r19,%r4
++	stw %r19,-32(%r30)
++	bl __canonicalize_funcptr_for_compare,%r2
++	copy %r3,%r26
++	comib,= 0,%r28,1f
++	copy %r4,%r19
++	copy %r3,%r22
++	.CALL ARGW0=GR
++	bl $$dyncall,%r31
++	copy %r31,%r2
++1:
++	ldw -84(%r30),%r2
++	ldw -60(%r30),%r3
++	bv %r0(%r2)
++	ldwm -64(%r30),%r4
++	.EXIT
++	.PROCEND
++	.size gmon_initializer, .-gmon_initializer
++
++# undef PREINIT_FUNCTION
++# define PREINIT_FUNCTION gmon_initializer
++#endif
++
++	.section .init_array, "aw"
++	.word P% PREINIT_FUNCTION
++
++
+ /* _init prologue.  */
+ 	.section .init, "ax", %progbits
+ 	.align 4
+@@ -58,14 +147,6 @@ _init:
+ 	stw	%rp,-20(%sp)
+ 	stwm	%r4,64(%sp)
+ 	stw	%r19,-32(%sp)
+-#if PREINIT_FUNCTION_WEAK
+-	bl	PREINIT_FUNCTION,%rp
+-	copy	%r19,%r4	/* delay slot */
+-#else
+-	bl	PREINIT_FUNCTION,%rp
+-	copy	%r19,%r4	/* delay slot */
+-#endif
+-	copy	%r4,%r19
+ 
+ /* _fini prologue.  */
+         .section .fini,"ax",%progbits
+diff --git a/sysdeps/hppa/crtn.S b/sysdeps/hppa/crtn.S
+index e0d345f..a410425 100644
+--- a/sysdeps/hppa/crtn.S
++++ b/sysdeps/hppa/crtn.S
+@@ -38,27 +38,6 @@
+ /* crtn.S puts function epilogues in the .init and .fini sections
+    corresponding to the prologues in crti.S. */
+ 
+-/* Note that we cannot have a weak undefined __gmon_start__, because
+-   that would require this to be PIC, and the linker is currently not
+-   able to generate a proper procedure descriptor for _init.  Sad but
+-   true.  Anyway, HPPA is one of those horrible architectures where
+-   making the comparison and indirect call is quite expensive (see the
+-   comment in sysdeps/generic/initfini.c). */
+-        .text
+-        .align 4
+-        .weak   __gmon_start__
+-        .type    __gmon_start__,@function
+-__gmon_start__:
+-	.proc
+-	.callinfo
+-	.entry
+-        bv,n %r0(%r2)
+-	.exit
+-	.procend
+-
+-/* Here is the tail end of _init.  We put __gmon_start before this so
+-   that the assembler creates the .PARISC.unwind section for us, ie.
+-   with the right attributes.  */
+ 	.section .init, "ax", @progbits
+ 	ldw	-84(%sp),%rp
+ 	copy	%r4,%r19
+diff --git a/sysdeps/hppa/dl-lookupcfg.h b/sysdeps/hppa/dl-lookupcfg.h
+index c36928c..dea1809 100644
+--- a/sysdeps/hppa/dl-lookupcfg.h
++++ b/sysdeps/hppa/dl-lookupcfg.h
+@@ -75,7 +75,9 @@ void attribute_hidden _dl_unmap (struct link_map *map);
+ 
+ /* Construct a fixup value from the address and linkmap */
+ #define DL_FIXUP_MAKE_VALUE(map, addr) \
+-   ((struct fdesc) { (addr), (map)->l_info[DT_PLTGOT]->d_un.d_ptr })
++  (map) ? ((struct fdesc) { (addr), (map)->l_info[DT_PLTGOT]->d_un.d_ptr }) \
++	: ((struct fdesc) { 0, 0 })
++
+ 
+ /* Extract the code address from a fixup value */
+ #define DL_FIXUP_VALUE_CODE_ADDR(value) ((value).ip)
+diff --git a/sysdeps/hppa/dl-trampoline.S b/sysdeps/hppa/dl-trampoline.S
+index 22f484a..64f0966 100644
+--- a/sysdeps/hppa/dl-trampoline.S
++++ b/sysdeps/hppa/dl-trampoline.S
+@@ -82,6 +82,11 @@ _dl_runtime_resolve:
+ 	bl	_dl_fixup,%rp
+ 	copy	%r21,%r19		/* set fixup func ltp */
+ 
++	/* Sometimes a final executable may attempt to call an undefined
++	   weak function (e.g., __gmon_start__).  Return if the function
++	   was not resolved by _dl_fixup */
++	comib,=	0,%r28,1f
++
+ 	/* Load up the returned func descriptor */
+ 	copy	%r28, %r22
+ 	copy	%r29, %r19
+@@ -107,6 +112,13 @@ _dl_runtime_resolve:
+ 	/* Jump to new function, but return to previous function */
+ 	bv	%r0(%r22)
+ 	ldw	-20(%sp),%rp
++
++1:
++	/* Return to previous function */
++	ldw	-148(%sp),%rp
++	bv	%r0(%rp)
++	ldo	-128(%sp),%sp
++
+         .EXIT
+         .PROCEND
+ 	cfi_endproc

Added: glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-mathdef.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-mathdef.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/hppa/submitted-mathdef.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,58 @@
+2015-11-30  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* sysdeps/unix/sysv/linux/hppa/libc.abilist: Add __finitel, __isinfl,
+	and __isnanl.
+        * sysdeps/unix/sysv/linux/hppa/libm.abilist: Add _finitel.
+
+2015-11-22  John David Anglin  <danglin@gcc.gnu.org>
+
+	[BZ #19270]
+	* sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
+
+--- a/sysdeps/hppa/fpu/bits/mathdef.h
++++ b/sysdeps/hppa/fpu/bits/mathdef.h
+@@ -34,5 +34,10 @@
+ 
+ #endif	/* ISO C99 */
+ 
+-/* On hppa `long double' is 64-bits. */
+-#undef __NO_LONG_DOUBLE_MATH
++#ifndef __NO_LONG_DOUBLE_MATH
++/* On hppa `long double' and `double' are  64-bits.  So, libm is built
++   with NO_LONG_DOUBLE defined.  The following define ensures the library
++   and headers are consistent.  This disables the declaration of all the
++   `long double' function variants.  */
++# define __NO_LONG_DOUBLE_MATH	1
++#endif
+--- a/sysdeps/unix/sysv/linux/hppa/libc.abilist
++++ b/sysdeps/unix/sysv/linux/hppa/libc.abilist
+@@ -274,6 +274,7 @@
+  __ffs F
+  __finite F
+  __finitef F
++ __finitel F
+  __flbf F
+  __fork F
+  __fpending F
+@@ -305,9 +306,11 @@
+  __isgraph_l F
+  __isinf F
+  __isinff F
++ __isinfl F
+  __islower_l F
+  __isnan F
+  __isnanf F
++ __isnanl F
+  __isprint_l F
+  __ispunct_l F
+  __isspace_l F
+--- a/sysdeps/unix/sysv/linux/hppa/libm.abilist
++++ b/sysdeps/unix/sysv/linux/hppa/libm.abilist
+@@ -66,6 +66,7 @@
+  __clog10l F
+  __finite F
+  __finitef F
++ __finitel F
+  __fpclassify F
+  __fpclassifyf F
+  __signbit F

Added: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/cvs-hidden.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/cvs-hidden.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/cvs-hidden.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,173 @@
+--- a/sysdeps/i386/setjmp.S
++++ b/sysdeps/i386/setjmp.S
+@@ -55,3 +55,4 @@
+ 	jmp __sigjmp_save
+ #endif
+ END (__sigsetjmp)
++hidden_def (__sigsetjmp)
+--- a/sysdeps/mach/hurd/accept4.c
++++ b/sysdeps/mach/hurd/accept4.c
+@@ -95,5 +95,4 @@
+ 
+   return _hurd_intern_fd (new, O_IGNORE_CTTY | flags, 1);
+ }
+-libc_hidden_def (__libc_accept4)
+ weak_alias (__libc_accept4, accept4)
+--- a/sysdeps/mach/hurd/dl-sysdep.c
++++ b/sysdeps/mach/hurd/dl-sysdep.c
+@@ -55,7 +55,8 @@
+ int __libc_multiple_libcs = 0;	/* Defining this here avoids the inclusion
+ 				   of init-first.  */
+ /* This variable contains the lowest stack address ever used.  */
+-void *__libc_stack_end;
++void *__libc_stack_end = NULL;
++rtld_hidden_data_def(__libc_stack_end)
+ 
+ #if HP_TIMING_AVAIL
+ hp_timing_t _dl_cpuclock_offset;
+--- a/sysdeps/mach/hurd/fxstatat64.c
++++ b/sysdeps/mach/hurd/fxstatat64.c
+@@ -43,3 +43,4 @@
+ 
+   return __hurd_fail (err);
+ }
++libc_hidden_def (__fxstatat64)
+--- a/sysdeps/mach/hurd/if_index.c
++++ b/sysdeps/mach/hurd/if_index.c
+@@ -65,7 +65,9 @@
+     }
+   free (ifn);
+ }
++libc_hidden_def (__if_freenameindex)
+ weak_alias (__if_freenameindex, if_freenameindex)
++libc_hidden_weak (if_freenameindex)
+ 
+ /* Return an array of if_nameindex structures, one for each network
+    interface present, plus one indicating the end of the array.  On
+@@ -152,6 +154,7 @@
+   return idx;
+ }
+ weak_alias (__if_nameindex, if_nameindex)
++libc_hidden_weak (if_nameindex)
+ 
+ /* Store the name of the interface corresponding to index IFINDEX in
+    IFNAME (which has space for at least IFNAMSIZ characters).  Return
+--- a/sysdeps/mach/hurd/open.c
++++ b/sysdeps/mach/hurd/open.c
+@@ -56,5 +56,5 @@
+ /* open64 is just the same as open for us.  */
+ weak_alias (__libc_open, __libc_open64)
+ weak_alias (__libc_open, __open64)
+-libc_hidden_weak (_open64)
++libc_hidden_weak (__open64)
+ weak_alias (__libc_open, open64)
+--- a/sysdeps/mach/hurd/sigwait.c
++++ b/sysdeps/mach/hurd/sigwait.c
+@@ -134,4 +134,5 @@
+   return 0;
+ }
+ 
++libc_hidden_def (__sigwait)
+ weak_alias (__sigwait, sigwait)
+--- a/sysdeps/mach/hurd/xmknodat.c
++++ b/sysdeps/mach/hurd/xmknodat.c
+@@ -115,3 +115,5 @@
+     return __hurd_fail (err);
+   return 0;
+ }
++
++libc_hidden_def (__xmknodat)
+--- a/sysdeps/mach/nanosleep.c
++++ b/sysdeps/mach/nanosleep.c
+@@ -19,10 +19,11 @@
+ #include <errno.h>
+ #include <mach.h>
+ #include <sys/time.h>
++#include <time.h>
+ #include <unistd.h>
+ 
+ int
+-__nanosleep (const struct timespec *requested_time,
++__libc_nanosleep (const struct timespec *requested_time,
+ 	     struct timespec *remaining)
+ {
+   mach_port_t recv;
+@@ -64,5 +65,6 @@
+ 
+   return 0;
+ }
++weak_alias(__libc_nanosleep, __nanosleep)
+ libc_hidden_def (__nanosleep)
+-weak_alias (__nanosleep, nanosleep)
++weak_alias (__libc_nanosleep, nanosleep)
+--- a/libpthread/sysdeps/generic/raise.c
++++ b/libpthread/sysdeps/generic/raise.c
+@@ -19,6 +19,7 @@
+    <http://www.gnu.org/licenses/>.  */
+ 
+ #include <pthread.h>
++#include <signal.h>
+ 
+ #pragma weak pthread_kill
+ #pragma weak pthread_self
+@@ -43,3 +44,5 @@
+   return 0;
+ }
+ 
++libc_hidden_def (raise)
++weak_alias (raise, gsignal)
+--- a/libpthread/sysdeps/generic/pt-key-create.c
++++ b/libpthread/sysdeps/generic/pt-key-create.c
+@@ -21,9 +21,10 @@
+ #include <pt-internal.h>
+ 
+ int
+-pthread_key_create (pthread_key_t *key, void (*destructor) (void *))
++__pthread_key_create (pthread_key_t *key, void (*destructor) (void *))
+ {
+   return ENOSYS;
+ }
+ 
++strong_alias (__pthread_key_create, pthread_key_create)
+ stub_warning (pthread_key_create)
+--- a/libpthread/sysdeps/hurd/pt-key-create.c
++++ b/libpthread/sysdeps/hurd/pt-key-create.c
+@@ -108,4 +108,3 @@
+   return 0;
+ }
+ strong_alias (__pthread_key_create, pthread_key_create)
+-hidden_def (__pthread_key_create)
+--- /dev/null
++++ b/libpthread/sysdeps/generic/shm-directory.h
+@@ -0,0 +1,31 @@
++/* Header for directory for shm/sem files.  libpthread version.
++   Copyright (C) 2014-2015 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   <http://www.gnu.org/licenses/>.  */
++
++#ifndef _SHM_DIRECTORY_H
++
++#include <sysdeps/posix/shm-directory.h>
++
++/* For libpthread the __shm_directory function lives in libpthread.
++   We don't want PLT calls from there.  But it's also used from
++   librt, so it cannot just be declared hidden.  */
++
++#if IS_IN (libpthread)
++hidden_proto (__shm_directory)
++#endif
++
++#endif  /* shm-directory.h */

Added: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/local-mach_print.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/local-mach_print.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/local-mach_print.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,12 @@
+Index: glibc-2.21/mach/Versions
+===================================================================
+--- glibc-2.21.orig/mach/Versions
++++ glibc-2.21/mach/Versions
+@@ -56,6 +56,7 @@ libc {
+   }
+   GLIBC_2.21 {
+     __mach_host_self_;
++    mach_print;
+   }
+ 
+   HURD_CTHREADS_0.3 {

Modified: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-bind_umask2.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-bind_umask2.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-bind_umask2.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -7,6 +7,10 @@
         succeed, before calling __file_chmod to fix the mode according to umask,
         before calling __dir_link to show the file.
 
+Part of the original fix was commited, the other hasn't been yet, see Roland's
+"Harumph" reply to
+https://sourceware.org/ml/libc-alpha/2014-08/msg00408.html
+
 ---
  bind.c |   17 +++++++++++------
  1 file changed, 11 insertions(+), 6 deletions(-)

Modified: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-handle-eprototype.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-handle-eprototype.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/submitted-handle-eprototype.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -83,7 +83,7 @@
 +					     && (errno == EINVAL || errno == EPROTOTYPE) ? -1 : 1);
  #endif
  			}
- 			if (__builtin_expect (__have_o_nonblock < 0, 0))
+ 			if (__glibc_unlikely (__have_o_nonblock < 0))
 @@ -945,7 +945,7 @@ reopen (res_state statp, int *terrno, in
  				if (__have_o_nonblock == 0)
  					__have_o_nonblock
@@ -92,7 +92,7 @@
 +					     && (errno == EINVAL || errno == EPROTOTYPE) ? -1 : 1);
  #endif
  			}
- 			if (__builtin_expect (__have_o_nonblock < 0, 0))
+ 			if (__glibc_unlikely (__have_o_nonblock < 0))
 --- a/sunrpc/clnt_udp.c
 +++ b/sunrpc/clnt_udp.c
 @@ -180,7 +180,7 @@ __libc_clntudp_bufcreate (struct sockadd

Modified: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-context_functions.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-context_functions.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-context_functions.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -102,7 +102,7 @@
 +	movl	%eax, 8(%esp)
 +	movl	$0, 4(%esp)
 +	movl	$SIG_BLOCK, (%esp)
-+	call	HIDDEN_JUMPTARGET (__sigprocmask)
++	call	JUMPTARGET (__sigprocmask)
 +	addl	$12, %esp
 +	cfi_adjust_cfa_offset (-12)
 +	/* Propagate %eax (and errno, in case).  */
@@ -363,7 +363,7 @@
 +	leal	oSIGMASK(%eax), %eax
 +	movl	%eax, 4(%esp)
 +	movl	$SIG_SETMASK, (%esp)
-+	call	HIDDEN_JUMPTARGET (__sigprocmask)
++	call	JUMPTARGET (__sigprocmask)
 +	addl	$12, %esp
 +	cfi_adjust_cfa_offset (-12)
 +	testl	%eax, %eax
@@ -490,7 +490,7 @@
 +	leal	oSIGMASK(%ecx), %eax
 +	movl	%eax, 4(%esp)
 +	movl	$SIG_SETMASK, (%esp)
-+	call	HIDDEN_JUMPTARGET (__sigprocmask)
++	call	JUMPTARGET (__sigprocmask)
 +	addl	$12, %esp
 +	cfi_adjust_cfa_offset (-12)
 +	testl	%eax, %eax

Modified: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-pagesize.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-pagesize.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-pagesize.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -23,9 +23,9 @@
 --- a/elf/rtld.c
 +++ b/elf/rtld.c
 @@ -164,7 +164,7 @@ struct rtld_global_ro _rtld_global_ro at
+     ._dl_hwcap_mask = HWCAP_IMPORTANT,
      ._dl_lazy = 1,
      ._dl_fpu_control = _FPU_DEFAULT,
-     ._dl_pointer_guard = 1,
 -    ._dl_pagesize = EXEC_PAGESIZE,
 +    ._dl_pagesize = /* EXEC_PAGESIZE */ 4096,
      ._dl_inhibit_cache = 0,

Modified: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-tls-threadvar.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-tls-threadvar.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/tg-tls-threadvar.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -4,6 +4,8 @@
 replace the custom threadvar mechanism with generic TLS.
 That will fix sigaltstack.
 
+Note: the added reply_port and _hurd_sigstate fields should be kept last.
+
 ---
  hurd/Versions                               |  7 +--
  hurd/hurd/signal.h                          | 24 +++++----
@@ -229,7 +231,7 @@
  
  /* Linked-list of per-thread signal state.  */
  struct hurd_sigstate *_hurd_sigstates;
-@@ -234,11 +234,11 @@ abort_thread (struct hurd_sigstate *ss,
+@@ -234,14 +234,14 @@ abort_thread (struct hurd_sigstate *ss,
     that this location can be set without faulting, or else return NULL.  */
  
  static mach_port_t *
@@ -243,7 +245,11 @@
 +  mach_port_t *portloc = &THREAD_TCB(thread, thread_state)->reply_port;
  
    if (sigthread && _hurdsig_catch_memory_fault (portloc))
-     /* Faulted trying to read the stack.  */
+-    /* Faulted trying to read the stack.  */
++    /* Faulted trying to read the TCB.  */
+     return NULL;
+ 
+   /* Fault now if this pointer is bogus.  */
 @@ -323,7 +323,8 @@ _hurdsig_abort_rpcs (struct hurd_sigstat
  	   our nonzero return tells the trampoline code to finish the message
  	   receive operation before running the handler.  */
@@ -381,7 +387,7 @@
    GLIBC_PRIVATE {
      # Functions shared with the dynamic linker
      __libc_read; __libc_write; __libc_lseek64;
-+    __libc_lock_self0; __libc_get_lock_self;
++    __libc_lock_self0;
  
      _dl_init_first;
    }
@@ -398,7 +404,7 @@
  
      # functions that must be shared with libc
      __libc_read; __libc_write; __libc_lseek64;
-+    __libc_lock_self0; __libc_get_lock_self;
++    __libc_lock_self0;
    }
  }
 --- a/sysdeps/mach/hurd/bits/libc-lock.h
@@ -411,17 +417,13 @@
  
  typedef struct mutex __libc_lock_t;
  typedef struct
-@@ -35,7 +34,12 @@ typedef struct
+@@ -35,7 +34,8 @@ typedef struct
  } __libc_lock_recursive_t;
  typedef __libc_lock_recursive_t __rtld_lock_recursive_t;
  
 -#define __libc_lock_owner_self() ((void *) __hurd_threadvar_location (0))
 +extern char __libc_lock_self0[0];
-+/* We have to hide the __libc_lock_self access behind a function call,
-+   otherwise gcc >= 4.9 would try to prefetch the TLS dereference even before
-+   the __LIBC_NO_TLS test is finished... */
-+extern void *__libc_get_lock_self(void);
-+#define __libc_lock_owner_self() (__LIBC_NO_TLS() ? &__libc_lock_self0 : __libc_get_lock_self())
++#define __libc_lock_owner_self() (__LIBC_NO_TLS() ? &__libc_lock_self0 : THREAD_SELF)
  
  #else
  typedef struct __libc_lock_opaque__ __libc_lock_t;
@@ -464,25 +466,12 @@
 -#endif	/* bits/libc-tsd.h */
 --- a/sysdeps/mach/hurd/cthreads.c
 +++ b/sysdeps/mach/hurd/cthreads.c
-@@ -19,6 +19,21 @@
+@@ -19,6 +19,8 @@ 
  #include <errno.h>
  #include <stdlib.h>
  
 +char __libc_lock_self0[0];
-+#if IS_IN (rtld)
-+/* We don't support static tls relocation so early, but we do not have threads
-+   there either anyway.  */
-+static char __libc_lock_self[0];
-+#else
-+static __thread char __libc_lock_self[0];
-+#endif
 +
-+void *
-+__libc_get_lock_self(void)
-+{
-+  return (void*) &__libc_lock_self;
-+}
-+
  /* Placeholder for key creation routine from Hurd cthreads library.  */
  int
  weak_function
@@ -679,6 +668,15 @@
  
 --- a/sysdeps/mach/hurd/i386/sigreturn.c
 +++ b/sysdeps/mach/hurd/i386/sigreturn.c
+@@ -68,7 +68,7 @@ __sigreturn (struct sigcontext *scp)
+ 
+   if (scp->sc_onstack)
+     {
+-      ss->sigaltstack.ss_flags &= ~SS_ONSTACK; /* XXX threadvars */
++      ss->sigaltstack.ss_flags &= ~SS_ONSTACK;
+       /* XXX cannot unlock until off sigstack */
+       abort ();
+     }
 @@ -77,8 +77,7 @@ __sigreturn (struct sigcontext *scp)
  
    /* Destroy the MiG reply port used by the signal handler, and restore the
@@ -691,10 +689,12 @@
        mach_port_t port = *reply_port;
 --- a/sysdeps/mach/hurd/i386/tls.h
 +++ b/sysdeps/mach/hurd/i386/tls.h
-@@ -53,6 +53,8 @@ typedef struct
+@@ -53,6 +53,10 @@ typedef struct
    void *__private_tm[4];
    /* GCC split stack support.  */
    void *__private_ss;
++
++  /* Keep this field last */
 +  mach_port_t reply_port;      /* This thread's reply port.  */
 +  struct hurd_sigstate *_hurd_sigstate;
  } tcbhead_t;

Modified: glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-NO_HIDDEN.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-NO_HIDDEN.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/hurd-i386/unsubmitted-NO_HIDDEN.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,3 +1,5 @@
+TODO: drop, now that we have hidden support.
+
 hurd-i386 defines NO_HIDDEN, thus __GI_* versions are not available.
 
 This was introduced by

Modified: glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-fbtl.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-fbtl.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-fbtl.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -13481,7 +13481,7 @@
 +sysd-rules-patterns += ptw-%:%
 --- /dev/null
 +++ b/fbtl/Makefile
-@@ -0,0 +1,636 @@
+@@ -0,0 +1,644 @@
 +# Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +# This file is part of the GNU C Library.
 +
@@ -13576,6 +13576,7 @@
 +		      old_pthread_atfork pthread_atfork \
 +		      pthread_getcpuclockid \
 +		      pthread_clock_gettime pthread_clock_settime \
++		      shm-directory \
 +		      sem_init sem_destroy \
 +		      sem_open sem_close sem_unlink \
 +		      sem_getvalue \
@@ -13628,8 +13629,6 @@
 +libpthread-shared-only-routines = version pt-allocrtsig unwind-forcedunwind
 +libpthread-static-only-routines = pthread_atfork
 +
-+CFLAGS-pthread_atfork.c = -DNOT_IN_libc
-+
 +# Since cancellation handling is in large parts handled using exceptions
 +# we have to compile some files with exception handling enabled, some
 +# even with asynchronous unwind tables.
@@ -13698,19 +13697,11 @@
 +	tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
 +	tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex5 tst-mutex6 \
 +	tst-mutex7 tst-mutex8 tst-mutex9 tst-mutex5a tst-mutex7a \
-+	tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 tst-mutexpi5 \
-+	tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a tst-mutexpi8 \
-+	tst-mutexpi9 \
 +	tst-spin1 tst-spin2 tst-spin3 \
 +	tst-cond1 tst-cond2 tst-cond3 tst-cond4 tst-cond5 tst-cond6 tst-cond7 \
 +	tst-cond8 tst-cond9 tst-cond10 tst-cond11 tst-cond12 tst-cond13 \
 +	tst-cond14 tst-cond15 tst-cond16 tst-cond17 tst-cond18 tst-cond19 \
-+	tst-cond20 tst-cond21 tst-cond22 tst-cond23 tst-cond24 tst-cond25 \
-+	tst-cond-except \
-+	tst-robust1 tst-robust2 tst-robust3 tst-robust4 tst-robust5 \
-+	tst-robust6 tst-robust7 tst-robust8 tst-robust9 \
-+	tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \
-+	tst-robustpi6 tst-robustpi7 tst-robustpi8 tst-robustpi9 \
++	tst-cond20 tst-cond21 tst-cond22 tst-cond23 \
 +	tst-rwlock1 tst-rwlock2 tst-rwlock2a tst-rwlock3 tst-rwlock4 \
 +	tst-rwlock5 tst-rwlock6 tst-rwlock7 tst-rwlock8 tst-rwlock9 \
 +	tst-rwlock10 tst-rwlock11 tst-rwlock12 tst-rwlock13 tst-rwlock14 \
@@ -13761,6 +13752,18 @@
 +	tst-vfork1 tst-vfork2 tst-vfork1x tst-vfork2x \
 +	tst-getpid1 tst-getpid2 tst-getpid3 \
 +	tst-initializers1 $(patsubst %,tst-initializers1-%,c89 gnu89 c99 gnu99)
++
++# These tests do not even compile due to missing pthread_* functions
++#	tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 tst-mutexpi5 \
++#	tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a tst-mutexpi8 \
++#	tst-mutexpi9 \
++#	tst-cond24 tst-cond25 \
++#	tst-cond-except \
++#	tst-robust1 tst-robust2 tst-robust3 tst-robust4 tst-robust5 \
++#	tst-robust6 tst-robust7 tst-robust8 tst-robust9 \
++#	tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \
++#	tst-robustpi6 tst-robustpi7 tst-robustpi8 tst-robustpi9 \
++
 +xtests = tst-setuid1 tst-setuid1-static tst-mutexpp1 tst-mutexpp6 tst-mutexpp10
 +test-srcs = tst-oddstacklimit
 +
@@ -13846,11 +13849,16 @@
 +
 +tests-static += tst-locale1 tst-locale2 tst-stackguard1-static \
 +		tst-cancel21-static tst-cancel24-static tst-cond8-static \
-+		tst-mutex8-static tst-mutexpi8-static tst-sem11-static \
++		tst-mutex8-static tst-sem11-static \
 +		tst-sem12-static
++# This test does not even compile due to missing pthread_* functions
++#		tst-mutexpi8-static
 +tests += tst-stackguard1-static tst-cancel21-static tst-cancel24-static \
-+	 tst-cond8-static tst-mutex8-static tst-mutexpi8-static \
++	 tst-cond8-static tst-mutex8-static \
 +	 tst-sem11-static tst-sem12-static
++# This test does not even compile due to missing pthread_* functions
++#	 tst-mutexpi8-static
++
 +xtests-static += tst-setuid1-static
 +
 +# These tests are linked with libc before libpthread
@@ -14119,625 +14127,6 @@
 +.NOTPARALLEL:
 +endif
 --- /dev/null
-+++ b/fbtl/Makefile.glibc_2.18
-@@ -0,0 +1,616 @@
-+# Copyright (C) 2002-2013 Free Software Foundation, Inc.
-+# This file is part of the GNU C Library.
-+
-+# The GNU C Library is free software; you can redistribute it and/or
-+# modify it under the terms of the GNU Lesser General Public
-+# License as published by the Free Software Foundation; either
-+# version 2.1 of the License, or (at your option) any later version.
-+
-+# The GNU C Library is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-+# Lesser General Public License for more details.
-+
-+# You should have received a copy of the GNU Lesser General Public
-+# License along with the GNU C Library; if not, see
-+# <http://www.gnu.org/licenses/>.
-+
-+#
-+#	Sub-makefile for NPTL portion of the library.
-+#
-+subdir	:= fbtl
-+
-+headers := pthread.h semaphore.h bits/semaphore.h
-+
-+extra-libs := libpthread
-+extra-libs-others := $(extra-libs)
-+install-lib-ldscripts := libpthread.so
-+
-+routines = alloca_cutoff forward libc-lowlevellock libc-cancellation \
-+	   libc-cleanup
-+shared-only-routines = forward
-+
-+libpthread-routines = nptl-init vars events version \
-+		      pthread_create pthread_exit pthread_detach \
-+		      pthread_join pthread_tryjoin pthread_timedjoin \
-+		      pthread_self pthread_equal pthread_yield \
-+		      pthread_getconcurrency pthread_setconcurrency \
-+		      pthread_getschedparam pthread_setschedparam \
-+		      pthread_setschedprio \
-+		      pthread_attr_init pthread_attr_destroy \
-+		      pthread_attr_getdetachstate pthread_attr_setdetachstate \
-+		      pthread_attr_getguardsize pthread_attr_setguardsize \
-+		      pthread_attr_getschedparam pthread_attr_setschedparam \
-+		      pthread_attr_getschedpolicy pthread_attr_setschedpolicy \
-+		      pthread_attr_getinheritsched \
-+		      pthread_attr_setinheritsched \
-+		      pthread_attr_getscope pthread_attr_setscope \
-+		      pthread_attr_getstackaddr pthread_attr_setstackaddr \
-+		      pthread_attr_getstacksize pthread_attr_setstacksize \
-+		      pthread_attr_getstack pthread_attr_setstack \
-+		      pthread_getattr_np \
-+		      pthread_mutex_init pthread_mutex_destroy \
-+		      pthread_mutex_lock pthread_mutex_trylock \
-+		      pthread_mutex_timedlock pthread_mutex_unlock \
-+		      pthread_mutexattr_init pthread_mutexattr_destroy \
-+		      pthread_mutexattr_getpshared \
-+		      pthread_mutexattr_setpshared \
-+		      pthread_mutexattr_gettype pthread_mutexattr_settype \
-+		      pthread_rwlock_init pthread_rwlock_destroy \
-+		      pthread_rwlock_rdlock pthread_rwlock_timedrdlock \
-+		      pthread_rwlock_wrlock pthread_rwlock_timedwrlock \
-+		      pthread_rwlock_tryrdlock pthread_rwlock_trywrlock \
-+		      pthread_rwlock_unlock \
-+		      pthread_rwlockattr_init pthread_rwlockattr_destroy \
-+		      pthread_rwlockattr_getpshared \
-+		      pthread_rwlockattr_setpshared \
-+		      pthread_rwlockattr_getkind_np \
-+		      pthread_rwlockattr_setkind_np \
-+		      pthread_cond_init pthread_cond_destroy \
-+		      pthread_cond_wait pthread_cond_timedwait \
-+		      pthread_cond_signal pthread_cond_broadcast \
-+		      old_pthread_cond_init old_pthread_cond_destroy \
-+		      old_pthread_cond_wait old_pthread_cond_timedwait \
-+		      old_pthread_cond_signal old_pthread_cond_broadcast \
-+		      pthread_condattr_init pthread_condattr_destroy \
-+		      pthread_condattr_getpshared pthread_condattr_setpshared \
-+		      pthread_condattr_getclock pthread_condattr_setclock \
-+		      pthread_spin_init pthread_spin_destroy \
-+		      pthread_spin_lock pthread_spin_trylock \
-+		      pthread_spin_unlock \
-+		      pthread_barrier_init pthread_barrier_destroy \
-+		      pthread_barrier_wait \
-+		      pthread_barrierattr_init pthread_barrierattr_destroy \
-+		      pthread_barrierattr_getpshared \
-+		      pthread_barrierattr_setpshared \
-+		      pthread_key_create pthread_key_delete \
-+		      pthread_getspecific pthread_setspecific \
-+		      pthread_sigmask pthread_kill \
-+		      pthread_cancel pthread_testcancel \
-+		      pthread_setcancelstate pthread_setcanceltype \
-+		      pthread_once \
-+		      old_pthread_atfork pthread_atfork \
-+		      pthread_getcpuclockid \
-+		      pthread_clock_gettime pthread_clock_settime \
-+		      sem_init sem_destroy \
-+		      sem_open sem_close sem_unlink \
-+		      sem_getvalue \
-+		      sem_wait sem_trywait sem_timedwait sem_post \
-+		      cleanup cleanup_defer cleanup_compat \
-+		      cleanup_defer_compat unwind \
-+		      pt-longjmp pt-cleanup\
-+		      cancellation \
-+		      lowlevellock \
-+		      pt-vfork \
-+		      ptw-write ptw-read ptw-close ptw-fcntl ptw-accept \
-+		      ptw-connect ptw-recv ptw-recvfrom ptw-recvmsg ptw-send \
-+		      ptw-sendmsg ptw-sendto ptw-fsync ptw-lseek ptw-llseek \
-+		      ptw-msync ptw-nanosleep ptw-open ptw-open64 ptw-pause \
-+		      ptw-pread ptw-pread64 ptw-pwrite ptw-pwrite64 \
-+		      ptw-tcdrain ptw-wait ptw-waitpid ptw-msgrcv ptw-msgsnd \
-+		      ptw-sigwait ptw-sigsuspend \
-+		      pt-raise pt-system \
-+		      flockfile ftrylockfile funlockfile \
-+		      sigaction \
-+		      herrno res pt-allocrtsig \
-+		      pthread_kill_other_threads \
-+		      cleanup_routine unwind-forcedunwind \
-+
-+# 		lowlevelrobustlock
-+#		pthread_sigqueue
-+		      
-+# post linuxthreads interfaces
-+#		      pthread_getaffinity pthread_setaffinity \
-+#		      pthread_attr_getaffinity pthread_attr_setaffinity \
-+#		      pthread_mutexattr_getrobust pthread_mutexattr_setrobust \
-+#		      pthread_mutex_consistent \
-+#		      pthread_mutexattr_getprotocol \
-+#		      pthread_mutexattr_setprotocol \
-+#		      pthread_mutexattr_getprioceiling \
-+#		      pthread_mutexattr_setprioceiling tpp \
-+#		      pthread_mutex_getprioceiling \
-+#		      pthread_mutex_setprioceiling \
-+#		      pthread_setname pthread_getname \
-+#		      pthread_setattr_default_np pthread_getattr_default_np
-+		      
-+		      
-+# commented out also in nptl
-+#		      pthread_setuid pthread_seteuid pthread_setreuid \
-+#		      pthread_setresuid \
-+#		      pthread_setgid pthread_setegid pthread_setregid \
-+#		      pthread_setresgid
-+
-+libpthread-shared-only-routines = version pt-allocrtsig unwind-forcedunwind
-+libpthread-static-only-routines = pthread_atfork
-+
-+CFLAGS-pthread_atfork.c = -DNOT_IN_libc
-+
-+# Since cancellation handling is in large parts handled using exceptions
-+# we have to compile some files with exception handling enabled, some
-+# even with asynchronous unwind tables.
-+
-+# nptl-init.c contains sigcancel_handler().
-+CFLAGS-nptl-init.c = -fexceptions -fasynchronous-unwind-tables
-+# The unwind code itself,
-+CFLAGS-unwind.c = -fexceptions
-+CFLAGS-unwind-forcedunwind.c = -fexceptions -fasynchronous-unwind-tables
-+
-+# The following three functions must be async-cancel safe.
-+CFLAGS-pthread_cancel.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pthread_setcancelstate.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pthread_setcanceltype.c = -fexceptions -fasynchronous-unwind-tables
-+
-+# These are internal functions which similar functionality as setcancelstate
-+# and setcanceltype.
-+CFLAGS-cancellation.c = -fasynchronous-unwind-tables
-+CFLAGS-libc-cancellation.c = -fasynchronous-unwind-tables
-+
-+# Calling pthread_exit() must cause the registered cancel handlers to
-+# be executed.  Therefore exceptions have to be thrown through this
-+# function.
-+CFLAGS-pthread_exit.c = -fexceptions
-+
-+# Among others, __pthread_unwind is forwarded.  This function must handle
-+# exceptions.
-+CFLAGS-forward.c = -fexceptions
-+
-+# The following are cancellation points.  Some of the functions can
-+# block and therefore temporarily enable asynchronous cancellation.
-+# Those must be compiled asynchronous unwind tables.
-+CFLAGS-pthread_testcancel.c = -fexceptions
-+CFLAGS-pthread_join.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pthread_timedjoin.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pthread_once.c = $(uses-callbacks) -fexceptions \
-+			-fasynchronous-unwind-tables
-+CFLAGS-pthread_cond_wait.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pthread_cond_timedwait.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-sem_wait.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-sem_timedwait.c = -fexceptions -fasynchronous-unwind-tables
-+
-+# These are the function wrappers we have to duplicate here.
-+CFLAGS-fcntl.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-lockf.c = -fexceptions
-+CFLAGS-pread.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pread64.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pwrite.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pwrite64.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-wait.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-waitpid.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-sigwait.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-msgrcv.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-msgsnd.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-tcdrain.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-open.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-open64.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-pause.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-recv.c = -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-send.c = -fexceptions -fasynchronous-unwind-tables
-+
-+CFLAGS-pt-system.c = -fexceptions
-+
-+
-+tests = tst-typesizes \
-+	tst-attr1 tst-attr2 tst-attr3 tst-default-attr \
-+	tst-mutex1 tst-mutex2 tst-mutex3 tst-mutex4 tst-mutex5 tst-mutex6 \
-+	tst-mutex7 tst-mutex8 tst-mutex9 tst-mutex5a tst-mutex7a \
-+	tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 tst-mutexpi5 \
-+	tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a tst-mutexpi8 \
-+	tst-mutexpi9 \
-+	tst-spin1 tst-spin2 tst-spin3 \
-+	tst-cond1 tst-cond2 tst-cond3 tst-cond4 tst-cond5 tst-cond6 tst-cond7 \
-+	tst-cond8 tst-cond9 tst-cond10 tst-cond11 tst-cond12 tst-cond13 \
-+	tst-cond14 tst-cond15 tst-cond16 tst-cond17 tst-cond18 tst-cond19 \
-+	tst-cond20 tst-cond21 tst-cond22 tst-cond23 tst-cond24 tst-cond25 \
-+	tst-cond-except \
-+	tst-robust1 tst-robust2 tst-robust3 tst-robust4 tst-robust5 \
-+	tst-robust6 tst-robust7 tst-robust8 tst-robust9 \
-+	tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \
-+	tst-robustpi6 tst-robustpi7 tst-robustpi8 tst-robustpi9 \
-+	tst-rwlock1 tst-rwlock2 tst-rwlock2a tst-rwlock3 tst-rwlock4 \
-+	tst-rwlock5 tst-rwlock6 tst-rwlock7 tst-rwlock8 tst-rwlock9 \
-+	tst-rwlock10 tst-rwlock11 tst-rwlock12 tst-rwlock13 tst-rwlock14 \
-+	tst-once1 tst-once2 tst-once3 tst-once4 \
-+	tst-key1 tst-key2 tst-key3 tst-key4 \
-+	tst-sem1 tst-sem2 tst-sem3 tst-sem4 tst-sem5 tst-sem6 tst-sem7 \
-+	tst-sem8 tst-sem9 tst-sem10 tst-sem11 tst-sem12 tst-sem13 tst-sem14 \
-+	tst-barrier1 tst-barrier2 tst-barrier3 tst-barrier4 \
-+	tst-align tst-align2 tst-align3 \
-+	tst-basic1 tst-basic2 tst-basic3 tst-basic4 tst-basic5 tst-basic6 \
-+	tst-basic7 \
-+	tst-kill1 tst-kill2 tst-kill3 tst-kill4 tst-kill5 tst-kill6 \
-+	tst-raise1 \
-+	tst-join1 tst-join2 tst-join3 tst-join4 tst-join5 tst-join6 \
-+	tst-detach1 \
-+	tst-eintr1 tst-eintr2 tst-eintr3 tst-eintr4 tst-eintr5 \
-+	tst-tsd1 tst-tsd2 tst-tsd3 tst-tsd4 tst-tsd5 tst-tsd6 \
-+	tst-tls1 tst-tls2 \
-+	tst-fork1 tst-fork2 tst-fork3 tst-fork4 \
-+	tst-atfork1 \
-+	tst-cancel1 tst-cancel2 tst-cancel3 tst-cancel4 tst-cancel5 \
-+	tst-cancel6 tst-cancel7 tst-cancel8 tst-cancel9 tst-cancel10 \
-+	tst-cancel11 tst-cancel12 tst-cancel13 tst-cancel14 tst-cancel15 \
-+	tst-cancel16 tst-cancel17 tst-cancel18 tst-cancel19 tst-cancel20 \
-+	tst-cancel21 tst-cancel22 tst-cancel23 tst-cancel24 tst-cancel25 \
-+	tst-cancel-self tst-cancel-self-cancelstate \
-+	tst-cancel-self-canceltype tst-cancel-self-testcancel \
-+	tst-cleanup0 tst-cleanup1 tst-cleanup2 tst-cleanup3 tst-cleanup4 \
-+	tst-flock1 tst-flock2 \
-+	tst-signal1 tst-signal2 tst-signal3 tst-signal4 tst-signal5 \
-+	tst-signal6 tst-signal7 \
-+	tst-exec1 tst-exec2 tst-exec3 tst-exec4 \
-+	tst-exit1 tst-exit2 tst-exit3 \
-+	tst-stdio1 tst-stdio2 \
-+	tst-stack1 tst-stack2 tst-stack3 tst-pthread-getattr \
-+	tst-pthread-attr-affinity \
-+	tst-unload \
-+	tst-dlsym1 \
-+	tst-sysconf \
-+	tst-locale1 tst-locale2 \
-+	tst-umask1 \
-+	tst-popen1 \
-+	tst-clock1 \
-+	tst-context1 \
-+	tst-sched1 \
-+	tst-backtrace1 \
-+	tst-abstime \
-+	tst-vfork1 tst-vfork2 tst-vfork1x tst-vfork2x \
-+	tst-getpid1 tst-getpid2 tst-getpid3 \
-+	tst-initializers1 $(patsubst %,tst-initializers1-%,c89 gnu89 c99 gnu99)
-+xtests = tst-setuid1 tst-setuid1-static tst-mutexpp1 tst-mutexpp6 tst-mutexpp10
-+test-srcs = tst-oddstacklimit
-+
-+# Files which must not be linked with libpthread.
-+tests-nolibpthread = tst-unload
-+
-+gen-as-const-headers = pthread-errnos.sym
-+
-+LDFLAGS-pthread.so = -Wl,--enable-new-dtags,-z,nodelete,-z,initfirst
-+
-+include ../Makeconfig
-+
-+ifeq ($(have-forced-unwind),yes)
-+tests += tst-cancelx2 tst-cancelx3 tst-cancelx4 tst-cancelx5 \
-+	 tst-cancelx6 tst-cancelx7 tst-cancelx8 tst-cancelx9 tst-cancelx10 \
-+	 tst-cancelx11 tst-cancelx12 tst-cancelx13 tst-cancelx14 tst-cancelx15 \
-+	 tst-cancelx16 tst-cancelx17 tst-cancelx18 tst-cancelx20 tst-cancelx21 \
-+	 tst-cleanupx0 tst-cleanupx1 tst-cleanupx2 tst-cleanupx3 tst-cleanupx4 \
-+	 tst-oncex3 tst-oncex4
-+endif
-+ifeq ($(build-shared),yes)
-+tests += tst-atfork2 tst-tls3 tst-tls4 tst-tls5 tst-_res1 tst-fini1 \
-+	 tst-stackguard1
-+tests-nolibpthread += tst-fini1
-+ifeq ($(have-z-execstack),yes)
-+tests += tst-execstack
-+endif
-+endif
-+
-+modules-names = tst-atfork2mod tst-tls3mod tst-tls4moda tst-tls4modb \
-+		tst-tls5mod tst-tls5moda tst-tls5modb tst-tls5modc \
-+		tst-tls5modd tst-tls5mode tst-tls5modf \
-+		tst-_res1mod1 tst-_res1mod2 tst-execstack-mod tst-fini1mod
-+extra-test-objs += $(addsuffix .os,$(strip $(modules-names))) tst-cleanup4aux.o
-+test-extras += $(modules-names) tst-cleanup4aux
-+test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
-+
-+tst-atfork2mod.so-no-z-defs = yes
-+tst-tls3mod.so-no-z-defs = yes
-+tst-tls5mod.so-no-z-defs = yes
-+tst-tls5moda.so-no-z-defs = yes
-+tst-tls5modb.so-no-z-defs = yes
-+tst-tls5modc.so-no-z-defs = yes
-+tst-tls5modd.so-no-z-defs = yes
-+tst-tls5mode.so-no-z-defs = yes
-+tst-tls5modf.so-no-z-defs = yes
-+
-+ifeq ($(build-shared),yes)
-+# Build all the modules even when not actually running test programs.
-+tests: $(test-modules)
-+endif
-+
-+ifeq ($(build-shared),yes)
-+
-+# Set the `multidir' variable by grabbing the variable from the compiler.
-+# We do it once and save the result in a generated makefile.
-+-include $(objpfx)multidir.mk
-+$(objpfx)multidir.mk: $(common-objpfx)config.make
-+	$(make-target-directory)
-+	dir=`$(CC) $(CFLAGS) $(CPPFLAGS) -print-multi-directory`; \
-+	echo "multidir := $$dir" > $@T
-+	mv -f $@T $@
-+
-+crti-objs := crti.o
-+crtn-objs := crtn.o
-+ifneq (,$(patsubst .,,$(multidir)))
-+generated-dirs := $(firstword $(subst /, , $(multidir)))
-+crti-objs += $(multidir)/crti.o
-+crtn-objs += $(multidir)/crtn.o
-+$(objpfx)$(multidir):
-+	mkdir -p $@
-+endif
-+extra-objs += $(crti-objs) $(crtn-objs)
-+extra-objs += pt-crti.o
-+endif
-+
-+CFLAGS-flockfile.c = $(libio-mtsafe)
-+CFLAGS-ftrylockfile.c = $(libio-mtsafe)
-+CFLAGS-funlockfile.c = $(libio-mtsafe)
-+
-+link-libc-static := $(common-objpfx)libc.a $(static-gnulib) \
-+		    $(common-objpfx)libc.a
-+
-+tests-static += tst-locale1 tst-locale2 tst-stackguard1-static \
-+		tst-cancel21-static tst-cancel24-static tst-cond8-static \
-+		tst-mutex8-static tst-mutexpi8-static tst-sem11-static \
-+		tst-sem12-static
-+tests += tst-stackguard1-static tst-cancel21-static tst-cancel24-static \
-+	 tst-cond8-static tst-mutex8-static tst-mutexpi8-static \
-+	 tst-sem11-static tst-sem12-static
-+xtests-static += tst-setuid1-static
-+
-+# These tests are linked with libc before libpthread
-+tests-reverse += tst-cancel5 tst-cancel23 tst-vfork1x tst-vfork2x
-+
-+include ../Rules
-+
-+ifeq (yes,$(build-shared))
-+# Make sure these things are built in the `make lib' pass so they can be used
-+# to run programs during the `make others' pass.
-+lib-noranlib: $(addprefix $(objpfx),$(extra-objs))
-+
-+# What we install as libpthread.so for programs to link against is in fact a
-+# link script.  It contains references for the various libraries we need.
-+# The libpthread.so object is not complete since some functions are only
-+# defined in libpthread_nonshared.a.
-+# We need to use absolute paths since otherwise local copies (if they exist)
-+# of the files are taken by the linker.
-+install: $(inst_libdir)/libpthread.so
-+
-+$(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
-+			      $(objpfx)libpthread.so$(libpthread.so-version) \
-+			      $(inst_libdir)/$(patsubst %,$(libtype.oS),\
-+							$(libprefix)pthread) \
-+			      $(+force)
-+	(echo '/* GNU ld script';\
-+	 echo '   Use the shared library, but some functions are only in';\
-+	 echo '   the static library, so try that secondarily.  */';\
-+	 cat $<; \
-+	 echo 'GROUP ( $(slibdir)/libpthread.so$(libpthread.so-version)' \
-+	      '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)pthread)'\
-+	      ')' \
-+	) > $@.new
-+	mv -f $@.new $@
-+endif
-+
-+
-+# 'pthread_self' is a simple memory or register load.  Setting up the
-+# stack frame is more work than the actual operation.  Disable the
-+# frame creation entirely.  This will help applications which call the
-+# function frequently to get a thread-specific handle.
-+CFLAGS-pthread_self.os += -fomit-frame-pointer
-+
-+# Run the cancellation and cleanup tests also for the modern, exception-based
-+# implementation.  For this we have to pass the -fexceptions parameter.
-+CFLAGS-tst-cancelx2.c += -fexceptions
-+CFLAGS-tst-cancelx3.c += -fexceptions
-+CFLAGS-tst-cancelx4.c += -fexceptions
-+CFLAGS-tst-cancelx5.c += -fexceptions
-+CFLAGS-tst-cancelx6.c += -fexceptions
-+CFLAGS-tst-cancelx7.c += -fexceptions
-+CFLAGS-tst-cancelx8.c += -fexceptions
-+CFLAGS-tst-cancelx9.c += -fexceptions
-+CFLAGS-tst-cancelx10.c += -fexceptions
-+CFLAGS-tst-cancelx11.c += -fexceptions
-+CFLAGS-tst-cancelx12.c += -fexceptions
-+CFLAGS-tst-cancelx13.c += -fexceptions
-+CFLAGS-tst-cancelx14.c += -fexceptions
-+CFLAGS-tst-cancelx15.c += -fexceptions
-+CFLAGS-tst-cancelx16.c += -fexceptions
-+CFLAGS-tst-cancelx17.c += -fexceptions
-+CFLAGS-tst-cancelx18.c += -fexceptions
-+CFLAGS-tst-cancelx20.c += -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-tst-cancelx21.c += -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-tst-cleanupx0.c += -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-tst-cleanupx1.c += -fexceptions -fasynchronous-unwind-tables
-+CFLAGS-tst-cleanupx2.c += -fexceptions
-+CFLAGS-tst-cleanupx3.c += -fexceptions
-+CFLAGS-tst-cleanupx4.c += -fexceptions
-+CFLAGS-tst-oncex3.c += -fexceptions
-+CFLAGS-tst-oncex4.c += -fexceptions
-+CFLAGS-tst-align.c += $(stack-align-test-flags)
-+CFLAGS-tst-align3.c += $(stack-align-test-flags)
-+CFLAGS-tst-initializers1.c = -W -Wall -Werror
-+CFLAGS-tst-initializers1-< = $(CFLAGS-tst-initializers1.c) \
-+			     $(patsubst tst-initializers1-%.c,-std=%,$<)
-+CFLAGS-tst-initializers1-c89.c = $(CFLAGS-tst-initializers1-<)
-+CFLAGS-tst-initializers1-c99.c = $(CFLAGS-tst-initializers1-<)
-+CFLAGS-tst-initializers1-gnu89.c = $(CFLAGS-tst-initializers1-<)
-+CFLAGS-tst-initializers1-gnu99.c = $(CFLAGS-tst-initializers1-<)
-+
-+tst-cancel7-ARGS = --command "exec $(host-test-program-cmd)"
-+tst-cancelx7-ARGS = $(tst-cancel7-ARGS)
-+tst-umask1-ARGS = $(objpfx)tst-umask1.temp
-+
-+$(objpfx)tst-atfork2: $(libdl) $(shared-thread-library)
-+LDFLAGS-tst-atfork2 = -rdynamic
-+tst-atfork2-ENV = MALLOC_TRACE=$(objpfx)tst-atfork2.mtrace
-+$(objpfx)tst-atfork2mod.so: $(shared-thread-library)
-+
-+ifeq ($(run-built-tests),yes)
-+tests: $(objpfx)tst-stack3-mem
-+endif
-+tst-stack3-ENV = MALLOC_TRACE=$(objpfx)tst-stack3.mtrace
-+$(objpfx)tst-stack3-mem: $(objpfx)tst-stack3.out
-+	$(common-objpfx)malloc/mtrace $(objpfx)tst-stack3.mtrace > $@
-+generated += tst-stack3-mem tst-stack3.mtrace
-+
-+$(objpfx)tst-cleanup4: $(objpfx)tst-cleanup4aux.o $(shared-thread-library)
-+$(objpfx)tst-cleanupx4: $(objpfx)tst-cleanup4aux.o $(shared-thread-library)
-+
-+$(objpfx)tst-tls3: $(libdl) $(shared-thread-library)
-+LDFLAGS-tst-tls3 = -rdynamic
-+$(objpfx)tst-tls3.out: $(objpfx)tst-tls3mod.so
-+$(objpfx)tst-tls3mod.so: $(shared-thread-library)
-+
-+$(objpfx)tst-tls4: $(libdl) $(shared-thread-library)
-+$(objpfx)tst-tls4.out: $(objpfx)tst-tls4moda.so $(objpfx)tst-tls4modb.so
-+
-+$(objpfx)tst-tls5: $(objpfx)tst-tls5mod.so $(shared-thread-library)
-+LDFLAGS-tst-tls5 = $(no-as-needed)
-+LDFLAGS-tst-tls5mod.so = -Wl,-soname,tst-tls5mod.so
-+
-+ifeq ($(build-shared),yes)
-+ifeq ($(run-built-tests),yes)
-+tests: $(objpfx)tst-tls6.out
-+endif
-+$(objpfx)tst-tls6.out: tst-tls6.sh $(objpfx)tst-tls5 \
-+		       $(objpfx)tst-tls5moda.so $(objpfx)tst-tls5modb.so \
-+		       $(objpfx)tst-tls5modc.so $(objpfx)tst-tls5modd.so \
-+		       $(objpfx)tst-tls5mode.so $(objpfx)tst-tls5modf.so
-+	$(BASH) $< $(common-objpfx) '$(test-via-rtld-prefix)' \
-+	  '$(test-wrapper-env)'
-+endif
-+
-+$(objpfx)tst-dlsym1: $(libdl) $(shared-thread-library)
-+
-+$(objpfx)tst-fini1: $(shared-thread-library) $(objpfx)tst-fini1mod.so
-+
-+ifeq (yes,$(build-shared))
-+librt = $(common-objpfx)rt/librt.so
-+else
-+librt = $(common-objpfx)rt/librt.a
-+endif
-+
-+$(objpfx)tst-cancel17: $(librt)
-+$(objpfx)tst-cancelx17: $(librt)
-+$(objpfx)tst-_res1mod2.so: $(objpfx)tst-_res1mod1.so
-+LDFLAGS-tst-_res1mod1.so = -Wl,-soname,tst-_res1mod1.so
-+LDFLAGS-tst-_res1mod2.so = -Wl,-soname,tst-_res1mod2.so
-+$(objpfx)tst-_res1: $(objpfx)tst-_res1mod1.so $(objpfx)tst-_res1mod2.so \
-+		    $(shared-thread-library)
-+
-+LDLIBS-tst-cancel24 = $(no-as-needed) -lstdc++
-+LDLIBS-tst-cancel24-static = $(LDLIBS-tst-cancel24)
-+
-+extra-B-pthread.so = -B$(common-objpfx)fbtl/
-+$(objpfx)libpthread.so: $(addprefix $(objpfx),$(crti-objs) $(crtn-objs))
-+$(objpfx)libpthread.so: +preinit += $(addprefix $(objpfx),$(crti-objs))
-+$(objpfx)libpthread.so: +postinit += $(addprefix $(objpfx),$(crtn-objs))
-+
-+# the next rule is pre-2.18 only
-+# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
-+# This ensures they will load libc.so for needed symbols if loaded by
-+# a statically-linked program that hasn't already loaded it.
-+# Depend on ld.so too to get proper versions of ld.so symbols.
-+$(objpfx)libpthread.so: $(common-objpfx)libc.so \
-+			$(common-objpfx)libc_nonshared.a \
-+			$(elfobjdir)/ld.so
-+
-+
-+# Make sure we link with the thread library.
-+ifeq ($(build-shared),yes)
-+$(addprefix $(objpfx), \
-+  $(filter-out $(tests-static) $(xtests-static) $(tests-reverse) \
-+    $(tests-nolibpthread), \
-+    $(tests) $(xtests) $(test-srcs))): $(objpfx)libpthread.so \
-+				       $(objpfx)libpthread_nonshared.a
-+$(objpfx)tst-unload: $(common-objpfx)dlfcn/libdl.so
-+# $(objpfx)../libc.so is used instead of $(common-objpfx)libc.so,
-+# since otherwise libpthread.so comes before libc.so when linking.
-+$(addprefix $(objpfx), $(tests-reverse)): \
-+  $(objpfx)../libc.so $(objpfx)libpthread.so \
-+  $(objpfx)libpthread_nonshared.a
-+$(objpfx)../libc.so: $(common-objpfx)libc.so ;
-+$(addprefix $(objpfx),$(tests-static) $(xtests-static)): $(objpfx)libpthread.a
-+
-+$(objpfx)tst-atfork2.out: $(objpfx)tst-atfork2mod.so
-+else
-+$(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a
-+endif
-+
-+ifeq ($(build-shared),yes)
-+
-+$(objpfx)tst-cleanup0.out: /dev/null $(objpfx)tst-cleanup0
-+	$(make-test-out) 2>&1 | cmp - tst-cleanup0.expect > $@
-+
-+$(objpfx)crti.o: $(objpfx)pt-crti.o
-+	ln -f $< $@
-+
-+ifneq ($(multidir),.)
-+$(objpfx)$(multidir)/crti.o: $(objpfx)crti.o $(objpfx)$(multidir)/
-+	ln -f $< $@
-+
-+$(objpfx)$(multidir)/crtn.o: $(objpfx)crtn.o $(objpfx)$(multidir)/
-+	ln -f $< $@
-+endif
-+
-+generated += libpthread_nonshared.a \
-+	     multidir.mk tst-atfork2.mtrace tst-cancel-wrappers.out \
-+	     tst-tls6.out
-+
-+generated += $(objpfx)tst-atfork2.mtrace \
-+	     $(addsuffix .so,$(strip $(modules-names)))
-+
-+$(objpfx)version.d: $(objpfx)banner.h
-+$(objpfx)version.os: $(objpfx)banner.h
-+$(objpfx)banner.h: Banner
-+	sed 's/\(.*\)/"\1\\n"/' $< > $@
-+generated += banner.h
-+# Give libpthread.so an entry point and make it directly runnable itself.
-+LDFLAGS-pthread.so += -e __nptl_main
-+endif
-+
-+ifeq ($(run-built-tests),yes)
-+ifeq (yes,$(build-shared))
-+tests: $(objpfx)tst-cancel-wrappers.out
-+$(objpfx)tst-cancel-wrappers.out: tst-cancel-wrappers.sh
-+	$(SHELL) $< '$(NM)' \
-+		    $(common-objpfx)libc_pic.a \
-+		    $(common-objpfx)libc.a \
-+		    $(objpfx)libpthread_pic.a \
-+		    $(objpfx)libpthread.a > $@
-+endif
-+endif
-+
-+tst-exec4-ARGS = $(host-test-program-cmd)
-+
-+$(objpfx)tst-execstack: $(libdl)
-+$(objpfx)tst-execstack.out: $(objpfx)tst-execstack-mod.so
-+LDFLAGS-tst-execstack = -Wl,-z,noexecstack
-+
-+$(objpfx)tst-fini1mod.so: $(shared-thread-library)
-+
-+tst-stackguard1-ARGS = --command "$(host-test-program-cmd) --child"
-+tst-stackguard1-static-ARGS = --command "$(objpfx)tst-stackguard1-static --child"
-+
-+ifeq ($(run-built-tests),yes)
-+tests: $(objpfx)tst-oddstacklimit.out
-+
-+$(objpfx)tst-oddstacklimit.out: $(objpfx)tst-oddstacklimit $(objpfx)tst-basic1
-+	$(test-program-prefix) $< --command '$(host-test-program-cmd)' > $@
-+endif
-+
-+# The tests here better do not run in parallel
-+ifneq ($(filter %tests,$(MAKECMDGOALS)),)
-+.NOTPARALLEL:
-+endif
---- /dev/null
 +++ b/fbtl/TODO
 @@ -0,0 +1,31 @@
 +- we should probably extend pthread_mutexattr_t with a field to create a
@@ -14819,7 +14208,7 @@
 +  what to test?
 --- /dev/null
 +++ b/fbtl/Versions
-@@ -0,0 +1,250 @@
+@@ -0,0 +1,251 @@
 +libc {
 +  GLIBC_2.0 {
 +    pthread_attr_destroy; pthread_attr_init;
@@ -15068,6 +14457,7 @@
 +    __pthread_initialize_minimal;
 +    __pthread_clock_gettime; __pthread_clock_settime;
 +    __pthread_unwind; __pthread_get_minstack;
++    __shm_directory;
 +  }
 +}
 --- /dev/null
@@ -18171,7 +17561,7 @@
 +  lll_futex_wake (&self->setxid_futex, 1, LLL_PRIVATE);
 +
 +  if (atomic_decrement_val (&__xidcmd->cntr) == 0)
-+    lll_futex_wake (&__xidcmd->cntr, 1, LLL_PRIVATE);
++    lll_futex_wake ((unsigned int *)&__xidcmd->cntr, 1, LLL_PRIVATE);
 +}
 +
 +
@@ -18316,7 +17706,7 @@
 +  /* Determine the default allowed stack size.  This is the size used
 +     in case the user does not specify one.  */
 +  struct rlimit limit;
-+  if (getrlimit (RLIMIT_STACK, &limit) != 0
++  if (__getrlimit (RLIMIT_STACK, &limit) != 0
 +      || limit.rlim_cur == RLIM_INFINITY)
 +    /* The system limit is not usable.  Use an architecture-specific
 +       default.  */
@@ -19989,7 +19379,7 @@
 +
 +extern void __pthread_unwind (__pthread_unwind_buf_t *__buf)
 +     __cleanup_fct_attribute __attribute ((__noreturn__))
-+#if !defined SHARED && !defined IS_IN_libpthread
++#if !defined SHARED && !IS_IN (libpthread)
 +     weak_function
 +#endif
 +     ;
@@ -20003,7 +19393,7 @@
 +     __cleanup_fct_attribute;
 +extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
 +     __cleanup_fct_attribute;
-+#if defined NOT_IN_libc && defined IS_IN_libpthread
++#if IS_IN (libpthread)
 +hidden_proto (__pthread_unwind)
 +hidden_proto (__pthread_unwind_next)
 +hidden_proto (__pthread_register_cancel)
@@ -20037,7 +19427,7 @@
 +#define CANCEL_RESET(oldtype) \
 +  __pthread_disable_asynccancel (oldtype)
 +
-+#if !defined NOT_IN_libc
++#if IS_IN (libc)
 +/* Same as CANCEL_ASYNC, but for use in libc.so.  */
 +# define LIBC_CANCEL_ASYNC() \
 +  __libc_enable_asynccancel ()
@@ -20047,13 +19437,13 @@
 +# define LIBC_CANCEL_HANDLED() \
 +  __asm (".globl " __SYMBOL_PREFIX "__libc_enable_asynccancel"); \
 +  __asm (".globl " __SYMBOL_PREFIX "__libc_disable_asynccancel")
-+#elif defined NOT_IN_libc && defined IS_IN_libpthread
++#elif IS_IN (libpthread)
 +# define LIBC_CANCEL_ASYNC() CANCEL_ASYNC ()
 +# define LIBC_CANCEL_RESET(val) CANCEL_RESET (val)
 +# define LIBC_CANCEL_HANDLED() \
 +  __asm (".globl " __SYMBOL_PREFIX "__pthread_enable_asynccancel"); \
 +  __asm (".globl " __SYMBOL_PREFIX "__pthread_disable_asynccancel")
-+#elif defined NOT_IN_libc && defined IS_IN_librt
++#elif IS_IN (librt)
 +# define LIBC_CANCEL_ASYNC() \
 +  __librt_enable_asynccancel ()
 +# define LIBC_CANCEL_RESET(val) \
@@ -20112,7 +19502,7 @@
 +
 +/* longjmp handling.  */
 +extern void __pthread_cleanup_upto (__jmp_buf target, char *targetframe);
-+#if defined NOT_IN_libc && defined IS_IN_libpthread
++#if IS_IN (libpthread)
 +hidden_proto (__pthread_cleanup_upto)
 +#endif
 +
@@ -20257,7 +19647,7 @@
 +extern void __pthread_disable_asynccancel (int oldtype)
 +     internal_function attribute_hidden;
 +
-+#if defined NOT_IN_libc && defined IS_IN_libpthread
++#if IS_IN (libpthread)
 +hidden_proto (__pthread_mutex_init)
 +hidden_proto (__pthread_mutex_destroy)
 +hidden_proto (__pthread_mutex_lock)
@@ -20296,7 +19686,7 @@
 +extern void __librt_disable_asynccancel (int oldtype)
 +     internal_function attribute_hidden;
 +
-+#ifdef IS_IN_libpthread
++#if IS_IN (libpthread)
 +/* Special versions which use non-exported functions.  */
 +extern void __pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer,
 +				    void (*routine) (void *), void *arg)
@@ -22588,7 +21978,7 @@
 +# else
 +	/* Get the current time.  So far we support only one clock.  */
 +	struct timeval tv;
-+	(void) gettimeofday (&tv, NULL);
++	(void) __gettimeofday (&tv, NULL);
 +
 +	/* Convert the absolute timeout value to a relative timeout.  */
 +	rt.tv_sec = abstime->tv_sec - tv.tv_sec;
@@ -23190,7 +22580,7 @@
 +}
 --- /dev/null
 +++ b/fbtl/pthread_create.c
-@@ -0,0 +1,672 @@
+@@ -0,0 +1,673 @@
 +/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -23222,6 +22612,7 @@
 +#include <libc-internal.h>
 +#include <resolv.h>
 +#include <kernel-features.h>
++#include <exit-thread.h>
 +
 +#include <shlib-compat.h>
 +
@@ -23630,7 +23021,7 @@
 +
 +     The exit code is zero since in case all threads exit by calling
 +     'pthread_exit' the exit status must be 0 (zero).  */
-+  __exit_thread (0);
++  __exit_thread ();
 +
 +  /* NOTREACHED */
 +  return 0;
@@ -27695,7 +27086,7 @@
 +     || !defined lll_futex_timed_wait_bitset)
 +      /* Get the current time.  So far we support only one clock.  */
 +      struct timeval tv;
-+      (void) gettimeofday (&tv, NULL);
++      (void) __gettimeofday (&tv, NULL);
 +
 +      /* Convert the absolute timeout value to a relative timeout.  */
 +      struct timespec rt;
@@ -27845,7 +27236,7 @@
 +     || !defined lll_futex_timed_wait_bitset)
 +      /* Get the current time.  So far we support only one clock.  */
 +      struct timeval tv;
-+      (void) gettimeofday (&tv, NULL);
++      (void) __gettimeofday (&tv, NULL);
 +
 +      /* Convert the absolute timeout value to a relative timeout.  */
 +      struct timespec rt;
@@ -29718,7 +29109,7 @@
 +#endif
 --- /dev/null
 +++ b/fbtl/sem_open.c
-@@ -0,0 +1,461 @@
+@@ -0,0 +1,299 @@
 +/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -29739,8 +29130,6 @@
 +
 +#include <errno.h>
 +#include <fcntl.h>
-+#include <mntent.h>
-+#include <paths.h>
 +#include <pthread.h>
 +#include <search.h>
 +#include <semaphore.h>
@@ -29751,141 +29140,10 @@
 +#include <unistd.h>
 +#include <sys/mman.h>
 +#include <sys/stat.h>
-+#include <sys/statfs.h>
-+#if 0
-+#include <linux_fsinfo.h>
-+#endif
 +#include "semaphoreP.h"
++#include <shm-directory.h>
 +
 +
-+
-+/* Information about the mount point.  */
-+struct mountpoint_info mountpoint attribute_hidden;
-+
-+/* This is the default mount point.  */
-+static const char defaultmount[] = "/dev/shm";
-+/* This is the default directory.  */
-+static const char defaultdir[] = "/dev/shm/sem.";
-+
-+/* Protect the `mountpoint' variable above.  */
-+pthread_once_t __namedsem_once attribute_hidden = PTHREAD_ONCE_INIT;
-+
-+#if 1
-+
-+/* This is the alternate debian mount point.  */
-+static const char alternatemount[] = "/run/shm";
-+/* This is the alternate debian directory.  */
-+static const char alternatedir[] = "/run/shm/sem.";
-+
-+/* Determine where the shmfs is mounted (if at all).  */
-+void
-+attribute_hidden
-+__where_is_shmfs (void)
-+{
-+  struct statfs f;
-+
-+  /* The canonical place is /dev/shm.  This is at least what the
-+     documentation tells everybody to do.  */
-+  if (statfs (defaultmount, &f) == 0)
-+    {
-+      /* It is in the normal place.  */
-+      mountpoint.dir = (char *) defaultdir;
-+      mountpoint.dirlen = sizeof (defaultdir) - 1;
-+
-+      return;
-+    }
-+
-+  /* The alternate place is /run/shm.  */
-+  if (statfs (alternatemount, &f) == 0)
-+    {
-+      /* It is in the normal place.  */
-+      mountpoint.dir = (char *) alternatedir;
-+      mountpoint.dirlen = sizeof (alternatedir) - 1;
-+
-+      return;
-+    }
-+    
-+  /* Not configured => not supported */  
-+}
-+
-+#else
-+
-+
-+/* Determine where the shmfs is mounted (if at all).  */
-+void
-+attribute_hidden
-+__where_is_shmfs (void)
-+{
-+  char buf[512];
-+  struct statfs f;
-+  struct mntent resmem;
-+  struct mntent *mp;
-+  FILE *fp;
-+
-+  /* The canonical place is /dev/shm.  This is at least what the
-+     documentation tells everybody to do.  */
-+  if (__statfs (defaultmount, &f) == 0 && f.f_type == SHMFS_SUPER_MAGIC)
-+    {
-+      /* It is in the normal place.  */
-+      mountpoint.dir = (char *) defaultdir;
-+      mountpoint.dirlen = sizeof (defaultdir) - 1;
-+
-+      return;
-+    }
-+
-+  /* OK, do it the hard way.  Look through the /proc/mounts file and if
-+     this does not exist through /etc/fstab to find the mount point.  */
-+  fp = __setmntent ("/proc/mounts", "r");
-+  if (__builtin_expect (fp == NULL, 0))
-+    {
-+      fp = __setmntent (_PATH_MNTTAB, "r");
-+      if (__builtin_expect (fp == NULL, 0))
-+	/* There is nothing we can do.  Blind guesses are not helpful.  */
-+	return;
-+    }
-+
-+  /* Now read the entries.  */
-+  while ((mp = __getmntent_r (fp, &resmem, buf, sizeof buf)) != NULL)
-+    /* The original name is "shm" but this got changed in early Linux
-+       2.4.x to "tmpfs".  */
-+    if (strcmp (mp->mnt_type, "tmpfs") == 0
-+	|| strcmp (mp->mnt_type, "shm") == 0)
-+      {
-+	/* Found it.  There might be more than one place where the
-+           filesystem is mounted but one is enough for us.  */
-+	size_t namelen;
-+
-+	/* First make sure this really is the correct entry.  At least
-+	   some versions of the kernel give wrong information because
-+	   of the implicit mount of the shmfs for SysV IPC.  */
-+	if (__statfs (mp->mnt_dir, &f) != 0 || f.f_type != SHMFS_SUPER_MAGIC)
-+	  continue;
-+
-+	namelen = strlen (mp->mnt_dir);
-+
-+	if (namelen == 0)
-+	  /* Hum, maybe some crippled entry.  Keep on searching.  */
-+	  continue;
-+
-+	mountpoint.dir = (char *) malloc (namelen + 4 + 2);
-+	if (mountpoint.dir != NULL)
-+	  {
-+	    char *cp = __mempcpy (mountpoint.dir, mp->mnt_dir, namelen);
-+	    if (cp[-1] != '/')
-+	      *cp++ = '/';
-+	    cp = stpcpy (cp, "sem.");
-+	    mountpoint.dirlen = cp - mountpoint.dir;
-+	  }
-+
-+	break;
-+      }
-+
-+  /* Close the stream.  */
-+  __endmntent (fp);
-+}
-+
-+#endif
-+
 +/* Comparison function for search of existing mapping.  */
 +int
 +attribute_hidden
@@ -29979,14 +29237,9 @@
 +  if (result != existing && existing != SEM_FAILED && existing != MAP_FAILED)
 +    {
 +      /* Do not disturb errno.  */
-+#if 1
 +      int saved_errno = errno;
 +      munmap(existing, sizeof (sem_t));
 +      errno = saved_errno; 
-+#else    
-+      INTERNAL_SYSCALL_DECL (err);
-+      INTERNAL_SYSCALL (munmap, err, 2, existing, sizeof (sem_t));
-+#endif
 +    }
 +
 +  return result;
@@ -29996,42 +29249,17 @@
 +sem_t *
 +sem_open (const char *name, int oflag, ...)
 +{
-+  char *finalname;
-+  sem_t *result = SEM_FAILED;
 +  int fd;
++  sem_t *result;
 +
-+  /* Determine where the shmfs is mounted.  */
-+  __pthread_once (&__namedsem_once, __where_is_shmfs);
++  /* Create the name of the final file in local variable SHM_NAME.  */
++  SHM_GET_NAME (EINVAL, SEM_FAILED, SEM_SHM_PREFIX);
 +
-+  /* If we don't know the mount points there is nothing we can do.  Ever.  */
-+  if (mountpoint.dir == NULL)
-+    {
-+      __set_errno (ENOSYS);
-+      return SEM_FAILED;
-+    }
-+
-+  /* Construct the filename.  */
-+  while (name[0] == '/')
-+    ++name;
-+
-+  if (name[0] == '\0')
-+    {
-+      /* The name "/" is not supported.  */
-+      __set_errno (EINVAL);
-+      return SEM_FAILED;
-+    }
-+  size_t namelen = strlen (name) + 1;
-+
-+  /* Create the name of the final file.  */
-+  finalname = (char *) alloca (mountpoint.dirlen + namelen);
-+  __mempcpy (__mempcpy (finalname, mountpoint.dir, mountpoint.dirlen),
-+	     name, namelen);
-+
 +  /* If the semaphore object has to exist simply open it.  */
 +  if ((oflag & O_CREAT) == 0 || (oflag & O_EXCL) == 0)
 +    {
 +    try_again:
-+      fd = __libc_open (finalname,
++      fd = __libc_open (shm_name,
 +			(oflag & ~(O_CREAT|O_ACCMODE)) | O_NOFOLLOW | O_RDWR);
 +
 +      if (fd == -1)
@@ -30089,8 +29317,8 @@
 +      memset ((char *) &sem.initsem + sizeof (struct new_sem), '\0',
 +	      sizeof (sem_t) - sizeof (struct new_sem));
 +
-+      tmpfname = (char *) alloca (mountpoint.dirlen + 6 + 1);
-+      char *xxxxxx = __mempcpy (tmpfname, mountpoint.dir, mountpoint.dirlen);
++      tmpfname = (char *) alloca (shm_dirlen + sizeof SEM_SHM_PREFIX + 6);
++      char *xxxxxx = __mempcpy (tmpfname, shm_dir, shm_dirlen);
 +
 +      int retries = 0;
 +#define NRETRIES 50
@@ -30133,7 +29361,7 @@
 +				       fd, 0)) != MAP_FAILED)
 +	{
 +	  /* Create the file.  Don't overwrite an existing file.  */
-+	  if (link (tmpfname, finalname) != 0)
++	  if (link (tmpfname, shm_name) != 0)
 +	    {
 +	      /* Undo the mapping.  */
 +	      (void) munmap (result, sizeof (sem_t));
@@ -30174,15 +29402,16 @@
 +  if (fd != -1)
 +    {
 +      /* Do not disturb errno.  */
-+      INTERNAL_SYSCALL_DECL (err);
-+      INTERNAL_SYSCALL (close, err, 1, fd);
++      int save = errno;
++      __libc_close (fd);
++      errno = save;
 +    }
 +
 +  return result;
 +}
 --- /dev/null
 +++ b/fbtl/sem_unlink.c
-@@ -0,0 +1,66 @@
+@@ -0,0 +1,38 @@
 +/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -30207,44 +29436,16 @@
 +#include <string.h>
 +#include <unistd.h>
 +#include "semaphoreP.h"
++#include <shm-directory.h>
 +
-+
 +int
-+sem_unlink (name)
-+     const char *name;
++sem_unlink (const char *name)
 +{
-+  char *fname;
-+  size_t namelen;
-+
-+  /* Determine where the shmfs is mounted.  */
-+  __pthread_once (&__namedsem_once, __where_is_shmfs);
-+
-+  /* If we don't know the mount points there is nothing we can do.  Ever.  */
-+  if (mountpoint.dir == NULL)
-+    {
-+      __set_errno (ENOSYS);
-+      return -1;
-+    }
-+
 +  /* Construct the filename.  */
-+  while (name[0] == '/')
-+    ++name;
++  SHM_GET_NAME (ENOENT, -1, SEM_SHM_PREFIX);
 +
-+  if (name[0] == '\0')
-+    {
-+      /* The name "/" is not supported.  */
-+      __set_errno (ENOENT);
-+      return -1;
-+    }
-+  namelen = strlen (name);
-+
-+  /* Create the name of the file.  */
-+  fname = (char *) alloca (mountpoint.dirlen + namelen + 1);
-+  __mempcpy (__mempcpy (fname, mountpoint.dir, mountpoint.dirlen),
-+	     name, namelen + 1);
-+
 +  /* Now try removing it.  */
-+  int ret = unlink (fname);
++  int ret = unlink (shm_name);
 +  if (ret < 0 && errno == EPERM)
 +    __set_errno (EACCES);
 +  return ret;
@@ -30332,7 +29533,7 @@
 +#endif	/* semaphore.h */
 --- /dev/null
 +++ b/fbtl/semaphoreP.h
-@@ -0,0 +1,68 @@
+@@ -0,0 +1,54 @@
 +/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -30354,14 +29555,8 @@
 +#include <semaphore.h>
 +#include "pthreadP.h"
 +
++#define SEM_SHM_PREFIX  "sem."
 +
-+/* Mount point of the shared memory filesystem.  */
-+struct mountpoint_info
-+{
-+  char *dir;
-+  size_t dirlen;
-+};
-+
 +/* Keeping track of currently used mappings.  */
 +struct inuse_sem
 +{
@@ -30373,11 +29568,6 @@
 +};
 +
 +
-+/* Variables used in multiple interfaces.  */
-+extern struct mountpoint_info mountpoint attribute_hidden;
-+
-+extern pthread_once_t __namedsem_once attribute_hidden;
-+
 +/* The search tree for existing mappings.  */
 +extern void *__sem_mappings attribute_hidden;
 +
@@ -30385,9 +29575,6 @@
 +extern int __sem_mappings_lock attribute_hidden;
 +
 +
-+/* Initializer for mountpoint.  */
-+extern void __where_is_shmfs (void) attribute_hidden;
-+
 +/* Comparison function for search in tree with existing mappings.  */
 +extern int __sem_search (const void *a, const void *b) attribute_hidden;
 +
@@ -30403,8 +29590,8 @@
 +extern int __new_sem_getvalue (sem_t *sem, int *sval);
 --- /dev/null
 +++ b/fbtl/shlib-versions
-@@ -0,0 +1,1 @@
-+libpthread=0
+@@ -0,0 +1 @@
++libpthread=0		GLIBC_2.3
 --- /dev/null
 +++ b/fbtl/sigaction.c
 @@ -0,0 +1,46 @@
@@ -31344,7 +30531,7 @@
 +pthread_spin_init = pthread_spin_unlock
 --- /dev/null
 +++ b/fbtl/sysdeps/i386/pthreaddef.h
-@@ -0,0 +1,53 @@
+@@ -0,0 +1,40 @@
 +/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -31385,19 +30572,6 @@
 +
 +/* Location of current stack frame.  */
 +#define CURRENT_STACK_FRAME	__builtin_frame_address (0)
-+
-+
-+/* XXX Until we have a better place keep the definitions here.  */
-+
-+/* While there is no such syscall.  */
-+#define __exit_thread_inline(val) \
-+  while (1) {								      \
-+    if (__builtin_constant_p (val) && (val) == 0)			      \
-+      asm volatile ("xorl %%ebx, %%ebx; int $0x80" :: "a" (__NR_exit));	      \
-+    else								      \
-+      asm volatile ("movl %1, %%ebx; int $0x80"				      \
-+		    :: "a" (__NR_exit), "r" (val));			      \
-+  }
 --- /dev/null
 +++ b/fbtl/sysdeps/i386/tcb-offsets.sym
 @@ -0,0 +1,17 @@
@@ -31420,7 +30594,7 @@
 +#endif
 --- /dev/null
 +++ b/fbtl/sysdeps/i386/tls.h
-@@ -0,0 +1,473 @@
+@@ -0,0 +1,471 @@
 +/* Definition for thread-local data handling.  nptl/i386 version.
 +   Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -31527,9 +30701,6 @@
 +};
 +
 +
-+/* Get the thread descriptor definition.  */
-+# include <fbtl/descr.h>
-+
 +/* This is the size of the initial TCB.  Can't be just sizeof (tcbhead_t),
 +   because NPTL getpid, __libc_alloca_cutoff etc. need (almost) the whole
 +   struct pthread even when not linked with -lpthread.  */
@@ -31547,8 +30718,12 @@
 +/* The TCB can have any size and the memory following the address the
 +   thread pointer points to is unspecified.  Allocate the TCB there.  */
 +# define TLS_TCB_AT_TP	1
++# define TLS_DTV_AT_TP  0
 +
++/* Get the thread descriptor definition.  */
++# include <fbtl/descr.h>
 +
++
 +/* Install the dtv pointer.  The pointer passed is to the element with
 +   index -1 which contain the length.  */
 +# define INSTALL_DTV(descr, dtvp) \
@@ -31617,7 +30792,7 @@
 +/* Code to initially initialize the thread pointer.  This might need
 +   special attention since 'errno' is not yet available and if the
 +   operation can cause a failure 'errno' must not be touched.  */
-+# define TLS_INIT_TP(thrdescr, secondcall) \
++# define TLS_INIT_TP(thrdescr) \
 +  ({ void *_thrdescr = (thrdescr);					      \
 +     tcbhead_t *_head = _thrdescr;					      \
 +     union user_desc_init _segdescr;					      \
@@ -31630,10 +30805,7 @@
 +     INIT_SYSINFO;							      \
 +									      \
 +     /* The 'entry_number' field.  Let the kernel pick a value.  */	      \
-+     if (secondcall)							      \
-+       _segdescr.vals[0] = TLS_GET_GS () >> 3;				      \
-+     else								      \
-+       _segdescr.vals[0] = -1;						      \
++     _segdescr.vals[0] = -1;						      \
 +     /* The 'base_addr' field.  Pointer to the TCB.  */			      \
 +     _segdescr.vals[1] = (unsigned long int) _thrdescr;			      \
 +     /* The 'limit' field.  We use 4GB which is 0xfffff pages.  */	      \
@@ -32054,7 +31226,7 @@
 +}
 --- /dev/null
 +++ b/fbtl/sysdeps/pthread/bits/libc-lock.h
-@@ -0,0 +1,192 @@
+@@ -0,0 +1,187 @@
 +/* libc-internal interface for mutex locks.  NPTL version.
 +   Copyright (C) 1996-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -32083,7 +31255,7 @@
 +
 +/* Mutex type.  */
 +#if defined _LIBC || defined _IO_MTSAFE_IO
-+# if (defined NOT_IN_libc && !defined IS_IN_libpthread) || !defined _LIBC
++# if (!IS_IN (libc) && !IS_IN (libpthread)) || !defined _LIBC
 +typedef struct { pthread_mutex_t mutex; } __libc_lock_recursive_t;
 +# else
 +typedef struct { int lock; int cnt; void *owner; } __libc_lock_recursive_t;
@@ -32104,14 +31276,9 @@
 +
 +/* Define an initialized recursive lock variable NAME with storage
 +   class CLASS.  */
-+#if defined _LIBC && (!defined NOT_IN_libc || defined IS_IN_libpthread)
-+# if LLL_LOCK_INITIALIZER == 0
-+#  define __libc_lock_define_initialized_recursive(CLASS,NAME) \
-+  CLASS __libc_lock_recursive_t NAME;
-+# else
-+#  define __libc_lock_define_initialized_recursive(CLASS,NAME) \
++#if defined _LIBC && (IS_IN (libc) || IS_IN (libpthread))
++# define __libc_lock_define_initialized_recursive(CLASS,NAME) \
 +  CLASS __libc_lock_recursive_t NAME = _LIBC_LOCK_RECURSIVE_INITIALIZER;
-+# endif
 +# define _LIBC_LOCK_RECURSIVE_INITIALIZER \
 +  { LLL_LOCK_INITIALIZER, 0, NULL }
 +#else
@@ -32122,9 +31289,9 @@
 +#endif
 +
 +/* Initialize a recursive mutex.  */
-+#if defined _LIBC && (!defined NOT_IN_libc || defined IS_IN_libpthread)
++#if defined _LIBC && (IS_IN (libc) || IS_IN (libpthread))
 +# define __libc_lock_init_recursive(NAME) \
-+  ((NAME) = (__libc_lock_recursive_t) _LIBC_LOCK_RECURSIVE_INITIALIZER, 0)
++  ((void) ((NAME) = (__libc_lock_recursive_t) _LIBC_LOCK_RECURSIVE_INITIALIZER))
 +#else
 +# define __libc_lock_init_recursive(NAME) \
 +  do {									      \
@@ -32140,7 +31307,7 @@
 +#endif
 +
 +/* Finalize recursive named lock.  */
-+#if defined _LIBC && (!defined NOT_IN_libc || defined IS_IN_libpthread)
++#if defined _LIBC && (IS_IN (libc) || IS_IN (libpthread))
 +# define __libc_lock_fini_recursive(NAME) ((void) 0)
 +#else
 +# define __libc_lock_fini_recursive(NAME) \
@@ -32148,7 +31315,7 @@
 +#endif
 +
 +/* Lock the recursive named lock variable.  */
-+#if defined _LIBC && (!defined NOT_IN_libc || defined IS_IN_libpthread)
++#if defined _LIBC && (IS_IN (libc) || IS_IN (libpthread))
 +# define __libc_lock_lock_recursive(NAME) \
 +  do {									      \
 +    void *self = THREAD_SELF;						      \
@@ -32165,7 +31332,7 @@
 +#endif
 +
 +/* Try to lock the recursive named lock variable.  */
-+#if defined _LIBC && (!defined NOT_IN_libc || defined IS_IN_libpthread)
++#if defined _LIBC && (IS_IN (libc) || IS_IN (libpthread))
 +# define __libc_lock_trylock_recursive(NAME) \
 +  ({									      \
 +    int result = 0;							      \
@@ -32190,7 +31357,7 @@
 +#endif
 +
 +/* Unlock the recursive named lock variable.  */
-+#if defined _LIBC && (!defined NOT_IN_libc || defined IS_IN_libpthread)
++#if defined _LIBC && (IS_IN (libc) || IS_IN (libpthread))
 +/* We do no error checking here.  */
 +# define __libc_lock_unlock_recursive(NAME) \
 +  do {									      \
@@ -32249,7 +31416,7 @@
 +#endif	/* bits/libc-lock.h */
 --- /dev/null
 +++ b/fbtl/sysdeps/pthread/bits/libc-lockP.h
-@@ -0,0 +1,429 @@
+@@ -0,0 +1,436 @@
 +/* Private libc-internal interface for mutex locks.  NPTL version.
 +   Copyright (C) 1996-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -32286,8 +31453,14 @@
 +#include <tls.h>
 +#include <pthread-functions.h>
 +
++#if IS_IN (libpthread)
++/* This gets us the declarations of the __pthread_* internal names,
++   and hidden_proto for them.  */
++# include <fbtl/pthreadP.h>
++#endif
++
 +/* Mutex type.  */
-+#if defined NOT_IN_libc && !defined IS_IN_libpthread
++#if !IS_IN (libc) && !IS_IN (libpthread)
 +typedef pthread_mutex_t __libc_lock_t;
 +#else
 +typedef int __libc_lock_t;
@@ -32321,7 +31494,7 @@
 +   initialized locks must be set to one due to the lack of normal
 +   atomic operations.) */
 +
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread
++#if IS_IN (libc) || IS_IN (libpthread)
 +# if LLL_LOCK_INITIALIZER == 0
 +#  define __libc_lock_define_initialized(CLASS,NAME) \
 +  CLASS __libc_lock_t NAME;
@@ -32330,13 +31503,8 @@
 +  CLASS __libc_lock_t NAME = LLL_LOCK_INITIALIZER;
 +# endif
 +#else
-+# if __LT_SPINLOCK_INIT == 0
-+#  define __libc_lock_define_initialized(CLASS,NAME) \
++# define __libc_lock_define_initialized(CLASS,NAME) \
 +  CLASS __libc_lock_t NAME;
-+# else
-+#  define __libc_lock_define_initialized(CLASS,NAME) \
-+  CLASS __libc_lock_t NAME = PTHREAD_MUTEX_INITIALIZER;
-+# endif
 +#endif
 +
 +#define __libc_rwlock_define_initialized(CLASS,NAME) \
@@ -32365,12 +31533,18 @@
 +#endif
 +
 +/* Call thread functions through the function pointer table.  */
-+#if defined SHARED && !defined NOT_IN_libc
++#if defined SHARED && IS_IN (libc)
 +# define PTFAVAIL(NAME) __libc_pthread_functions_init
 +# define __libc_ptf_call(FUNC, ARGS, ELSE) \
 +  (__libc_pthread_functions_init ? PTHFCT_CALL (ptr_##FUNC, ARGS) : ELSE)
 +# define __libc_ptf_call_always(FUNC, ARGS) \
 +  PTHFCT_CALL (ptr_##FUNC, ARGS)
++#elif IS_IN (libpthread)
++# define PTFAVAIL(NAME) 1
++# define __libc_ptf_call(FUNC, ARGS, ELSE) \
++  FUNC ARGS
++# define __libc_ptf_call_always(FUNC, ARGS) \
++  FUNC ARGS
 +#else
 +# define PTFAVAIL(NAME) (NAME != NULL)
 +# define __libc_ptf_call(FUNC, ARGS, ELSE) \
@@ -32382,17 +31556,17 @@
 +
 +/* Initialize the named lock variable, leaving it in a consistent, unlocked
 +   state.  */
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread
-+# define __libc_lock_init(NAME) ((NAME) = LLL_LOCK_INITIALIZER, 0)
++#if IS_IN (libc) || IS_IN (libpthread)
++# define __libc_lock_init(NAME) \
++  ((void) ((NAME) = LLL_LOCK_INITIALIZER)) 
 +#else
 +# define __libc_lock_init(NAME) \
 +  __libc_maybe_call (__pthread_mutex_init, (&(NAME), NULL), 0)
 +#endif
-+#if defined SHARED && !defined NOT_IN_libc
-+/* ((NAME) = (__libc_rwlock_t) PTHREAD_RWLOCK_INITIALIZER, 0) is
-+   inefficient.  */
++#if defined SHARED && IS_IN (libc)
++/* ((NAME) = (__libc_rwlock_t) PTHREAD_RWLOCK_INITIALIZER) is inefficient.  */
 +# define __libc_rwlock_init(NAME) \
-+  (__builtin_memset (&(NAME), '\0', sizeof (NAME)), 0)
++  ((void) __builtin_memset (&(NAME), '\0', sizeof (NAME))) 
 +#else
 +# define __libc_rwlock_init(NAME) \
 +  __libc_maybe_call (__pthread_rwlock_init, (&(NAME), NULL), 0)
@@ -32401,13 +31575,13 @@
 +/* Finalize the named lock variable, which must be locked.  It cannot be
 +   used again until __libc_lock_init is called again on it.  This must be
 +   called on a lock variable before the containing storage is reused.  */
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread
++#if IS_IN (libc) || IS_IN (libpthread)
 +# define __libc_lock_fini(NAME) ((void) 0)
 +#else
 +# define __libc_lock_fini(NAME) \
 +  __libc_maybe_call (__pthread_mutex_destroy, (&(NAME)), 0)
 +#endif
-+#if defined SHARED && !defined NOT_IN_libc
++#if defined SHARED && IS_IN (libc)
 +# define __libc_rwlock_fini(NAME) ((void) 0)
 +#else
 +# define __libc_rwlock_fini(NAME) \
@@ -32415,7 +31589,7 @@
 +#endif
 +
 +/* Lock the named lock variable.  */
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread
++#if IS_IN (libc) || IS_IN (libpthread)
 +# ifndef __libc_lock_lock
 +#  define __libc_lock_lock(NAME) \
 +  ({ lll_lock (NAME, LLL_PRIVATE); 0; })
@@ -32431,7 +31605,7 @@
 +  __libc_ptf_call (__pthread_rwlock_wrlock, (&(NAME)), 0)
 +
 +/* Try to lock the named lock variable.  */
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread
++#if IS_IN (libc) || IS_IN (libpthread)
 +# ifndef __libc_lock_trylock
 +#  define __libc_lock_trylock(NAME) \
 +  lll_trylock (NAME)
@@ -32450,7 +31624,7 @@
 +  __libc_maybe_call (__pthread_mutex_trylock, (&(NAME).mutex), 0)
 +
 +/* Unlock the named lock variable.  */
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread
++#if IS_IN (libc) || IS_IN (libpthread)
 +# define __libc_lock_unlock(NAME) \
 +  lll_unlock (NAME, LLL_PRIVATE)
 +#else
@@ -32761,7 +31935,7 @@
 +#define _IO_lock_initializer { LLL_LOCK_INITIALIZER, 0, NULL }
 +
 +#define _IO_lock_init(_name) \
-+  ((_name) = (_IO_lock_t) _IO_lock_initializer , 0)
++  ((void) ((_name) = (_IO_lock_t) _IO_lock_initializer))
 +
 +#define _IO_lock_fini(_name) \
 +  ((void) 0)
@@ -32814,7 +31988,7 @@
 +#define _IO_cleanup_region_end(_doit) \
 +  __libc_cleanup_region_end (_doit)
 +
-+#if defined _LIBC && !defined NOT_IN_libc
++#if defined _LIBC && IS_IN (libc)
 +
 +# ifdef __EXCEPTIONS
 +#  define _IO_acquire_lock(_fp) \
@@ -32840,7 +32014,7 @@
 +#endif /* bits/stdio-lock.h */
 --- /dev/null
 +++ b/fbtl/sysdeps/pthread/configure
-@@ -0,0 +1,89 @@
+@@ -0,0 +1,80 @@
 +# This file is generated from configure.in by Autoconf.  DO NOT EDIT!
 +
 +if test "x$libc_cv_gcc___thread" != xyes; then
@@ -32852,15 +32026,6 @@
 +  as_fn_error $? "working compiler support for visibility attribute is required" "$LINENO" 5
 +fi
 +
-+if test "x$libc_cv_asm_cfi_directives" != xyes; then
-+    case "$base_machine" in
-+    i386 | x86_64 | powerpc | s390)
-+      as_fn_error $? "CFI directive support in assembler is required" "$LINENO" 5 ;;
-+    *) ;;
-+  esac
-+fi
-+
-+
 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for forced unwind support" >&5
 +$as_echo_n "checking for forced unwind support... " >&6; }
 +if ${libc_cv_forced_unwind+:} false; then :
@@ -32932,7 +32097,7 @@
 +fi
 --- /dev/null
 +++ b/fbtl/sysdeps/pthread/configure.in
-@@ -0,0 +1,49 @@
+@@ -0,0 +1,40 @@
 +dnl configure fragment for new libpthread implementation.
 +GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
 +
@@ -32945,15 +32110,6 @@
 +  AC_MSG_ERROR(working compiler support for visibility attribute is required)
 +fi
 +
-+if test "x$libc_cv_asm_cfi_directives" != xyes; then
-+  dnl We need this only for some architectures.
-+  case "$base_machine" in
-+    i386 | x86_64 | powerpc | s390)
-+      AC_MSG_ERROR(CFI directive support in assembler is required) ;;
-+    *) ;;
-+  esac
-+fi
-+
 +dnl Iff <unwind.h> is available, make sure it is the right one and it
 +dnl contains struct _Unwind_Exception.
 +AC_CACHE_CHECK(dnl
@@ -33423,7 +32579,7 @@
 +#define GAI_MISC_NOTIFY(waitlist) \
 +  do {									      \
 +    if (*waitlist->counterp > 0 && --*waitlist->counterp == 0)		      \
-+      lll_futex_wake (waitlist->counterp, 1, LLL_PRIVATE);		      \
++      lll_futex_wake ((unsigned int *) waitlist->counterp, 1, LLL_PRIVATE);   \
 +  } while (0)
 +
 +#define GAI_MISC_WAIT(result, futex, timeout, cancel) \
@@ -33442,8 +32598,8 @@
 +	int status;							      \
 +	do								      \
 +	  {								      \
-+	    status = lll_futex_timed_wait (futexaddr, oldval, timeout,	      \
-+					   LLL_PRIVATE);		      \
++	    status = lll_futex_timed_wait ((unsigned int *) futexaddr, oldval,\
++					   timeout, LLL_PRIVATE);	      \
 +	    if (status != EWOULDBLOCK)					      \
 +	      break;							      \
 +									      \
@@ -35391,6 +34547,40 @@
 +   })
 +#endif
 --- /dev/null
++++ b/fbtl/sysdeps/pthread/shm-directory.h
+@@ -0,0 +1,31 @@
++/* Header for directory for shm/sem files.  NPTL version.
++   Copyright (C) 2014-2015 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   <http://www.gnu.org/licenses/>.  */
++
++#ifndef _SHM_DIRECTORY_H
++
++#include <sysdeps/posix/shm-directory.h>
++
++/* For NPTL the __shm_directory function lives in libpthread.
++   We don't want PLT calls from there.  But it's also used from
++   librt, so it cannot just be declared hidden.  */
++
++#if IS_IN (libpthread)
++hidden_proto (__shm_directory)
++#endif
++
++#endif  /* shm-directory.h */
+--- /dev/null
 +++ b/fbtl/sysdeps/pthread/sigfillset.c
 @@ -0,0 +1,20 @@
 +/* Copyright (C) 2003-2013 Free Software Foundation, Inc.
@@ -37061,7 +36251,7 @@
 +pthread_spin_init = pthread_spin_unlock
 --- /dev/null
 +++ b/fbtl/sysdeps/x86_64/pthreaddef.h
-@@ -0,0 +1,51 @@
+@@ -0,0 +1,44 @@
 +/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -37106,13 +36296,6 @@
 +/* Location of current stack frame.  The frame pointer is not usable.  */
 +#define CURRENT_STACK_FRAME \
 +  ({ register char *frame __asm__("rsp"); frame; })
-+
-+
-+/* XXX Until we have a better place keep the definitions here.  */
-+
-+/* While there is no such syscall.  */
-+#define __exit_thread_inline(val) \
-+  asm volatile ("syscall" :: "a" (__NR_exit), "D" (val))
 --- /dev/null
 +++ b/fbtl/sysdeps/x86_64/tcb-offsets.sym
 @@ -0,0 +1,28 @@
@@ -37146,7 +36329,7 @@
 +TCB_PTHREAD_CANCELED	 PTHREAD_CANCELED
 --- /dev/null
 +++ b/fbtl/sysdeps/x86_64/tls.h
-@@ -0,0 +1,422 @@
+@@ -0,0 +1,423 @@
 +/* Definition for thread-local data handling.  nptl/x86_64 version.
 +   Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -37242,9 +36425,6 @@
 +# include <sysdep.h>
 +
 +
-+/* Get the thread descriptor definition.  */
-+# include <fbtl/descr.h>
-+
 +#ifndef LOCK_PREFIX
 +# ifdef UP
 +#  define LOCK_PREFIX	/* nothing */
@@ -37270,8 +36450,12 @@
 +/* The TCB can have any size and the memory following the address the
 +   thread pointer points to is unspecified.  Allocate the TCB there.  */
 +# define TLS_TCB_AT_TP	1
++# define TLS_DTV_AT_TP  0
 +
++/* Get the thread descriptor definition.  */
++# include <fbtl/descr.h>
 +
++
 +/* Install the dtv pointer.  The pointer passed is to the element with
 +   index -1 which contain the length.  */
 +# define INSTALL_DTV(descr, dtvp) \
@@ -37293,7 +36477,7 @@
 +
 +   We have to make the syscall for both uses of the macro since the
 +   address might be (and probably is) different.  */
-+# define TLS_INIT_TP(thrdescr, secondcall) \
++# define TLS_INIT_TP(thrdescr) \
 +  ({ void *_thrdescr = (thrdescr);					      \
 +     tcbhead_t *_head = _thrdescr;					      \
 +     int _result;							      \
@@ -71919,10 +71103,9 @@
 +extern ps_err_e ps_lcontinue (const struct ps_prochandle *, lwpid_t);
 --- /dev/null
 +++ b/fbtl_db/shlib-versions
-@@ -0,0 +1,3 @@
+@@ -0,0 +1,2 @@
 +# The thread debug library
-+.*-.*-linux.*		libthread_db=1
-+.*-.*-kfreebsd.*	libthread_db=1
++libthread_db=1
 --- /dev/null
 +++ b/fbtl_db/structs.def
 @@ -0,0 +1,85 @@
@@ -72002,7 +71185,7 @@
 +DB_STRUCT_ARRAY_FIELD (dtv, dtv)
 +#define pointer_val pointer.val /* Field of anonymous struct in dtv_t.  */
 +DB_STRUCT_FIELD (dtv_t, pointer_val)
-+#if !defined IS_IN_libpthread || TLS_TCB_AT_TP
++#if !IS_IN (libpthread) || TLS_TCB_AT_TP
 +DB_STRUCT_FIELD (pthread, dtvp)
 +#endif
 +

Modified: glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-getaddrinfo-freebsd-kernel.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-getaddrinfo-freebsd-kernel.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-getaddrinfo-freebsd-kernel.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,20 +1,21 @@
 --- a/sysdeps/posix/getaddrinfo.c
 +++ b/sysdeps/posix/getaddrinfo.c
-@@ -2267,8 +2267,20 @@
+@@ -2522,8 +2522,21 @@
  		}
  
  	      socklen_t sl = sizeof (results[i].source_addr);
++	      const struct sockaddr *sa = q->ai_addr;
 +#ifdef __FreeBSD_kernel__
 +	      struct sockaddr_in6 sa_in6;
-+	      const struct sockaddr *sa = &sa_in6; 
-+	      memcpy(&sa_in6, q->ai_addr, q->ai_family == AF_INET6 ?
-+		     sizeof(struct sockaddr_in6) : sizeof(struct sockaddr_in));
 +	      /* The FreeBSD kernel doesn't allow connections on port 0. Use
 +	         port 1 instead, as on the FreeBSD libc. */
-+	      if (sa_in6.sin6_port == htons(0))
-+		sa_in6.sin6_port = htons(1);
-+#else
-+	      const struct sockaddr *sa = q->ai_addr;
++	      if (((struct sockaddr_in *)sa)->sin_port == htons(0))
++		{
++		  sa = (struct sockaddr *)&sa_in6;
++		  memcpy(&sa_in6, q->ai_addr, q->ai_family == AF_INET6 ?
++		       sizeof(struct sockaddr_in6) : sizeof(struct sockaddr_in));
++		  sa_in6.sin6_port = htons(1);
++		}
 +#endif
  	      if (fd != -1
 -		  && __connect (fd, q->ai_addr, q->ai_addrlen) == 0

Modified: glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-nscd-no-sockcloexec.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-nscd-no-sockcloexec.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-nscd-no-sockcloexec.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,20 +0,0 @@
---- a/nscd/connections.c
-+++ b/nscd/connections.c
-@@ -876,6 +876,7 @@
- 	  }
-       }
- 
-+#if defined(SOCK_CLOEXEC) && defined(SOCK_NONBLOCK)
-   /* Create the socket.  */
- #ifndef __ASSUME_SOCK_CLOEXEC
-   sock = -1;
-@@ -888,6 +889,9 @@
- 	have_sock_cloexec = sock != -1 || errno != EINVAL ? 1 : -1;
- #endif
-     }
-+#else
-+have_sock_cloexec = -1;
-+#endif    
- #ifndef __ASSUME_SOCK_CLOEXEC
-   if (have_sock_cloexec < 0)
-     sock = socket (AF_UNIX, SOCK_STREAM, 0);

Modified: glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-scripts.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-scripts.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-scripts.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -56,9 +56,3 @@
  esac
  
  # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
---- /dev/null	2015-03-01 02:33:07.009060261 -0700
-+++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/shlib-versions	2015-03-16 01:53:36.389707455 -0600
-@@ -0,0 +1,3 @@
-+DEFAULT			GLIBC_2.3
-+libc=0.1	
-+libm=1

Modified: glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-sysdeps.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-sysdeps.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -136,7 +136,7 @@
 +# Other.
 +sysdep_routines += swapon swapoff sys_aio_cancel sys_aio_error sys_aio_read sys_aio_return sys_aio_suspend sys_aio_waitcomplete sys_aio_write sys_lio_listio issetugid modfind modfnext modnext modstat obreak quotactl rfork sysarch undelete yield
 +# for INLINE_SYSCALL
-+sysdep_routines += sys_fork sys_execve sys_sigaction sys_close sys_fcntl
++sysdep_routines += sys_fork sys_sigaction sys_close sys_fcntl
 +sysdep_routines += sys_clock_getres sys_clock_gettime sys_clock_settime
 +sysdep_routines += sys_ktimer_create sys_ktimer_gettime sys_ktimer_settime sys_ktimer_getoverrun sys_ktimer_delete
 +sysdep_routines += sys_semctl sys_shmctl sys_msgctl
@@ -187,7 +187,7 @@
 +endif
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions
-@@ -0,0 +1,126 @@
+@@ -0,0 +1,129 @@
 +libc {
 +  # The comment lines with "#errlist-compat" are magic; see errlist-compat.awk.
 +  # When you get an error from errlist-compat.awk, you need to add a new
@@ -296,6 +296,9 @@
 +    #errlist-compat 97
 +    _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
 +  }
++  GLIBC_2.21 {
++    __statfs;
++  }
 +  GLIBC_PRIVATE {
 +    # needed by libpthread.
 +    __clone; __libc_fork; __libc_sigaction; __kernel_getosreldate;
@@ -592,7 +595,7 @@
 +     const union sigval val;
 +     pid_t caller_pid;
 +{
-+#ifdef NOT_IN_libc
++#if !IS_IN (libc)
 +    return sigqueue(caller_pid, sig, val);
 +#else
 +    return __sigqueue(caller_pid, sig, val);
@@ -679,22 +682,21 @@
 +
 +/* Legal values for a_type (entry type).  */
 +
-+#define AT_NULL		0		/* End of vector */
-+#define AT_IGNORE	1		/* Entry should be ignored */
-+#define AT_EXECFD	2		/* File descriptor of program */
-+#define AT_PHDR		3		/* Program headers for program */
-+#define AT_PHENT	4		/* Size of program header entry */
-+#define AT_PHNUM	5		/* Number of program headers */
-+#define AT_PAGESZ	6		/* System page size */
-+#define AT_BASE		7		/* Base address of interpreter */
-+#define AT_FLAGS	8		/* Flags */
-+#define AT_ENTRY	9		/* Entry point of program */
-+#define AT_NOTELF	10		/* Program is not ELF */
-+#define AT_UID		11		/* Real uid */
-+#define AT_EUID		12		/* Effective uid */
-+#define AT_GID		13		/* Real gid */
-+#define AT_EGID		14		/* Effective gid */
-+
++#define	AT_NULL		0	/* End of vector */
++#define	AT_IGNORE	1	/* Entry should be ignored */
++#define	AT_EXECFD	2	/* File descriptor of program */
++#define	AT_PHDR		3	/* Program headers for program */
++#define	AT_PHENT	4	/* Size of program header entry */
++#define	AT_PHNUM	5	/* Number of program headers */
++#define	AT_PAGESZ	6	/* System page size */
++#define	AT_BASE		7	/* Base address of interpreter */
++#define	AT_FLAGS	8	/* Flags */
++#define	AT_ENTRY	9	/* Entry point of program */
++#define	AT_NOTELF	10	/* Program is not ELF */
++#define	AT_UID		11	/* Real uid */
++#define	AT_EUID		12	/* Effective uid */
++#define	AT_GID		13	/* Real gid */
++#define	AT_EGID		14	/* Effective gid */
 +#define	AT_EXECPATH	15	/* Path to the executable. */
 +#define	AT_CANARY	16	/* Canary for SSP. */
 +#define	AT_CANARYLEN	17	/* Length of the canary. */
@@ -702,6 +704,7 @@
 +#define	AT_NCPUS	19	/* Number of CPUs. */
 +#define	AT_PAGESIZES	20	/* Pagesizes. */
 +#define	AT_PAGESIZESLEN	21	/* Number of pagesizes. */
++#define	AT_TIMEKEEP	22	/* Pointer to timehands. */
 +#define	AT_STACKPROT	23	/* Initial stack protection. */
 +
 --- /dev/null
@@ -962,7 +965,7 @@
 +
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/fcntl.h
-@@ -0,0 +1,230 @@
+@@ -0,0 +1,233 @@
 +/* O_*, F_*, FD_* bit values for FreeBSD.
 +   Copyright (C) 1991-1992, 1997-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -1014,7 +1017,7 @@
 +#define	O_NDELAY	O_NONBLOCK	/* compat */
 +#define	O_APPEND	0x0008		/* set append mode */
 +
-+#if __USE_BSD
++#if defined __USE_MISC
 +#define	O_SHLOCK	0x0010		/* open with shared file lock */
 +#define	O_EXLOCK	0x0020		/* open with exclusive file lock */
 +#endif
@@ -1023,7 +1026,7 @@
 +#define	O_FSYNC		0x0080		/* synchronous writes */
 +#define	O_SYNC		O_FSYNC		/* POSIX synonym for O_FSYNC */
 +
-+#if defined (__USE_XOPEN2K8) || defined (__USE_BSD)
++#if defined (__USE_XOPEN2K8) || defined (__USE_MISC)
 +#define	O_NOFOLLOW	0x0100		/* don't follow symlinks */
 +#endif
 +
@@ -1033,19 +1036,19 @@
 +/* Defined by POSIX 1003.1; BSD default, but must be distinct from O_RDONLY. */
 +#define	O_NOCTTY	0x8000		/* don't assign controlling terminal */
 +
-+#if __USE_BSD
++#if defined __USE_MISC
 +/* Attempt to bypass buffer cache */
 +#define	O_DIRECT	0x00010000
 +enum { O_NOATIME = 0};          /* Do not set atime.  */
 +#endif
 +
 +/* Defined by POSIX Extended API Set Part 2 */
-+#if defined (__USE_XOPEN2K8) || defined (__USE_BSD)
++#if defined (__USE_XOPEN2K8) || defined (__USE_MISC)
 +#define	O_DIRECTORY	0x00020000	/* Fail if not directory */
 +#define	O_EXEC		0x00040000	/* Open for execute only */
 +#endif
 +
-+#if defined (__USE_XOPEN2K8) || defined (__USE_BSD)
++#if defined (__USE_XOPEN2K8) || defined (__USE_MISC)
 +/* Defined by POSIX 1003.1-2008; BSD default, but reserve for future use. */
 +#define	O_TTY_INIT	0x00080000	/* Restore default termios attributes */
 +#define	O_CLOEXEC	0x00100000
@@ -1062,7 +1065,7 @@
 +/* Since 'off_t' is 64-bit, O_LARGEFILE is a no-op.  */
 +#define O_LARGEFILE	0
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +/* Bits in the file status flags returned by F_GETFL.
 +   These are all the O_* flags, plus FREAD and FWRITE, which are
 +   independent bits set by which of O_RDONLY, O_WRONLY, and O_RDWR, was
@@ -1089,7 +1092,7 @@
 + * initial open syscall.  Those bits can thus be given a
 + * different meaning for fcntl(2).
 + */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +/*
 + * Set by shm_open(3) to get automatic MAP_ASYNC behavior
 + * for POSIX shared memory objects (which are otherwise
@@ -1113,11 +1116,14 @@
 +#define F_SETLK64	12	/* Set record locking info (non-blocking).  */
 +#define F_SETLKW64	13	/* Set record locking info (blocking).	*/
 +
-+#if __USE_BSD || __POSIX_VISIBLE >= 200809
++#if defined __USE_MISC || __POSIX_VISIBLE >= 200809
 +#define	F_DUPFD_CLOEXEC	17	/* Like F_DUPFD, but FD_CLOEXEC is set */
 +#endif
++#if defined __USE_MISC
++#define F_DUP2FD_CLOEXEC 18	/* Like F_DUP2FD, but FD_CLOEXEC is set */
++#endif
 +
-+#if defined __USE_BSD || defined __USE_UNIX98
++#if defined __USE_MISC || defined __USE_UNIX98
 +# define F_GETOWN	5	/* Get owner of socket (receiver of SIGIO).  */
 +# define F_SETOWN	6	/* Set owner of socket (receiver of SIGIO).  */
 +#endif
@@ -1129,12 +1135,12 @@
 +#define	F_RDLCK		1		/* shared or read lock */
 +#define	F_UNLCK		2		/* unlock */
 +#define	F_WRLCK		3		/* exclusive or write lock */
-+#if __USE_BSD
++#if defined __USE_MISC
 +#define	F_UNLCKSYS	4		/* purge locks for a given system ID */ 
 +#define	F_CANCEL	5		/* cancel an async lock request */
 +#endif
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +/* Operations for bsd flock(), also used by the kernel implementation.	*/
 +# define LOCK_SH	1	/* shared lock */
 +# define LOCK_EX	2	/* exclusive lock */
@@ -1167,7 +1173,7 @@
 +
 +/* Define some more compatibility macros to be backward compatible with
 +   BSD systems which did not managed to hide these kernel macros.  */
-+#ifdef	__USE_BSD
++#ifdef	__USE_MISC
 +# define FAPPEND	O_APPEND
 +# define FFSYNC		O_FSYNC
 +# define FASYNC		O_ASYNC
@@ -1637,7 +1643,7 @@
 +/* Special key values.  */
 +#define IPC_PRIVATE	((__key_t) 0)	/* private key */
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +/* Common mode bits.  */
 +# define IPC_R		0400		/* read permission, same as S_IRUSR */
 +# define IPC_W		0200		/* write permission, same as S_IWUSR */
@@ -1726,7 +1732,7 @@
 +/* Flags contain mapping type, sharing type and options.  */
 +
 +/* Mapping type (must choose one and only one of these).  */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define MAP_FILE	 0x0000	/* Mapped from a file or device.  */
 +# define MAP_ANON	 0x1000	/* Allocated from anonymous virtual memory.  */
 +# define MAP_TYPE	 0x1000	/* Mask for type field.  */
@@ -1738,13 +1744,13 @@
 +/* Sharing types (must choose one and only one of these).  */
 +#define	MAP_SHARED	 0x0001	/* Share changes.  */
 +#define	MAP_PRIVATE	 0x0002	/* Changes private; copy pages on write.  */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define MAP_COPY MAP_PRIVATE	/* Virtual copy of region at mapping time.  */
 +#endif
 +
 +/* Other flags.  */
 +#define	MAP_FIXED	 0x0010	/* Map address must be exactly as requested. */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +#define MAP_RENAME	 0x0020 /* Sun: rename private pages to file */
 +#define MAP_NORESERVE	 0x0040 /* Sun: don't reserve needed swap area */
 +#define MAP_RESERVED0080 0x0080	/* previously misimplemented MAP_INHERIT */
@@ -1756,7 +1762,7 @@
 +#endif
 +
 +/* Advice to `madvise'.  */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define MADV_NORMAL	 0	/* No further special treatment.  */
 +# define MADV_RANDOM	 1	/* Expect random page references.  */
 +# define MADV_SEQUENTIAL 2	/* Expect sequential page references.  */
@@ -1790,7 +1796,7 @@
 +					   space.  */
 +
 +/* Flags for 'minherit'.  */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define INHERIT_SHARE	0
 +# define INHERIT_COPY	1
 +# define INHERIT_NONE	2
@@ -1808,7 +1814,7 @@
 +#define	MINCORE_MODIFIED_OTHER	0x10 /* Page has been modified */
 +#endif /* Use MISC */
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +
 +__BEGIN_DECLS
 +
@@ -2120,7 +2126,7 @@
 +#define POLLPRI		0x0002		/* There is urgent data to read.  */
 +#define POLLOUT		0x0004		/* Writing now will not block.  */
 +
-+#ifdef __USE_XOPEN
++#if defined __USE_XOPEN || defined __USE_XOPEN2K8
 +/* These values are defined in XPG4.2.  */
 +# define POLLRDNORM	0x0040		/* Normal data may be read.  */
 +# define POLLRDBAND	0x0080		/* Priority data may be read.  */
@@ -2128,7 +2134,7 @@
 +# define POLLWRBAND	0x0100		/* Priority data may be written.  */
 +#endif
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +/* General FreeBSD extension (currently only supported for sockets): */
 +# define POLLINIGNEOF	0x2000		/* like POLLIN, except ignore EOF */
 +#endif
@@ -2140,7 +2146,7 @@
 +#define POLLHUP		0x0010		/* Hung up.  */
 +#define POLLNVAL	0x0020		/* Invalid polling request.  */
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +
 +# define POLLSTANDARD	(POLLIN|POLLPRI|POLLOUT|POLLRDNORM|POLLRDBAND|\
 +			POLLWRBAND|POLLERR|POLLHUP|POLLNVAL)
@@ -2696,7 +2702,7 @@
 +#define SETVAL		8		/* set semval */
 +#define SETALL		9		/* set all semval's */
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define SEM_R		IPC_R		/* read permission for user */
 +# define SEM_A		IPC_W		/* alter permission for user */
 +#endif
@@ -2781,7 +2787,7 @@
 +#include <bits/types.h>
 +
 +/* Permission flag for shmget.  */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define SHM_R		IPC_R		/* read permission for user */
 +# define SHM_W		IPC_W		/* write permission for user */
 +#endif
@@ -2926,7 +2932,7 @@
 +#define	SIG_SETMASK	3	/* Set the set of blocked signals.  */
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/siginfo.h
-@@ -0,0 +1,237 @@
+@@ -0,0 +1,276 @@
 +/* siginfo_t, sigevent and constants.  FreeBSD version.
 +   Copyright (C) 1997-1998, 2000-2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -2981,11 +2987,50 @@
 +    int si_status;		/* Exit value or signal.  */
 +    void *si_addr;		/* Address of faulting instruction.  */
 +    union sigval si_value;	/* Signal value.  */
-+    long int si_band;		/* Band event for SIGPOLL.  */
-+    int __si_spare[7];
++    union
++      {
++	struct
++	  {
++	    int     _trapno;	/* machine specific trap code */
++	   } _fault;
++
++	/* POSIX.1b timers.  */
++	struct
++	  {
++	    int     _timerid;
++	    int     _overrun;
++	  } _timer;
++
++	struct
++	  {
++	    int     _mqd;
++	  } _mesgq;
++
++	/* SIGPOLL.  */
++	struct
++	  {
++	    long    _band;	/* band event for SIGPOLL.  */
++	  } _poll;
++
++	struct
++	  {
++	    long    __spare1__;
++	    int     __spare2__[7];
++	  } __spare__;
++	} _reason;
 +  } siginfo_t;
 +
 +
++/* X/Open requires some more fields with fixed names.  */
++# define si_int		si_value.sival_int
++# define si_ptr		si_value.sival_ptr
++# define si_trapno	_reason._fault._trapno
++# define si_timerid	_reason._timer._timerid
++# define si_overrun	_reason._timer._overrun
++# define si_mqd		_reason._mesgq._mqd
++# define si_band	_reason._poll._band
++
++
 +/* Values for `si_code'.  Positive values are reserved for kernel-generated
 +   signals.  */
 +enum
@@ -3396,7 +3441,7 @@
 +#endif /* ! _SIGSET_H_fns.  */
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/socket.h
-@@ -0,0 +1,421 @@
+@@ -0,0 +1,431 @@
 +/* System-specific socket constants and types.  FreeBSD version.
 +   Copyright (C) 1991-1992,1994-1999,2000-2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -3450,9 +3495,19 @@
 +#define SOCK_RAW SOCK_RAW
 +  SOCK_RDM = 4,			/* Reliably-delivered messages.  */
 +#define SOCK_RDM SOCK_RDM
-+  SOCK_SEQPACKET = 5		/* Sequenced, reliable, connection-based,
++  SOCK_SEQPACKET = 5,		/* Sequenced, reliable, connection-based,
 +				   datagrams of fixed maximum length.  */
 +#define SOCK_SEQPACKET SOCK_SEQPACKET
++
++  /* Flags to be ORed into the type parameter of socket and socketpair and
++     used for the flags parameter of paccept.  */
++
++  SOCK_CLOEXEC = 0x10000000,	/* Atomically set close-on-exec flag for the
++				new descriptor(s).  */
++#define SOCK_CLOEXEC SOCK_CLOEXEC
++  SOCK_NONBLOCK = 0x20000000	/* Atomically mark descriptor(s) as
++				non-blocking.  */
++#define SOCK_NONBLOCK SOCK_NONBLOCK
 +};
 +
 +/*
@@ -3802,7 +3857,7 @@
 +#define	INADDR_PFSYNC_GROUP	(u_int32_t)0xe00000f0	/* 224.0.0.240 */
 +#define	INADDR_ALLMDNS_GROUP	(u_int32_t)0xe00000fb	/* 224.0.0.251 */
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +
 +struct sf_hdtr;
 +
@@ -3996,7 +4051,7 @@
 +#define __S_IWRITE	0200	/* Write by owner.  */
 +#define __S_IEXEC	0100	/* Execute by owner.  */
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +
 +/* Definitions of flags stored in file flags word.  */
 +
@@ -4037,7 +4092,7 @@
 +
 +__END_DECLS
 +
-+#endif /* __USE_BSD */
++#endif /* __USE_MISC */
 +
 +#endif /* bits/stat.h */
 --- /dev/null
@@ -4321,7 +4376,7 @@
 +
 +/* sys_errlist and sys_nerr are deprecated.  Use strerror instead.  */
 +
-+#ifdef  __USE_BSD
++#ifdef  __USE_MISC
 +extern int sys_nerr;
 +extern __const char *__const sys_errlist[];
 +#endif
@@ -4365,7 +4420,7 @@
 +#endif /* bits/syslog-path.h */
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/termios.h
-@@ -0,0 +1,253 @@
+@@ -0,0 +1,245 @@
 +/* termios type and macro definitions.  FreeBSD version.
 +   Copyright (C) 1993-1994,1996-1997,1999,2001-2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -4392,7 +4447,7 @@
 +/* These macros are also defined in some <bits/ioctls.h> files (with
 +   numerically identical values), but this serves to shut up cpp's
 +   complaining. */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +
 +# ifdef MDMBUF
 +#  undef MDMBUF
@@ -4404,7 +4459,7 @@
 +#  undef PENDIN
 +# endif
 +
-+#endif /* __USE_BSD */
++#endif /* __USE_MISC */
 +
 +#ifdef ECHO
 +# undef ECHO
@@ -4445,13 +4500,13 @@
 +#define VWERASE 4
 +#define VKILL 5
 +#define VREPRINT 6
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define VERASE2 7
 +#endif
 +#define VINTR 8
 +#define VQUIT 9
 +#define VSUSP 10
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define VDSUSP 11
 +#endif
 +#define VSTART 12
@@ -4460,7 +4515,7 @@
 +#define VDISCARD 15
 +#define VMIN 16
 +#define VTIME 17
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define VSTATUS 18
 +#endif
 +
@@ -4489,7 +4544,7 @@
 +# define OXTABS	TAB3
 +# define XTABS	TAB3
 +#endif
-+#ifdef	__USE_BSD
++#ifdef	__USE_MISC
 +# define ONOEOT	(1 << 3)	/* Discard EOT (^D) on output.  */
 +#endif
 +#define	OCRNL	(1 << 4)	/* map CR to NL on output */
@@ -4497,7 +4552,7 @@
 +#define	ONLRET	(1 << 6)	/* NL performs CR function */
 +
 +/* c_cflag bit meaning */
-+#ifdef	__USE_BSD
++#ifdef	__USE_MISC
 +# define CIGNORE	(1 << 0)	/* Ignore these control flags.  */
 +#endif
 +#define	CSIZE	(CS5|CS6|CS7|CS8)	/* Number of bits per byte (mask).  */
@@ -4511,7 +4566,7 @@
 +#define	PARODD	(1 << 13)	/* Odd parity instead of even.  */
 +#define	HUPCL	(1 << 14)	/* Hang up on last close.  */
 +#define	CLOCAL	(1 << 15)	/* Ignore modem status lines.  */
-+#ifdef	__USE_BSD
++#ifdef	__USE_MISC
 +# define CCTS_OFLOW	(1 << 16)	/* CTS flow control of output.  */
 +# define CRTS_IFLOW	(1 << 17)	/* RTS flow control of input.  */
 +# define CRTSCTS	(CCTS_OFLOW|CRTS_IFLOW)	/* CTS/RTS flow control.  */
@@ -4522,41 +4577,33 @@
 +#endif
 +
 +/* c_lflag bits */
-+#ifdef	__USE_BSD
++#ifdef	__USE_MISC
 +# define ECHOKE	(1 << 0)	/* Visual erase for KILL.  */
 +#endif
-+#define	_ECHOE	(1 << 1)	/* Visual erase for ERASE.  */
-+#define	ECHOE	_ECHOE
-+#define	_ECHOK	(1 << 2)	/* Echo NL after KILL.  */
-+#define	ECHOK	_ECHOK
-+#define	_ECHO	(1 << 3)	/* Enable echo.  */
-+#define	ECHO	_ECHO
-+#define	_ECHONL	(1 << 4)	/* Echo NL even if ECHO is off.  */
-+#define	ECHONL	_ECHONL
-+#ifdef	__USE_BSD
++#define	ECHOE	(1 << 1)	/* Visual erase for ERASE.  */
++#define	ECHOK	(1 << 2)	/* Echo NL after KILL.  */
++#define	ECHO	(1 << 3)	/* Enable echo.  */
++#define	ECHONL	(1 << 4)	/* Echo NL even if ECHO is off.  */
++#ifdef	__USE_MISC
 +# define ECHOPRT	(1 << 5)	/* Hardcopy visual erase.  */
 +# define ECHOCTL	(1 << 6)	/* Echo control characters as ^X.  */
 +#endif
-+#define	_ISIG	(1 << 7)	/* Enable signals.  */
-+#define	ISIG	_ISIG
-+#define	_ICANON	(1 << 8)	/* Do erase and kill processing.  */
-+#define	ICANON	_ICANON
-+#ifdef	__USE_BSD
++#define	ISIG	(1 << 7)	/* Enable signals.  */
++#define	ICANON	(1 << 8)	/* Do erase and kill processing.  */
++#ifdef	__USE_MISC
 +# define ALTWERASE (1 << 9)	/* Alternate WERASE algorithm.  */
 +#endif
-+#define	_IEXTEN	(1 << 10)	/* Enable DISCARD and LNEXT.  */
-+#define	IEXTEN	_IEXTEN
-+#define	_EXTPROC (1 << 11)	/* External processing.  */
-+#define EXTPROC	_EXTPROC
-+#define	_TOSTOP	(1 << 22)	/* Send SIGTTOU for background output.  */
-+#define	TOSTOP	_TOSTOP
-+#ifdef	__USE_BSD
++#define	IEXTEN	(1 << 10)	/* Enable DISCARD and LNEXT.  */
++#ifdef __USE_MISC
++# define EXTPROC (1 << 11)	/* External processing.  */
++#endif
++#define	TOSTOP	(1 << 22)	/* Send SIGTTOU for background output.  */
++#ifdef	__USE_MISC
 +# define FLUSHO	(1 << 23)	/* Output being flushed (state).  */
 +# define NOKERNINFO (1 << 25)	/* Disable VSTATUS.  */
 +# define PENDIN	(1 << 29)	/* Retype pending input (state).  */
 +#endif
-+#define	_NOFLSH	(1 << 31)	/* Disable flush after interrupt.  */
-+#define	NOFLSH	_NOFLSH
++#define	NOFLSH	(1 << 31)	/* Disable flush after interrupt.  */
 +
 +  /* Input and output baud rates.  */
 +#define	B0	0		/* Hang up.  */
@@ -4615,13 +4662,13 @@
 +#define	TCSANOW		0
 +#define	TCSADRAIN	1
 +#define	TCSAFLUSH	2
-+#ifdef	__USE_BSD
++#ifdef	__USE_MISC
 +# define TCSASOFT	0x10	/* Flag: Don't alter hardware state.  */
 +#endif
 +
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/time.h
-@@ -0,0 +1,102 @@
+@@ -0,0 +1,103 @@
 +/* System-dependent timing definitions.  FreeBSD version.
 +   Copyright (C) 1996-1997, 1999, 2000, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -4655,9 +4702,10 @@
 +/* CAE XSH, Issue 4, Version 2: <time.h>
 +   The value of CLOCKS_PER_SEC is required to be 1 million on all
 +   XSI-conformant systems. */
-+#  define CLOCKS_PER_SEC  1000000l
++#  define CLOCKS_PER_SEC  ((clock_t) 1000000l)
 +
-+#  if !defined __STRICT_ANSI__ && !defined __USE_XOPEN2K
++#  if (!defined __STRICT_ANSI__ || defined __USE_POSIX) \
++   && !defined __USE_XOPEN2K
 +/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
 +   presents the real value for clock ticks per second for the system.  */
 +#   define CLK_TCK 128
@@ -4669,7 +4717,7 @@
 +/* Monotonic system-wide clock.  */
 +#   define CLOCK_MONOTONIC		4
 +/* These are BSD specific clocks.  */
-+#   ifdef __USE_BSD
++#   ifdef __USE_MISC
 +#    define CLOCK_VIRTUAL		1
 +#    define CLOCK_PROF			2
 +#    define CLOCK_UPTIME    5               /* FreeBSD-specific. */
@@ -4685,7 +4733,7 @@
 +#   define CLOCK_THREAD_CPUTIME_ID	14
 +/* High-resolution timer from the CPU.  */
 +#   define CLOCK_PROCESS_CPUTIME_ID	15
-+#   ifdef __USE_BSD
++#   ifdef __USE_MISC
 +#     define CPUCLOCK_WHICH_PID 0
 +#     define CPUCLOCK_WHICH_TID 1
 +#   endif
@@ -4864,7 +4912,7 @@
 +   uses a single read() or write() call to guarantee atomicity.  */
 +#define UIO_MAXIOV	1024
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +enum    uio_rw { UIO_READ, UIO_WRITE };
 +
 +/* Segment flag values. */
@@ -4878,7 +4926,7 @@
 +#endif
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/utsname.h
-@@ -0,0 +1,27 @@
+@@ -0,0 +1,31 @@
 +/* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
@@ -4906,6 +4954,10 @@
 +
 +/* But the version entry is longer.  */
 +#define _UTSNAME_VERSION_LENGTH 256
++
++/* If nonzero, the size of of the `domainname` field in `struct utsname'.
++   This is zero to indicate that there should be no such field at all.  */
++#define _UTSNAME_DOMAIN_LENGTH  0
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/waitflags.h
 @@ -0,0 +1,82 @@
@@ -4946,13 +4998,13 @@
 +                                   a breakpoint. */
 +                                   
 +#define __WCLONE	0x80000000	/* Wait for cloned process.  */
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +# define WLINUXCLONE	__WCLONE	/* FreeBSD name for __WCLONE.  */
 +#endif
 +
 +
 +/* The following values are used by the `waitid' function.  */
-+#if defined __USE_SVID || defined __USE_XOPEN || defined __USE_XOPEN2K8
++#if defined __USE_MISC || defined __USE_XOPEN || defined __USE_XOPEN2K8
 +# ifndef __ENUM_IDTYPE_T
 +# define __ENUM_IDTYPE_T 1
 +
@@ -4986,7 +5038,7 @@
 +        P_PSETID                /* Processor set identifier. */
 +} idtype_t;                     /* The type of id_t we are using. */
 +
-+#  if defined __USE_BSD
++#  if defined __USE_MISC
 +#  define P_ZONEID        P_JAILID
 +#  endif
 +# endif
@@ -5052,7 +5104,7 @@
 +
 +
 +
-+#ifdef	__USE_BSD
++#ifdef	__USE_MISC
 +
 +# include <endian.h>
 +
@@ -6761,7 +6813,7 @@
 +#include <elf/dl-support.c>
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/dl-sysdep.c
-@@ -0,0 +1,315 @@
+@@ -0,0 +1,316 @@
 +/* Operating system support for run-time dynamic linker.  GNU/kFreeBSD version.
 +   Copyright (C) 1995-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -6820,7 +6872,7 @@
 +ElfW(Addr) _dl_base_addr;
 +#endif
 +int __libc_enable_secure attribute_relro = 0;
-+INTVARDEF(__libc_enable_secure)
++rtld_hidden_data_def (__libc_enable_secure)
 +int __libc_multiple_libcs = 0;	/* Defining this here avoids the inclusion
 +				   of init-first.  */
 +/* This variable contains the lowest stack address ever used.  */
@@ -6864,7 +6916,7 @@
 +#endif
 +
 +  __libc_stack_end = DL_STACK_END (start_argptr);
-+  DL_FIND_ARG_COMPONENTS (start_argptr, _dl_argc, INTUSE(_dl_argv), _environ,
++  DL_FIND_ARG_COMPONENTS (start_argptr, _dl_argc, _dl_argv, _environ,
 +			  GLRO(dl_auxv));
 +
 +  user_entry = (ElfW(Addr)) ENTRY_POINT;
@@ -6908,7 +6960,7 @@
 +
 +      /* If one of the two pairs of IDs does not match this is a setuid
 +	 or setgid run.  */
-+      INTUSE(__libc_enable_secure) = uid | gid;
++      __libc_enable_secure = uid | gid;
 +    }
 +
 +#ifndef HAVE_AUX_PAGESIZE
@@ -6946,7 +6998,7 @@
 +  /* If this is a SUID program we make sure that FDs 0, 1, and 2 are
 +     allocated.  If necessary we are doing it ourself.  If it is not
 +     possible we stop the program.  */
-+  if (__builtin_expect (INTUSE(__libc_enable_secure), 0))
++  if (__builtin_expect (__libc_enable_secure, 0))
 +    __libc_check_standard_fds ();
 +
 +  (*dl_main) (phdr, phnum, &user_entry, GLRO(dl_auxv));
@@ -6999,6 +7051,7 @@
 +	  [AT_NCPUS - 2] =		{ "NCPUS:        ", dec },
 +	  [AT_PAGESIZES - 2] =		{ "PAGESIZES:    0x", hex },
 +	  [AT_PAGESIZESLEN - 2] =	{ "PAGESIZESLEN: ", dec },
++	  [AT_TIMEKEEP - 2] =		{ "TIMEKEEP:     0x", hex },
 +	  [AT_STACKPROT - 2] =		{ "STACKPROT:    0x", hex },
 +	};
 +      unsigned int idx = (unsigned int) (av->a_type - 2);
@@ -7148,14 +7201,6 @@
 +  INTERNAL_SYSCALL (writev, err, 3, fd, iov, niov);
 +}
 --- /dev/null
-+++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/execve.c
-@@ -0,0 +1,5 @@
-+int __syscall_execve(const char *filename, 
-+                     char *const argv[], 
-+                     char *const envp[]);
-+libc_hidden_proto (__syscall_execve)
-+#include <sysdeps/unix/sysv/linux/execve.c>
---- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/faccessat.c
 @@ -0,0 +1,68 @@
 +/* Test for access to file, relative to open directory.  Linux version.
@@ -7232,7 +7277,7 @@
 +pthread
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/fbtl/Makefile
-@@ -0,0 +1,67 @@
+@@ -0,0 +1,62 @@
 +# Copyright (C) 2002-2013 Free Software Foundation, Inc.
 +# This file is part of the GNU C Library.
 +# Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -7278,7 +7323,6 @@
 +libpthread-routines += ptw-sys_thr_self
 +libpthread-routines += ptw-sys_thr_set_name
 +libpthread-routines += ptw-sys_thr_exit
-+libpthread-routines += ptw-exit-thread
 +libpthread-routines += ptw-sigprocmask
 +libpthread-routines += ptw-ioctl
 +libpthread-routines += ptw-sys_clock_getcpuclockid2
@@ -7294,10 +7338,6 @@
 +CFLAGS-getpid.os = -fomit-frame-pointer
 +endif
 +
-+ifeq ($(subdir),posix)
-+sysdep_routines += exit-thread
-+endif
-+
 +# Needed in both the signal and nptl subdir.
 +CFLAGS-sigaction.c = -DWRAPPER_INCLUDE='<fbtl/sigaction.c>'
 --- /dev/null
@@ -8516,7 +8556,7 @@
 +#define GAI_MISC_NOTIFY(waitlist) \
 +  do {									      \
 +    if (*waitlist->counterp > 0 && --*waitlist->counterp == 0)		      \
-+      lll_futex_wake (waitlist->counterp, 1, LLL_PRIVATE);		      \
++      lll_futex_wake ((unsigned int *) waitlist->counterp, 1, LLL_PRIVATE);   \
 +  } while (0)
 +
 +#warning have to check sign of return values from futex wait calls
@@ -8537,8 +8577,8 @@
 +	int status;							      \
 +	do								      \
 +	  {								      \
-+	    status = lll_futex_timed_wait (futexaddr, oldval, timeout,	      \
-+					   LLL_PRIVATE);		      \
++	    status = lll_futex_timed_wait ((unsigned int *) futexaddr, oldval,\
++					   timeout, LLL_PRIVATE);	      \
 +	    if (status != EWOULDBLOCK)					      \
 +	      break;							      \
 +									      \
@@ -9004,7 +9044,7 @@
 +
 +#include <pthreadP.h>
 +
-+#ifndef NOT_IN_libc
++#if IS_IN (libc)
 +# ifndef TLS_MULTIPLE_THREADS_IN_TCB
 +/* Variable set to a nonzero value either if more than one thread runs or ran,
 +   or if a single-threaded process is trying to cancel itself.  See
@@ -9141,7 +9181,7 @@
 +
 +
 +/* These functions don't get included in libc.so  */
-+#ifdef IS_IN_libpthread
++#if IS_IN (libpthread)
 +void
 +__lll_lock_wait_shared (int *futex)
 +{
@@ -10205,7 +10245,7 @@
 +#endif
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/fbtl/pthread_setname.c
-@@ -0,0 +1,37 @@
+@@ -0,0 +1,34 @@
 +/* pthread_setname_np -- Set  thread name
 +   Copyright (C) 2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -10231,9 +10271,6 @@
 +#include <string.h>
 +#include <unistd.h>
 +
-+extern int __syscall_thr_set_name(long tid, char *name);
-+libc_hidden_proto(__syscall_thr_set_name)
-+
 +int
 +pthread_setname_np (th, name)
 +     pthread_t th;
@@ -10418,7 +10455,7 @@
 +   License along with the GNU C Library; if not, see
 +   <http://www.gnu.org/licenses/>.  */
 +
-+#define BUILD_AS_pthread_sigmask 1
++#define BUILD_AS_pthread_sigmask
 +#include "sigprocmask.c"
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/fbtl/pthread_yield.c
@@ -11089,7 +11126,7 @@
 +
 +/* Get and/or change the set of blocked signals.  */
 +int
-+#if BUILD_AS_pthread_sigmask
++#ifdef BUILD_AS_pthread_sigmask
 +pthread_sigmask(how, set, oset)
 +#else
 +__sigprocmask (how, set, oset)
@@ -11115,7 +11152,7 @@
 +    }
 +
 +  rv = INLINE_SYSCALL (sigprocmask, 3, how, set, oset);
-+#if BUILD_AS_pthread_sigmask
++#ifdef BUILD_AS_pthread_sigmask
 +  return rv;
 +}  
 +#else
@@ -11154,7 +11191,7 @@
 +
 +#include <sysdep-cancel.h>
 +#include <sys/syscall.h>
-+#include <nptl/pthreadP.h>
++#include <fbtl/pthreadP.h>
 +
 +static int
 +do_sigtimedwait (const sigset_t *set, siginfo_t *info,
@@ -11231,7 +11268,7 @@
 +
 +#include <sysdep-cancel.h>
 +#include <sys/syscall.h>
-+#include <nptl/pthreadP.h>
++#include <fbtl/pthreadP.h>
 +
 +
 +/* Return any pending signal or wait for one for the given time.  */
@@ -11312,7 +11349,7 @@
 +
 +#include <sysdep-cancel.h>
 +#include <sys/syscall.h>
-+#include <nptl/pthreadP.h>
++#include <fbtl/pthreadP.h>
 +
 +
 +static int
@@ -11524,7 +11561,7 @@
 +#include <sysdep.h>
 +#include <kernel-features.h>
 +#include <internaltypes.h>
-+#include <nptl/pthreadP.h>
++#include <fbtl/pthreadP.h>
 +#include "kernel-posix-timers.h"
 +#include "kernel-posix-cpu-timers.h"
 +
@@ -11848,7 +11885,7 @@
 +#include <stdbool.h>
 +#include <sysdep.h>
 +#include <kernel-features.h>
-+#include <nptl/pthreadP.h>
++#include <fbtl/pthreadP.h>
 +#include "kernel-posix-timers.h"
 +
 +/* NPTL/Linux simply casts "timer_t" to "struct timer *", but on
@@ -12961,7 +12998,7 @@
 +     const union sigval val;
 +     pid_t caller_pid;
 +{
-+#ifdef NOT_IN_libc
++#if !IS_IN(libc)
 +    return sigqueue(caller_pid, sig, val);
 +#else
 +    return __sigqueue(caller_pid, sig, val);
@@ -13000,7 +13037,7 @@
 +
 +/* If we compile the file for use in ld.so we don't need the feature
 +   that getcwd() allocates the buffers itself.  */
-+#ifdef IS_IN_rtld
++#if IS_IN (rtld)
 +# define NO_ALLOCATION  1
 +#endif
 +
@@ -13075,7 +13112,7 @@
 +#include <sysdeps/posix/getcwd.c>
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/getdents.c
-@@ -0,0 +1,90 @@
+@@ -0,0 +1,43 @@
 +/* Read directory entries, 3 argument function.  FreeBSD version.
 +   Copyright (C) 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -13101,8 +13138,6 @@
 +#include <errno.h>
 +#include <sysdep.h>
 +
-+#if 1
-+
 +/* Use the 3-argument system call.  */
 +
 +extern int __syscall_getdents (int fd, char *buf, size_t nbytes);
@@ -13118,51 +13153,6 @@
 +  return __syscall_getdents (fd, buf, nbytes);
 +}
 +
-+/* Export getdents().  Not an internal_function.  */
-+ssize_t
-+getdents (int fd, char *buf, size_t nbytes)
-+{
-+  return __syscall_getdents (fd, buf, nbytes);
-+}
-+
-+#else
-+
-+/* Use the 4-argument system call.  */
-+
-+extern int __syscall_getdirentries (int fd, char *buf, unsigned int nbytes,
-+				    long *basep);
-+
-+/* Read directory entries from FD into BUF, reading at most NBYTES.
-+   Returns the number of bytes read; zero when at end of directory; or
-+   -1 for errors.  */
-+ssize_t
-+internal_function
-+__getdents (int fd, char *buf, size_t nbytes)
-+{
-+  /* On 64-bit platforms, the system call differs from this function
-+     because it takes an 'unsigned int', not a 'size_t'.  */
-+  unsigned int nbytes32;
-+
-+  nbytes32 = nbytes;
-+  if (nbytes32 == nbytes)
-+    return __syscall_getdirentries (fd, buf, nbytes32, NULL);
-+  else
-+    {
-+      /* NBYTES is too large.  */
-+      __set_errno (EINVAL);
-+      return -1;
-+    }
-+}
-+
-+/* Export getdents().  Not an internal_function.  */
-+ssize_t
-+getdents (int fd, char *buf, size_t nbytes)
-+{
-+  return __getdents (fd, buf, nbytes);
-+}
-+
-+#endif
-+
 +/* Since 'struct dirent64' == 'struct dirent', the functions '__getdents64'
 +   and '__getdents' are equal.  */
 +strong_alias (__getdents, __getdents64)
@@ -14577,6 +14567,76 @@
 +
 +#endif /* _BITS_SIGCONTEXT_H */
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/c++-types.data
+@@ -0,0 +1,67 @@
++blkcnt64_t:x
++blkcnt_t:x
++blksize_t:j
++caddr_t:Pc
++clockid_t:i
++clock_t:i
++daddr_t:x
++dev_t:j
++fd_mask:l
++fsblkcnt64_t:y
++fsblkcnt_t:m
++fsfilcnt64_t:y
++fsfilcnt_t:m
++fsid_t:8__fsid_t
++gid_t:j
++id_t:j
++ino64_t:y
++ino_t:j
++int16_t:s
++int32_t:i
++int64_t:x
++int8_t:a
++intptr_t:i
++key_t:l
++loff_t:x
++mode_t:t
++nlink_t:t
++off64_t:x
++off_t:x
++pid_t:i
++pthread_attr_t:14pthread_attr_t
++pthread_barrier_t:17pthread_barrier_t
++pthread_barrierattr_t:21pthread_barrierattr_t
++pthread_cond_t:14pthread_cond_t
++pthread_condattr_t:18pthread_condattr_t
++pthread_key_t:j
++pthread_mutex_t:15pthread_mutex_t
++pthread_mutexattr_t:19pthread_mutexattr_t
++pthread_once_t:i
++pthread_rwlock_t:16pthread_rwlock_t
++pthread_rwlockattr_t:20pthread_rwlockattr_t
++pthread_spinlock_t:i
++pthread_t:m
++quad_t:x
++register_t:i
++rlim64_t:x
++rlim_t:x
++sigset_t:10__sigset_t
++size_t:j
++socklen_t:j
++ssize_t:i
++suseconds_t:l
++time_t:l
++u_char:h
++uid_t:j
++uint:j
++u_int:j
++u_int16_t:t
++u_int32_t:j
++u_int64_t:y
++u_int8_t:h
++ulong:m
++u_long:m
++u_quad_t:y
++useconds_t:j
++ushort:t
++u_short:t
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/dl-machine.h
 @@ -0,0 +1,145 @@
 +/* Machine-dependent ELF dynamic relocation inline functions.
@@ -14729,13 +14789,10 @@
 @@ -0,0 +1 @@
 +#include <sysdeps/i386/dl-procinfo.h>
 --- /dev/null
-+++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/fbtl/Implies
-@@ -0,0 +1 @@
-+unix/bsd/bsd4.4/kfreebsd/x86/fbtl
---- /dev/null
-+++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/fbtl/exit-thread.S
-@@ -0,0 +1,33 @@
-+/* Copyright (C) 2013 Free Software Foundation, Inc.
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/exit-thread.h
+@@ -0,0 +1,49 @@
++/* Call to terminate the current thread.  GNU/kFreeBSD i386 version
++   Copyright (C) 2015 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
 +   The GNU C Library is free software; you can redistribute it and/or
@@ -14753,22 +14810,41 @@
 +   <http://www.gnu.org/licenses/>.  */
 +
 +#include <sysdep.h>
-+	.text
-+ENTRY (__exit_thread)
-+        mov %gs:0, %edx
-+	mov 4(%esp), %ecx	/* we will need it later, 
-+                                %ecx is saved by kernel */
-+        add $TID,  %edx		/* should be KTID, but
-+                                they are at the same place anyway */
-+        mov %edx, 4(%esp)
-+        DO_CALL (thr_exit, 1)
-+	/* It does return only for last thread of process */
-+	mov %ecx, 4(%esp)	/* use saved value */
-+        DO_CALL (exit, 1)
-+        /* Shouldn't get here.  */
-+        hlt
-+END   (__exit_thread)
++
++/* This causes the current thread to exit, without affecting other
++   threads in the process if there are any.  If there are no other
++   threads left, then this has the effect of _exit (0).  */
++
++static inline void __attribute__ ((noreturn, always_inline, unused))
++__exit_thread (void)
++{
++  /* Doing this in a loop is mostly just to satisfy the compiler that the
++     function really qualifies as noreturn.  It also means that in some
++     pathological situation where the system call does not get made or does
++     not work, the thread will simply spin rather than running off the end
++     of the caller and doing unexpectedly strange things.  */
++  while (1)
++    {
++      asm volatile (
++	  "movl %%gs:0, %%edx\n\t"
++	  "addl %0, %%edx\n\t"    /* should be KTID, but they are at the same place anyway */
++	  "movl %%edx, 4(%%esp)\n\t"
++	  "movl %1, %%eax\n\t"
++	  "int $0x80\n\t"
++	  /* It does return only for last thread of process */
++	  "movl %2, %%eax\n\t"
++	  "movl $0, 4(%%esp)\n\t"
++	  "int $0x80\n\t"
++	  :
++	  : "i" (TID), "i" (SYS_ify(thr_exit)), "i" (SYS_ify(exit))
++	  : "memory", "cc");
++    }
++}
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/fbtl/Implies
+@@ -0,0 +1 @@
++unix/bsd/bsd4.4/kfreebsd/x86/fbtl
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/fbtl/pt-vfork.S
 @@ -0,0 +1,36 @@
 +/* Copyright (C) 1999-2013 Free Software Foundation, Inc.  This file is part
@@ -14836,7 +14912,7 @@
 +# include <fbtl/pthreadP.h>
 +#endif
 +
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
++#if IS_IN (libc) || IS_IN (libpthread) || IS_IN (librt)
 +
 +# undef PSEUDO
 +# define PSEUDO(name, syscall_name, args)				      \
@@ -14884,13 +14960,13 @@
 +# define PUSHRESULT	pushl %eax; cfi_adjust_cfa_offset (4);  pushfl;    cfi_adjust_cfa_offset (4)
 +# define POPRESULT	popfl;      cfi_adjust_cfa_offset (-4); popl %eax; cfi_adjust_cfa_offset (-4)
 +
-+# ifdef IS_IN_libpthread
++# if IS_IN (libpthread)
 +#  define CENABLE	call __pthread_enable_asynccancel;
 +#  define CDISABLE	call __pthread_disable_asynccancel
-+# elif !defined NOT_IN_libc
++# elif IS_IN (libc)
 +#  define CENABLE	call __libc_enable_asynccancel;
 +#  define CDISABLE	call __libc_disable_asynccancel
-+# elif defined IS_IN_librt
++# elif IS_IN (librt)
 +#  define CENABLE	call __librt_enable_asynccancel;
 +#  define CDISABLE	call __librt_disable_asynccancel
 +# else
@@ -14987,7 +15063,7 @@
 +
 +/*   The value of this macro is null if successful, or an error string.  */
 +
-+#  define TLS_INIT_TP(descr, secondcall)				      \
++#  define TLS_INIT_TP(descr)						      \
 +  ({									      \
 +    void *_descr = (descr);						      \
 +    tcbhead_t *head = _descr;						      \
@@ -15397,6 +15473,23 @@
 +      }
 +  }
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/ld.abilist
+@@ -0,0 +1,14 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ ___tls_get_addr F
++ __libc_memalign F
++ __libc_stack_end D 0x4
++ __tls_get_addr F
++ _dl_mcount F
++ _r_debug D 0x14
++ calloc F
++ free F
++ malloc F
++ realloc F
++GLIBC_2.4
++ GLIBC_2.4 A
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/ldconfig.h
 @@ -0,0 +1,37 @@
 +/* Copyright (C) 2002 Free Software Foundation, Inc.
@@ -15437,6 +15530,3265 @@
 +  { "libc.so.8", FLAG_ELF_LIBC5 },				\
 +  { "libm.so.8", FLAG_ELF_LIBC5 },
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libBrokenLocale.abilist
+@@ -0,0 +1,3 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ __ctype_get_mb_cur_max F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libanl.abilist
+@@ -0,0 +1,6 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ gai_cancel F
++ gai_error F
++ gai_suspend F
++ getaddrinfo_a F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libc.abilist
+@@ -0,0 +1,2205 @@
++GLIBC_2.10
++ GLIBC_2.10 A
++ __cxa_at_quick_exit F
++ __posix_getopt F
++ accept4 F
++ devname F
++ devname_r F
++ endsgent F
++ fgetsgent F
++ fgetsgent_r F
++ getsgent F
++ getsgent_r F
++ getsgnam F
++ getsgnam_r F
++ kenv F
++ malloc_info F
++ preadv F
++ preadv64 F
++ psiginfo F
++ putsgent F
++ pwritev F
++ pwritev64 F
++ quick_exit F
++ register_printf_modifier F
++ register_printf_specifier F
++ register_printf_type F
++ setsgent F
++ sgetsgent F
++ sgetsgent_r F
++ sysctlnametomib F
++GLIBC_2.11
++ GLIBC_2.11 A
++ __longjmp_chk F
++ _sys_errlist D 0x178
++ _sys_nerr D 0x4
++ execvpe F
++ lchflags F
++ mkostemps F
++ mkostemps64 F
++ mkstemps F
++ mkstemps64 F
++ sys_errlist D 0x178
++ sys_nerr D 0x4
++GLIBC_2.13
++ GLIBC_2.13 A
++ __fentry__ F
++ jail_attach F
++ jail_get F
++ jail_remove F
++ jail_set F
++GLIBC_2.14
++ GLIBC_2.14 A
++ syncfs F
++GLIBC_2.15
++ GLIBC_2.15 A
++ __fdelt_chk F
++ __fdelt_warn F
++ posix_spawn F
++ posix_spawnp F
++ scandirat F
++ scandirat64 F
++GLIBC_2.16
++ GLIBC_2.16 A
++ __getauxval F
++ __poll_chk F
++ __ppoll_chk F
++ aligned_alloc F
++ c16rtomb F
++ c32rtomb F
++ getauxval F
++ mbrtoc16 F
++ mbrtoc32 F
++ timespec_get F
++GLIBC_2.17
++ GLIBC_2.17 A
++ clock_getcpuclockid F
++ clock_getres F
++ clock_gettime F
++ clock_nanosleep F
++ clock_settime F
++ recvmmsg F
++ secure_getenv F
++ sendmmsg F
++GLIBC_2.18
++ GLIBC_2.18 A
++ __cxa_thread_atexit_impl F
++ _sys_errlist D 0x184
++ _sys_nerr D 0x4
++ msgctl F
++ semctl F
++ shmctl F
++ sys_errlist D 0x184
++ sys_nerr D 0x4
++ waitid F
++GLIBC_2.21
++ GLIBC_2.21 A
++ __statfs F
++GLIBC_2.3
++ GLIBC_2.3 A
++ _Exit F
++ _IO_2_1_stderr_ D 0x9c
++ _IO_2_1_stdin_ D 0x9c
++ _IO_2_1_stdout_ D 0x9c
++ _IO_adjust_column F
++ _IO_adjust_wcolumn F
++ _IO_default_doallocate F
++ _IO_default_finish F
++ _IO_default_pbackfail F
++ _IO_default_uflow F
++ _IO_default_xsgetn F
++ _IO_default_xsputn F
++ _IO_do_write F
++ _IO_doallocbuf F
++ _IO_fclose F
++ _IO_fdopen F
++ _IO_feof F
++ _IO_ferror F
++ _IO_fflush F
++ _IO_fgetpos F
++ _IO_fgetpos64 F
++ _IO_fgets F
++ _IO_file_attach F
++ _IO_file_close F
++ _IO_file_close_it F
++ _IO_file_doallocate F
++ _IO_file_finish F
++ _IO_file_fopen F
++ _IO_file_init F
++ _IO_file_jumps D 0x54
++ _IO_file_open F
++ _IO_file_overflow F
++ _IO_file_read F
++ _IO_file_seek F
++ _IO_file_seekoff F
++ _IO_file_setbuf F
++ _IO_file_stat F
++ _IO_file_sync F
++ _IO_file_underflow F
++ _IO_file_write F
++ _IO_file_xsputn F
++ _IO_flockfile F
++ _IO_flush_all F
++ _IO_flush_all_linebuffered F
++ _IO_fopen F
++ _IO_fprintf F
++ _IO_fputs F
++ _IO_fread F
++ _IO_free_backup_area F
++ _IO_free_wbackup_area F
++ _IO_fsetpos F
++ _IO_fsetpos64 F
++ _IO_ftell F
++ _IO_ftrylockfile F
++ _IO_funlockfile F
++ _IO_fwrite F
++ _IO_getc F
++ _IO_getline F
++ _IO_getline_info F
++ _IO_gets F
++ _IO_init F
++ _IO_init_marker F
++ _IO_init_wmarker F
++ _IO_iter_begin F
++ _IO_iter_end F
++ _IO_iter_file F
++ _IO_iter_next F
++ _IO_least_wmarker F
++ _IO_link_in F
++ _IO_list_all D 0x4
++ _IO_list_lock F
++ _IO_list_resetlock F
++ _IO_list_unlock F
++ _IO_marker_delta F
++ _IO_marker_difference F
++ _IO_padn F
++ _IO_peekc_locked F
++ _IO_popen F
++ _IO_printf F
++ _IO_proc_close F
++ _IO_proc_open F
++ _IO_putc F
++ _IO_puts F
++ _IO_remove_marker F
++ _IO_seekmark F
++ _IO_seekoff F
++ _IO_seekpos F
++ _IO_seekwmark F
++ _IO_setb F
++ _IO_setbuffer F
++ _IO_setvbuf F
++ _IO_sgetn F
++ _IO_sprintf F
++ _IO_sputbackc F
++ _IO_sputbackwc F
++ _IO_sscanf F
++ _IO_str_init_readonly F
++ _IO_str_init_static F
++ _IO_str_overflow F
++ _IO_str_pbackfail F
++ _IO_str_seekoff F
++ _IO_str_underflow F
++ _IO_sungetc F
++ _IO_sungetwc F
++ _IO_switch_to_get_mode F
++ _IO_switch_to_main_wget_area F
++ _IO_switch_to_wbackup_area F
++ _IO_switch_to_wget_mode F
++ _IO_un_link F
++ _IO_ungetc F
++ _IO_unsave_markers F
++ _IO_unsave_wmarkers F
++ _IO_vfprintf F
++ _IO_vfscanf F
++ _IO_vsprintf F
++ _IO_wdefault_doallocate F
++ _IO_wdefault_finish F
++ _IO_wdefault_pbackfail F
++ _IO_wdefault_uflow F
++ _IO_wdefault_xsgetn F
++ _IO_wdefault_xsputn F
++ _IO_wdo_write F
++ _IO_wdoallocbuf F
++ _IO_wfile_jumps D 0x54
++ _IO_wfile_overflow F
++ _IO_wfile_seekoff F
++ _IO_wfile_sync F
++ _IO_wfile_underflow F
++ _IO_wfile_xsputn F
++ _IO_wmarker_delta F
++ _IO_wsetb F
++ __acl_aclcheck_fd F
++ __acl_aclcheck_file F
++ __acl_delete_fd F
++ __acl_delete_file F
++ __acl_get_fd F
++ __acl_get_file F
++ __acl_set_fd F
++ __acl_set_file F
++ __after_morecore_hook D 0x4
++ __argz_count F
++ __argz_next F
++ __argz_stringify F
++ __asprintf F
++ __assert F
++ __assert_fail F
++ __assert_perror_fail F
++ __backtrace F
++ __backtrace_symbols F
++ __backtrace_symbols_fd F
++ __bsd_getpgrp F
++ __bzero F
++ __check_rhosts_file D 0x4
++ __close F
++ __cmsg_nxthdr F
++ __connect F
++ __ctype_b_loc F
++ __ctype_get_mb_cur_max F
++ __ctype_tolower_loc F
++ __ctype_toupper_loc F
++ __curbrk D 0x4
++ __cxa_atexit F
++ __cxa_finalize F
++ __cyg_profile_func_enter F
++ __cyg_profile_func_exit F
++ __daylight D 0x4
++ __dcgettext F
++ __default_morecore F
++ __dgettext F
++ __divdi3 F
++ __dup2 F
++ __duplocale F
++ __environ D 0x4
++ __errno_location F
++ __fbufsize F
++ __fcntl F
++ __ffs F
++ __finite F
++ __finitef F
++ __finitel F
++ __flbf F
++ __fork F
++ __fpending F
++ __fpu_control D 0x2
++ __fpurge F
++ __freadable F
++ __freading F
++ __free_hook D 0x4
++ __freelocale F
++ __fsetlocking F
++ __fwritable F
++ __fwriting F
++ __fxstat F
++ __fxstat64 F
++ __getdelim F
++ __getpagesize F
++ __getpgid F
++ __getpid F
++ __gettimeofday F
++ __gmtime_r F
++ __h_errno_location F
++ __isalnum_l F
++ __isalpha_l F
++ __isascii_l F
++ __isblank_l F
++ __iscntrl_l F
++ __isctype F
++ __isdigit_l F
++ __isgraph_l F
++ __isinf F
++ __isinff F
++ __isinfl F
++ __islower_l F
++ __isnan F
++ __isnanf F
++ __isnanl F
++ __isprint_l F
++ __ispunct_l F
++ __isspace_l F
++ __isupper_l F
++ __iswalnum_l F
++ __iswalpha_l F
++ __iswblank_l F
++ __iswcntrl_l F
++ __iswctype F
++ __iswctype_l F
++ __iswdigit_l F
++ __iswgraph_l F
++ __iswlower_l F
++ __iswprint_l F
++ __iswpunct_l F
++ __iswspace_l F
++ __iswupper_l F
++ __iswxdigit_l F
++ __isxdigit_l F
++ __ivaliduser F
++ __key_decryptsession_pk_LOCAL D 0x4
++ __key_encryptsession_pk_LOCAL D 0x4
++ __key_gendes_LOCAL D 0x4
++ __libc_allocate_rtsig F
++ __libc_calloc F
++ __libc_current_sigrtmax F
++ __libc_current_sigrtmin F
++ __libc_free F
++ __libc_freeres F
++ __libc_init_first F
++ __libc_mallinfo F
++ __libc_malloc F
++ __libc_mallopt F
++ __libc_memalign F
++ __libc_pvalloc F
++ __libc_realloc F
++ __libc_start_main F
++ __libc_valloc F
++ __lseek F
++ __lxstat F
++ __lxstat64 F
++ __malloc_hook D 0x4
++ __malloc_initialize_hook D 0x4
++ __mbrlen F
++ __mbrtowc F
++ __memalign_hook D 0x4
++ __memcpy_by2 F
++ __memcpy_by4 F
++ __memcpy_c F
++ __memcpy_g F
++ __mempcpy F
++ __mempcpy_by2 F
++ __mempcpy_by4 F
++ __mempcpy_byn F
++ __mempcpy_small F
++ __memset_cc F
++ __memset_ccn_by2 F
++ __memset_ccn_by4 F
++ __memset_cg F
++ __memset_gcn_by2 F
++ __memset_gcn_by4 F
++ __memset_gg F
++ __moddi3 F
++ __monstartup F
++ __morecore D 0x4
++ __nanosleep F
++ __newlocale F
++ __nl_langinfo_l F
++ __nss_configure_lookup F
++ __nss_database_lookup F
++ __nss_group_lookup F
++ __nss_hostname_digits_dots F
++ __nss_hosts_lookup F
++ __nss_next F
++ __nss_passwd_lookup F
++ __open F
++ __overflow F
++ __pipe F
++ __poll F
++ __pread64 F
++ __printf_fp F
++ __profile_frequency F
++ __progname D 0x4
++ __progname_full D 0x4
++ __pwrite64 F
++ __rawmemchr F
++ __rcmd_errstr D 0x4
++ __read F
++ __realloc_hook D 0x4
++ __res_init F
++ __res_nclose F
++ __res_ninit F
++ __res_randomid F
++ __res_state F
++ __rpc_thread_createerr F
++ __rpc_thread_svc_fdset F
++ __rpc_thread_svc_max_pollfd F
++ __rpc_thread_svc_pollfd F
++ __sbrk F
++ __sched_get_priority_max F
++ __sched_get_priority_min F
++ __sched_getparam F
++ __sched_getscheduler F
++ __sched_setscheduler F
++ __sched_yield F
++ __secure_getenv F
++ __select F
++ __send F
++ __setpgid F
++ __sigaction F
++ __sigaddset F
++ __sigdelset F
++ __sigismember F
++ __signbit F
++ __signbitf F
++ __signbitl F
++ __sigpause F
++ __sigsetjmp F
++ __sigsuspend F
++ __stpcpy F
++ __stpcpy_g F
++ __stpcpy_small F
++ __stpncpy F
++ __strcasecmp F
++ __strcasecmp_l F
++ __strcasestr F
++ __strcat_c F
++ __strcat_g F
++ __strchr_c F
++ __strchr_g F
++ __strchrnul_c F
++ __strchrnul_g F
++ __strcmp_gg F
++ __strcoll_l F
++ __strcpy_g F
++ __strcpy_small F
++ __strcspn_c1 F
++ __strcspn_c2 F
++ __strcspn_c3 F
++ __strcspn_cg F
++ __strcspn_g F
++ __strdup F
++ __strerror_r F
++ __strfmon_l F
++ __strftime_l F
++ __strlen_g F
++ __strncasecmp_l F
++ __strncat_g F
++ __strncmp_g F
++ __strncpy_by2 F
++ __strncpy_by4 F
++ __strncpy_byn F
++ __strncpy_gg F
++ __strndup F
++ __strpbrk_c2 F
++ __strpbrk_c3 F
++ __strpbrk_cg F
++ __strpbrk_g F
++ __strrchr_c F
++ __strrchr_g F
++ __strsep_1c F
++ __strsep_2c F
++ __strsep_3c F
++ __strsep_g F
++ __strspn_c1 F
++ __strspn_c2 F
++ __strspn_c3 F
++ __strspn_cg F
++ __strspn_g F
++ __strstr_cg F
++ __strstr_g F
++ __strtod_internal F
++ __strtod_l F
++ __strtof_internal F
++ __strtof_l F
++ __strtok_r F
++ __strtok_r_1c F
++ __strtol_internal F
++ __strtol_l F
++ __strtold_internal F
++ __strtold_l F
++ __strtoll_internal F
++ __strtoll_l F
++ __strtoul_internal F
++ __strtoul_l F
++ __strtoull_internal F
++ __strtoull_l F
++ __strverscmp F
++ __strxfrm_l F
++ __syscall_aio_cancel F
++ __syscall_aio_error F
++ __syscall_aio_read F
++ __syscall_aio_return F
++ __syscall_aio_suspend F
++ __syscall_aio_waitcomplete F
++ __syscall_aio_write F
++ __syscall_lio_listio F
++ __syscall_obreak F
++ __syscall_yield F
++ __sysconf F
++ __sysctl F
++ __sysv_signal F
++ __timezone D 0x4
++ __toascii_l F
++ __tolower_l F
++ __toupper_l F
++ __towctrans F
++ __towctrans_l F
++ __towlower_l F
++ __towupper_l F
++ __tzname D 0x8
++ __udivdi3 F
++ __uflow F
++ __umoddi3 F
++ __underflow F
++ __uselocale F
++ __vfork F
++ __vfscanf F
++ __vsnprintf F
++ __vsscanf F
++ __wait F
++ __waitpid F
++ __wcscasecmp_l F
++ __wcscoll_l F
++ __wcsftime_l F
++ __wcsncasecmp_l F
++ __wcstod_internal F
++ __wcstod_l F
++ __wcstof_internal F
++ __wcstof_l F
++ __wcstol_internal F
++ __wcstol_l F
++ __wcstold_internal F
++ __wcstold_l F
++ __wcstoll_internal F
++ __wcstoll_l F
++ __wcstoul_internal F
++ __wcstoul_l F
++ __wcstoull_internal F
++ __wcstoull_l F
++ __wcsxfrm_l F
++ __wctrans_l F
++ __wctype_l F
++ __woverflow F
++ __write F
++ __wuflow F
++ __wunderflow F
++ __xmknod F
++ __xpg_basename F
++ __xpg_sigpause F
++ __xstat F
++ __xstat64 F
++ _authenticate F
++ _dl_mcount_wrapper F
++ _dl_mcount_wrapper_check F
++ _environ D 0x4
++ _exit F
++ _flushlbf F
++ _libc_intl_domainname D 0x5
++ _longjmp F
++ _mcleanup F
++ _mcount F
++ _nl_default_dirname D 0x12
++ _nl_domain_bindings D 0x4
++ _nl_msg_cat_cntr D 0x4
++ _null_auth D 0xc
++ _obstack D 0x4
++ _obstack_allocated_p F
++ _obstack_begin F
++ _obstack_begin_1 F
++ _obstack_free F
++ _obstack_memory_used F
++ _obstack_newchunk F
++ _res D 0x200
++ _res_hconf D 0x30
++ _rpc_dtablesize F
++ _seterr_reply F
++ _setjmp F
++ _sys_errlist D 0x15c
++ _sys_nerr D 0x4
++ _sys_siglist D 0x204
++ _tolower F
++ _toupper F
++ a64l F
++ abort F
++ abs F
++ accept F
++ access F
++ acct F
++ addmntent F
++ addseverity F
++ adjtime F
++ advance F
++ alarm F
++ alphasort F
++ alphasort64 F
++ argp_err_exit_status D 0x4
++ argp_error F
++ argp_failure F
++ argp_help F
++ argp_parse F
++ argp_program_bug_address D 0x4
++ argp_program_version D 0x4
++ argp_program_version_hook D 0x4
++ argp_state_help F
++ argp_usage F
++ argz_add F
++ argz_add_sep F
++ argz_append F
++ argz_count F
++ argz_create F
++ argz_create_sep F
++ argz_delete F
++ argz_extract F
++ argz_insert F
++ argz_next F
++ argz_replace F
++ argz_stringify F
++ asctime F
++ asctime_r F
++ asprintf F
++ atof F
++ atoi F
++ atol F
++ atoll F
++ authdes_create F
++ authdes_getucred F
++ authdes_pk_create F
++ authnone_create F
++ authunix_create F
++ authunix_create_default F
++ backtrace F
++ backtrace_symbols F
++ backtrace_symbols_fd F
++ basename F
++ bcmp F
++ bcopy F
++ bind F
++ bind_textdomain_codeset F
++ bindresvport F
++ bindtextdomain F
++ brk F
++ bsd_signal F
++ bsearch F
++ btowc F
++ bzero F
++ calloc F
++ callrpc F
++ canonicalize_file_name F
++ catclose F
++ catgets F
++ catopen F
++ cbc_crypt F
++ cfgetispeed F
++ cfgetospeed F
++ cfmakeraw F
++ cfree F
++ cfsetispeed F
++ cfsetospeed F
++ cfsetspeed F
++ chdir F
++ chflags F
++ chmod F
++ chown F
++ chroot F
++ clearenv F
++ clearerr F
++ clearerr_unlocked F
++ clnt_broadcast F
++ clnt_create F
++ clnt_pcreateerror F
++ clnt_perrno F
++ clnt_perror F
++ clnt_spcreateerror F
++ clnt_sperrno F
++ clnt_sperror F
++ clntraw_create F
++ clnttcp_create F
++ clntudp_bufcreate F
++ clntudp_create F
++ clntunix_create F
++ clock F
++ clone F
++ close F
++ closedir F
++ closelog F
++ confstr F
++ connect F
++ copysign F
++ copysignf F
++ copysignl F
++ creat F
++ creat64 F
++ ctermid F
++ ctime F
++ ctime_r F
++ cuserid F
++ daemon F
++ daylight D 0x4
++ dcgettext F
++ dcngettext F
++ des_setparity F
++ dgettext F
++ difftime F
++ dirfd F
++ dirname F
++ div F
++ dl_iterate_phdr F
++ dngettext F
++ dprintf F
++ drand48 F
++ drand48_r F
++ dup F
++ dup2 F
++ duplocale F
++ dysize F
++ ecb_crypt F
++ ecvt F
++ ecvt_r F
++ endaliasent F
++ endfsent F
++ endgrent F
++ endhostent F
++ endmntent F
++ endnetent F
++ endnetgrent F
++ endprotoent F
++ endpwent F
++ endrpcent F
++ endservent F
++ endspent F
++ endttyent F
++ endusershell F
++ endutent F
++ endutxent F
++ environ D 0x4
++ envz_add F
++ envz_entry F
++ envz_get F
++ envz_merge F
++ envz_remove F
++ envz_strip F
++ erand48 F
++ erand48_r F
++ err F
++ error F
++ error_at_line F
++ error_message_count D 0x4
++ error_one_per_line D 0x4
++ error_print_progname D 0x4
++ errx F
++ ether_aton F
++ ether_aton_r F
++ ether_hostton F
++ ether_line F
++ ether_ntoa F
++ ether_ntoa_r F
++ ether_ntohost F
++ euidaccess F
++ execl F
++ execle F
++ execlp F
++ execv F
++ execve F
++ execvp F
++ exit F
++ extattr_delete_file F
++ extattr_get_file F
++ extattr_set_file F
++ extattrctl F
++ fattach F
++ fchdir F
++ fchflags F
++ fchmod F
++ fchown F
++ fclose F
++ fcloseall F
++ fcntl F
++ fcvt F
++ fcvt_r F
++ fdatasync F
++ fdetach F
++ fdopen F
++ feof F
++ feof_unlocked F
++ ferror F
++ ferror_unlocked F
++ fexecve F
++ fflush F
++ fflush_unlocked F
++ ffs F
++ ffsl F
++ ffsll F
++ fgetc F
++ fgetc_unlocked F
++ fgetgrent F
++ fgetgrent_r F
++ fgetpos F
++ fgetpos64 F
++ fgetpwent F
++ fgetpwent_r F
++ fgets F
++ fgets_unlocked F
++ fgetspent F
++ fgetspent_r F
++ fgetwc F
++ fgetwc_unlocked F
++ fgetws F
++ fgetws_unlocked F
++ fgetxattr F
++ fhopen F
++ fhstat F
++ fhstatfs F
++ fileno F
++ fileno_unlocked F
++ finite F
++ finitef F
++ finitel F
++ flistxattr F
++ flock F
++ flockfile F
++ fmemopen F
++ fmtmsg F
++ fnmatch F
++ fopen F
++ fopen64 F
++ fopencookie F
++ fork F
++ fpathconf F
++ fprintf F
++ fputc F
++ fputc_unlocked F
++ fputs F
++ fputs_unlocked F
++ fputwc F
++ fputwc_unlocked F
++ fputws F
++ fputws_unlocked F
++ fread F
++ fread_unlocked F
++ free F
++ freeaddrinfo F
++ freeifaddrs F
++ freelocale F
++ fremovexattr F
++ freopen F
++ freopen64 F
++ frexp F
++ frexpf F
++ frexpl F
++ fscanf F
++ fseek F
++ fseeko F
++ fseeko64 F
++ fsetpos F
++ fsetpos64 F
++ fsetxattr F
++ fstatfs F
++ fstatfs64 F
++ fstatvfs F
++ fstatvfs64 F
++ fsync F
++ ftell F
++ ftello F
++ ftello64 F
++ ftime F
++ ftok F
++ ftruncate F
++ ftruncate64 F
++ ftrylockfile F
++ fts_children F
++ fts_close F
++ fts_open F
++ fts_read F
++ fts_set F
++ ftw F
++ ftw64 F
++ funlockfile F
++ futimes F
++ fwide F
++ fwprintf F
++ fwrite F
++ fwrite_unlocked F
++ fwscanf F
++ gai_strerror F
++ gcvt F
++ get_avphys_pages F
++ get_current_dir_name F
++ get_myaddress F
++ get_nprocs F
++ get_nprocs_conf F
++ get_phys_pages F
++ getaddrinfo F
++ getaliasbyname F
++ getaliasbyname_r F
++ getaliasent F
++ getaliasent_r F
++ getc F
++ getc_unlocked F
++ getchar F
++ getchar_unlocked F
++ getcontext F
++ getcwd F
++ getdate F
++ getdate_err D 0x4
++ getdate_r F
++ getdelim F
++ getdents F
++ getdirentries F
++ getdirentries64 F
++ getdomainname F
++ getdtablesize F
++ getegid F
++ getenv F
++ geteuid F
++ getfh F
++ getfsent F
++ getfsfile F
++ getfsspec F
++ getfsstat F
++ getfsstat64 F
++ getgid F
++ getgrent F
++ getgrent_r F
++ getgrgid F
++ getgrgid_r F
++ getgrnam F
++ getgrnam_r F
++ getgrouplist F
++ getgroups F
++ gethostbyaddr F
++ gethostbyaddr_r F
++ gethostbyname F
++ gethostbyname2 F
++ gethostbyname2_r F
++ gethostbyname_r F
++ gethostent F
++ gethostent_r F
++ gethostid F
++ gethostname F
++ getifaddrs F
++ getitimer F
++ getline F
++ getloadavg F
++ getlogin F
++ getlogin_r F
++ getmntent F
++ getmntent_r F
++ getmntinfo F
++ getmntinfo64 F
++ getmsg F
++ getnameinfo F
++ getnetbyaddr F
++ getnetbyaddr_r F
++ getnetbyname F
++ getnetbyname_r F
++ getnetent F
++ getnetent_r F
++ getnetgrent F
++ getnetgrent_r F
++ getnetname F
++ getopt F
++ getopt_long F
++ getopt_long_only F
++ getpagesize F
++ getpass F
++ getpeername F
++ getpgid F
++ getpgrp F
++ getpid F
++ getpmsg F
++ getppid F
++ getpriority F
++ getprotobyname F
++ getprotobyname_r F
++ getprotobynumber F
++ getprotobynumber_r F
++ getprotoent F
++ getprotoent_r F
++ getpt F
++ getpublickey F
++ getpw F
++ getpwent F
++ getpwent_r F
++ getpwnam F
++ getpwnam_r F
++ getpwuid F
++ getpwuid_r F
++ getresgid F
++ getresuid F
++ getrlimit F
++ getrlimit64 F
++ getrpcbyname F
++ getrpcbyname_r F
++ getrpcbynumber F
++ getrpcbynumber_r F
++ getrpcent F
++ getrpcent_r F
++ getrpcport F
++ getrusage F
++ gets F
++ getsecretkey F
++ getservbyname F
++ getservbyname_r F
++ getservbyport F
++ getservbyport_r F
++ getservent F
++ getservent_r F
++ getsid F
++ getsockname F
++ getsockopt F
++ getspent F
++ getspent_r F
++ getspnam F
++ getspnam_r F
++ getsubopt F
++ gettext F
++ gettimeofday F
++ getttyent F
++ getttynam F
++ getuid F
++ getusershell F
++ getutent F
++ getutent_r F
++ getutid F
++ getutid_r F
++ getutline F
++ getutline_r F
++ getutmp F
++ getutmpx F
++ getutxent F
++ getutxid F
++ getutxline F
++ getw F
++ getwc F
++ getwc_unlocked F
++ getwchar F
++ getwchar_unlocked F
++ getwd F
++ getxattr F
++ glob F
++ glob64 F
++ glob_pattern_p F
++ globfree F
++ globfree64 F
++ gmtime F
++ gmtime_r F
++ gnu_get_libc_release F
++ gnu_get_libc_version F
++ grantpt F
++ group_member F
++ gsignal F
++ gtty F
++ h_errlist D 0x14
++ h_nerr D 0x4
++ hasmntopt F
++ hcreate F
++ hcreate_r F
++ hdestroy F
++ hdestroy_r F
++ herror F
++ host2netname F
++ hsearch F
++ hsearch_r F
++ hstrerror F
++ htonl F
++ htons F
++ i386_get_ioperm F
++ i386_get_ldt F
++ i386_set_ioperm F
++ i386_set_ldt F
++ i386_vm86 F
++ iconv F
++ iconv_close F
++ iconv_open F
++ if_freenameindex F
++ if_indextoname F
++ if_nameindex F
++ if_nametoindex F
++ imaxabs F
++ imaxdiv F
++ in6addr_any D 0x10
++ in6addr_loopback D 0x10
++ index F
++ inet_addr F
++ inet_aton F
++ inet_lnaof F
++ inet_makeaddr F
++ inet_netof F
++ inet_network F
++ inet_nsap_addr F
++ inet_nsap_ntoa F
++ inet_ntoa F
++ inet_ntop F
++ inet_pton F
++ initgroups F
++ initstate F
++ initstate_r F
++ innetgr F
++ insque F
++ ioctl F
++ ioperm F
++ iopl F
++ iruserok F
++ iruserok_af F
++ isalnum F
++ isalnum_l F
++ isalpha F
++ isalpha_l F
++ isascii F
++ isastream F
++ isatty F
++ isblank F
++ isblank_l F
++ iscntrl F
++ iscntrl_l F
++ isctype F
++ isdigit F
++ isdigit_l F
++ isfdtype F
++ isgraph F
++ isgraph_l F
++ isinf F
++ isinff F
++ isinfl F
++ islower F
++ islower_l F
++ isnan F
++ isnanf F
++ isnanl F
++ isprint F
++ isprint_l F
++ ispunct F
++ ispunct_l F
++ issetugid F
++ isspace F
++ isspace_l F
++ isupper F
++ isupper_l F
++ iswalnum F
++ iswalnum_l F
++ iswalpha F
++ iswalpha_l F
++ iswblank F
++ iswblank_l F
++ iswcntrl F
++ iswcntrl_l F
++ iswctype F
++ iswctype_l F
++ iswdigit F
++ iswdigit_l F
++ iswgraph F
++ iswgraph_l F
++ iswlower F
++ iswlower_l F
++ iswprint F
++ iswprint_l F
++ iswpunct F
++ iswpunct_l F
++ iswspace F
++ iswspace_l F
++ iswupper F
++ iswupper_l F
++ iswxdigit F
++ iswxdigit_l F
++ isxdigit F
++ isxdigit_l F
++ jail F
++ jrand48 F
++ jrand48_r F
++ key_decryptsession F
++ key_decryptsession_pk F
++ key_encryptsession F
++ key_encryptsession_pk F
++ key_gendes F
++ key_get_conv F
++ key_secretkey_is_set F
++ key_setnet F
++ key_setsecret F
++ kill F
++ killpg F
++ kldfind F
++ kldfirstmod F
++ kldload F
++ kldnext F
++ kldstat F
++ kldsym F
++ kldunload F
++ kldunloadf F
++ ktrace F
++ l64a F
++ labs F
++ lchmod F
++ lchown F
++ lckpwdf F
++ lcong48 F
++ lcong48_r F
++ ldexp F
++ ldexpf F
++ ldexpl F
++ ldiv F
++ lfind F
++ lgetxattr F
++ link F
++ listen F
++ listxattr F
++ llabs F
++ lldiv F
++ llistxattr F
++ loc1 D 0x4
++ loc2 D 0x4
++ localeconv F
++ localtime F
++ localtime_r F
++ lockf F
++ lockf64 F
++ locs D 0x4
++ longjmp F
++ lrand48 F
++ lrand48_r F
++ lremovexattr F
++ lsearch F
++ lseek F
++ lseek64 F
++ lsetxattr F
++ lutimes F
++ madvise F
++ makecontext F
++ mallinfo F
++ malloc F
++ malloc_get_state F
++ malloc_set_state F
++ malloc_stats F
++ malloc_trim F
++ malloc_usable_size F
++ mallopt F
++ mallwatch D 0x4
++ mblen F
++ mbrlen F
++ mbrtowc F
++ mbsinit F
++ mbsnrtowcs F
++ mbsrtowcs F
++ mbstowcs F
++ mbtowc F
++ mcheck F
++ mcheck_check_all F
++ mcheck_pedantic F
++ mcount F
++ memalign F
++ memccpy F
++ memchr F
++ memcmp F
++ memcpy F
++ memfrob F
++ memmem F
++ memmove F
++ mempcpy F
++ memrchr F
++ memset F
++ mincore F
++ minherit F
++ mkdir F
++ mkdtemp F
++ mkfifo F
++ mkstemp F
++ mkstemp64 F
++ mktemp F
++ mktime F
++ mlock F
++ mlockall F
++ mmap F
++ mmap64 F
++ modf F
++ modff F
++ modfind F
++ modfl F
++ modfnext F
++ modnext F
++ modstat F
++ moncontrol F
++ monstartup F
++ mount F
++ mprobe F
++ mprotect F
++ mrand48 F
++ mrand48_r F
++ msgctl F
++ msgget F
++ msgrcv F
++ msgsnd F
++ msync F
++ mtrace F
++ munlock F
++ munlockall F
++ munmap F
++ muntrace F
++ nanosleep F
++ netname2host F
++ netname2user F
++ newlocale F
++ nftw F
++ nftw64 F
++ ngettext F
++ nice F
++ nl_langinfo F
++ nl_langinfo_l F
++ nmount F
++ nrand48 F
++ nrand48_r F
++ ntohl F
++ ntohs F
++ ntp_adjtime F
++ ntp_gettime F
++ obstack_alloc_failed_handler D 0x4
++ obstack_exit_failure D 0x4
++ obstack_free F
++ obstack_printf F
++ obstack_vprintf F
++ on_exit F
++ open F
++ open64 F
++ open_memstream F
++ opendir F
++ openlog F
++ optarg D 0x4
++ opterr D 0x4
++ optind D 0x4
++ optopt D 0x4
++ parse_printf_format F
++ passwd2des F
++ pathconf F
++ pause F
++ pclose F
++ perror F
++ pipe F
++ pmap_getmaps F
++ pmap_getport F
++ pmap_rmtcall F
++ pmap_set F
++ pmap_unset F
++ poll F
++ popen F
++ posix_fadvise F
++ posix_fadvise64 F
++ posix_fallocate F
++ posix_fallocate64 F
++ posix_madvise F
++ posix_memalign F
++ posix_openpt F
++ posix_spawn F
++ posix_spawn_file_actions_addclose F
++ posix_spawn_file_actions_adddup2 F
++ posix_spawn_file_actions_addopen F
++ posix_spawn_file_actions_destroy F
++ posix_spawn_file_actions_init F
++ posix_spawnattr_destroy F
++ posix_spawnattr_getflags F
++ posix_spawnattr_getpgroup F
++ posix_spawnattr_getschedparam F
++ posix_spawnattr_getschedpolicy F
++ posix_spawnattr_getsigdefault F
++ posix_spawnattr_getsigmask F
++ posix_spawnattr_init F
++ posix_spawnattr_setflags F
++ posix_spawnattr_setpgroup F
++ posix_spawnattr_setschedparam F
++ posix_spawnattr_setschedpolicy F
++ posix_spawnattr_setsigdefault F
++ posix_spawnattr_setsigmask F
++ posix_spawnp F
++ pread F
++ pread64 F
++ printf F
++ printf_size F
++ printf_size_info F
++ profil F
++ program_invocation_name D 0x4
++ program_invocation_short_name D 0x4
++ pselect F
++ psignal F
++ pthread_attr_destroy F
++ pthread_attr_getdetachstate F
++ pthread_attr_getinheritsched F
++ pthread_attr_getschedparam F
++ pthread_attr_getschedpolicy F
++ pthread_attr_getscope F
++ pthread_attr_init F
++ pthread_attr_setdetachstate F
++ pthread_attr_setinheritsched F
++ pthread_attr_setschedparam F
++ pthread_attr_setschedpolicy F
++ pthread_attr_setscope F
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++ pthread_condattr_destroy F
++ pthread_condattr_init F
++ pthread_equal F
++ pthread_exit F
++ pthread_getschedparam F
++ pthread_mutex_destroy F
++ pthread_mutex_init F
++ pthread_mutex_lock F
++ pthread_mutex_unlock F
++ pthread_self F
++ pthread_setcancelstate F
++ pthread_setcanceltype F
++ pthread_setschedparam F
++ ptrace F
++ ptsname F
++ ptsname_r F
++ putc F
++ putc_unlocked F
++ putchar F
++ putchar_unlocked F
++ putenv F
++ putgrent F
++ putmsg F
++ putpmsg F
++ putpwent F
++ puts F
++ putspent F
++ pututline F
++ pututxline F
++ putw F
++ putwc F
++ putwc_unlocked F
++ putwchar F
++ putwchar_unlocked F
++ pvalloc F
++ pwrite F
++ pwrite64 F
++ qecvt F
++ qecvt_r F
++ qfcvt F
++ qfcvt_r F
++ qgcvt F
++ qsort F
++ quotactl F
++ raise F
++ rand F
++ rand_r F
++ random F
++ random_r F
++ rawmemchr F
++ rcmd F
++ rcmd_af F
++ re_comp F
++ re_compile_fastmap F
++ re_compile_pattern F
++ re_exec F
++ re_match F
++ re_match_2 F
++ re_search F
++ re_search_2 F
++ re_set_registers F
++ re_set_syntax F
++ re_syntax_options D 0x4
++ read F
++ readdir F
++ readdir64 F
++ readdir64_r F
++ readdir_r F
++ readlink F
++ readv F
++ realloc F
++ realpath F
++ reboot F
++ recv F
++ recvfrom F
++ recvmsg F
++ regcomp F
++ regerror F
++ regexec F
++ regfree F
++ register_printf_function F
++ registerrpc F
++ remove F
++ removexattr F
++ remque F
++ rename F
++ revoke F
++ rewind F
++ rewinddir F
++ rexec F
++ rexec_af F
++ rexecoptions D 0x4
++ rfork F
++ rindex F
++ rmdir F
++ rpc_createerr D 0x10
++ rpmatch F
++ rresvport F
++ rresvport_af F
++ rtime F
++ rtprio F
++ ruserok F
++ ruserok_af F
++ ruserpass F
++ sbrk F
++ scalbln F
++ scalblnf F
++ scalblnl F
++ scalbn F
++ scalbnf F
++ scalbnl F
++ scandir F
++ scandir64 F
++ scanf F
++ sched_get_priority_max F
++ sched_get_priority_min F
++ sched_getparam F
++ sched_getscheduler F
++ sched_rr_get_interval F
++ sched_setparam F
++ sched_setscheduler F
++ sched_yield F
++ seed48 F
++ seed48_r F
++ seekdir F
++ select F
++ semctl F
++ semget F
++ semop F
++ send F
++ sendfile F
++ sendfile64 F
++ sendmsg F
++ sendto F
++ setaliasent F
++ setbuf F
++ setbuffer F
++ setcontext F
++ setdomainname F
++ setegid F
++ setenv F
++ seteuid F
++ setfsent F
++ setgid F
++ setgrent F
++ setgroups F
++ sethostent F
++ sethostid F
++ sethostname F
++ setitimer F
++ setjmp F
++ setlinebuf F
++ setlocale F
++ setlogin F
++ setlogmask F
++ setmntent F
++ setnetent F
++ setnetgrent F
++ setpgid F
++ setpgrp F
++ setpriority F
++ setprotoent F
++ setpwent F
++ setregid F
++ setresgid F
++ setresuid F
++ setreuid F
++ setrlimit F
++ setrlimit64 F
++ setrpcent F
++ setservent F
++ setsid F
++ setsockopt F
++ setspent F
++ setstate F
++ setstate_r F
++ settimeofday F
++ setttyent F
++ setuid F
++ setusershell F
++ setutent F
++ setutxent F
++ setvbuf F
++ setxattr F
++ sgetspent F
++ sgetspent_r F
++ shmat F
++ shmctl F
++ shmdt F
++ shmget F
++ shutdown F
++ sigaction F
++ sigaddset F
++ sigaltstack F
++ sigandset F
++ sigblock F
++ sigdelset F
++ sigemptyset F
++ sigfillset F
++ siggetmask F
++ sighold F
++ sigignore F
++ siginterrupt F
++ sigisemptyset F
++ sigismember F
++ siglongjmp F
++ signal F
++ sigorset F
++ sigpause F
++ sigpending F
++ sigprocmask F
++ sigqueue F
++ sigrelse F
++ sigreturn F
++ sigset F
++ sigsetmask F
++ sigstack F
++ sigsuspend F
++ sigtimedwait F
++ sigvec F
++ sigwait F
++ sigwaitinfo F
++ sleep F
++ snprintf F
++ sockatmark F
++ socket F
++ socketpair F
++ sprintf F
++ sprofil F
++ srand F
++ srand48 F
++ srand48_r F
++ srandom F
++ srandom_r F
++ sscanf F
++ ssignal F
++ sstk F
++ statfs F
++ statfs64 F
++ statvfs F
++ statvfs64 F
++ stderr D 0x4
++ stdin D 0x4
++ stdout D 0x4
++ step F
++ stime F
++ stpcpy F
++ stpncpy F
++ strcasecmp F
++ strcasecmp_l F
++ strcasestr F
++ strcat F
++ strchr F
++ strchrnul F
++ strcmp F
++ strcoll F
++ strcoll_l F
++ strcpy F
++ strcspn F
++ strdup F
++ strerror F
++ strerror_r F
++ strfmon F
++ strfmon_l F
++ strfry F
++ strftime F
++ strftime_l F
++ strlen F
++ strncasecmp F
++ strncasecmp_l F
++ strncat F
++ strncmp F
++ strncpy F
++ strndup F
++ strnlen F
++ strpbrk F
++ strptime F
++ strrchr F
++ strsep F
++ strsignal F
++ strspn F
++ strstr F
++ strtod F
++ strtod_l F
++ strtof F
++ strtof_l F
++ strtoimax F
++ strtok F
++ strtok_r F
++ strtol F
++ strtol_l F
++ strtold F
++ strtold_l F
++ strtoll F
++ strtoll_l F
++ strtoq F
++ strtoul F
++ strtoul_l F
++ strtoull F
++ strtoull_l F
++ strtoumax F
++ strtouq F
++ strverscmp F
++ strxfrm F
++ strxfrm_l F
++ stty F
++ svc_exit F
++ svc_fdset D 0x80
++ svc_getreq F
++ svc_getreq_common F
++ svc_getreq_poll F
++ svc_getreqset F
++ svc_max_pollfd D 0x4
++ svc_pollfd D 0x4
++ svc_register F
++ svc_run F
++ svc_sendreply F
++ svc_unregister F
++ svcauthdes_stats D 0xc
++ svcerr_auth F
++ svcerr_decode F
++ svcerr_noproc F
++ svcerr_noprog F
++ svcerr_progvers F
++ svcerr_systemerr F
++ svcerr_weakauth F
++ svcfd_create F
++ svcraw_create F
++ svctcp_create F
++ svcudp_bufcreate F
++ svcudp_create F
++ svcudp_enablecache F
++ svcunix_create F
++ svcunixfd_create F
++ swab F
++ swapcontext F
++ swapoff F
++ swapon F
++ swprintf F
++ swscanf F
++ symlink F
++ sync F
++ sys_errlist D 0x15c
++ sys_nerr D 0x4
++ sys_sigabbrev D 0x204
++ sys_siglist D 0x204
++ sysarch F
++ syscall F
++ sysconf F
++ sysctl F
++ sysctlbyname F
++ syslog F
++ system F
++ sysv_signal F
++ tcdrain F
++ tcflow F
++ tcflush F
++ tcgetattr F
++ tcgetpgrp F
++ tcgetsid F
++ tcsendbreak F
++ tcsetattr F
++ tcsetpgrp F
++ tdelete F
++ tdestroy F
++ telldir F
++ tempnam F
++ textdomain F
++ tfind F
++ time F
++ timegm F
++ timelocal F
++ times F
++ timezone D 0x4
++ tmpfile F
++ tmpfile64 F
++ tmpnam F
++ tmpnam_r F
++ toascii F
++ tolower F
++ tolower_l F
++ toupper F
++ toupper_l F
++ towctrans F
++ towctrans_l F
++ towlower F
++ towlower_l F
++ towupper F
++ towupper_l F
++ tr_break F
++ truncate F
++ truncate64 F
++ tsearch F
++ ttyname F
++ ttyname_r F
++ ttyslot F
++ twalk F
++ tzname D 0x8
++ tzset F
++ ualarm F
++ ulckpwdf F
++ ulimit F
++ umask F
++ uname F
++ undelete F
++ ungetc F
++ ungetwc F
++ unlink F
++ unlockpt F
++ unmount F
++ unsetenv F
++ updwtmp F
++ updwtmpx F
++ uselocale F
++ user2netname F
++ usleep F
++ ustat F
++ utime F
++ utimes F
++ utmpname F
++ utmpxname F
++ utrace F
++ valloc F
++ vasprintf F
++ vdprintf F
++ verr F
++ verrx F
++ versionsort F
++ versionsort64 F
++ vfork F
++ vfprintf F
++ vfscanf F
++ vfwprintf F
++ vfwscanf F
++ vhangup F
++ vlimit F
++ vprintf F
++ vscanf F
++ vsnprintf F
++ vsprintf F
++ vsscanf F
++ vswprintf F
++ vswscanf F
++ vsyslog F
++ vtimes F
++ vwarn F
++ vwarnx F
++ vwprintf F
++ vwscanf F
++ wait F
++ wait3 F
++ wait4 F
++ waitid F
++ waitpid F
++ warn F
++ warnx F
++ wcpcpy F
++ wcpncpy F
++ wcrtomb F
++ wcscasecmp F
++ wcscasecmp_l F
++ wcscat F
++ wcschr F
++ wcschrnul F
++ wcscmp F
++ wcscoll F
++ wcscoll_l F
++ wcscpy F
++ wcscspn F
++ wcsdup F
++ wcsftime F
++ wcsftime_l F
++ wcslen F
++ wcsncasecmp F
++ wcsncasecmp_l F
++ wcsncat F
++ wcsncmp F
++ wcsncpy F
++ wcsnlen F
++ wcsnrtombs F
++ wcspbrk F
++ wcsrchr F
++ wcsrtombs F
++ wcsspn F
++ wcsstr F
++ wcstod F
++ wcstod_l F
++ wcstof F
++ wcstof_l F
++ wcstoimax F
++ wcstok F
++ wcstol F
++ wcstol_l F
++ wcstold F
++ wcstold_l F
++ wcstoll F
++ wcstoll_l F
++ wcstombs F
++ wcstoq F
++ wcstoul F
++ wcstoul_l F
++ wcstoull F
++ wcstoull_l F
++ wcstoumax F
++ wcstouq F
++ wcswcs F
++ wcswidth F
++ wcsxfrm F
++ wcsxfrm_l F
++ wctob F
++ wctomb F
++ wctrans F
++ wctrans_l F
++ wctype F
++ wctype_l F
++ wcwidth F
++ wmemchr F
++ wmemcmp F
++ wmemcpy F
++ wmemmove F
++ wmempcpy F
++ wmemset F
++ wordexp F
++ wordfree F
++ wprintf F
++ write F
++ writev F
++ wscanf F
++ xdecrypt F
++ xdr_accepted_reply F
++ xdr_array F
++ xdr_authdes_cred F
++ xdr_authdes_verf F
++ xdr_authunix_parms F
++ xdr_bool F
++ xdr_bytes F
++ xdr_callhdr F
++ xdr_callmsg F
++ xdr_char F
++ xdr_cryptkeyarg F
++ xdr_cryptkeyarg2 F
++ xdr_cryptkeyres F
++ xdr_des_block F
++ xdr_double F
++ xdr_enum F
++ xdr_float F
++ xdr_free F
++ xdr_getcredres F
++ xdr_hyper F
++ xdr_int F
++ xdr_int16_t F
++ xdr_int32_t F
++ xdr_int64_t F
++ xdr_int8_t F
++ xdr_key_netstarg F
++ xdr_key_netstres F
++ xdr_keybuf F
++ xdr_keystatus F
++ xdr_long F
++ xdr_longlong_t F
++ xdr_netnamestr F
++ xdr_netobj F
++ xdr_opaque F
++ xdr_opaque_auth F
++ xdr_pmap F
++ xdr_pmaplist F
++ xdr_pointer F
++ xdr_reference F
++ xdr_rejected_reply F
++ xdr_replymsg F
++ xdr_rmtcall_args F
++ xdr_rmtcallres F
++ xdr_short F
++ xdr_sizeof F
++ xdr_string F
++ xdr_u_char F
++ xdr_u_hyper F
++ xdr_u_int F
++ xdr_u_long F
++ xdr_u_longlong_t F
++ xdr_u_short F
++ xdr_uint16_t F
++ xdr_uint32_t F
++ xdr_uint64_t F
++ xdr_uint8_t F
++ xdr_union F
++ xdr_unixcred F
++ xdr_vector F
++ xdr_void F
++ xdr_wrapstring F
++ xdrmem_create F
++ xdrrec_create F
++ xdrrec_endofrecord F
++ xdrrec_eof F
++ xdrrec_skiprecord F
++ xdrstdio_create F
++ xencrypt F
++ xprt_register F
++ xprt_unregister F
++GLIBC_2.3.2
++ GLIBC_2.3.2 A
++ __register_atfork F
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++ strptime_l F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ inet6_option_alloc F
++ inet6_option_append F
++ inet6_option_find F
++ inet6_option_init F
++ inet6_option_next F
++ inet6_option_space F
++ nftw F
++ nftw64 F
++ posix_fallocate64 F
++ remap_file_pages F
++ sched_getaffinity F
++ sched_setaffinity F
++ semtimedop F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ __chk_fail F
++ __fprintf_chk F
++ __gets_chk F
++ __libc_sa_len F
++ __memcpy_chk F
++ __memmove_chk F
++ __mempcpy_chk F
++ __memset_chk F
++ __printf_chk F
++ __snprintf_chk F
++ __sprintf_chk F
++ __stpcpy_chk F
++ __strcat_chk F
++ __strcpy_chk F
++ __strncat_chk F
++ __strncpy_chk F
++ __vfprintf_chk F
++ __vprintf_chk F
++ __vsnprintf_chk F
++ __vsprintf_chk F
++ __xpg_strerror_r F
++ _sys_errlist D 0x174
++ _sys_nerr D 0x4
++ fhstat64 F
++ fhstatfs64 F
++ getipv4sourcefilter F
++ getsourcefilter F
++ kevent F
++ kqueue F
++ regexec F
++ setipv4sourcefilter F
++ setsourcefilter F
++ sys_errlist D 0x174
++ sys_nerr D 0x4
++ xdr_quad_t F
++ xdr_u_quad_t F
++GLIBC_2.4
++ GLIBC_2.4 A
++ __confstr_chk F
++ __fgets_chk F
++ __fgets_unlocked_chk F
++ __fgetws_chk F
++ __fgetws_unlocked_chk F
++ __fwprintf_chk F
++ __fxstatat F
++ __fxstatat64 F
++ __getcwd_chk F
++ __getdomainname_chk F
++ __getgroups_chk F
++ __gethostname_chk F
++ __getlogin_r_chk F
++ __getwd_chk F
++ __mbsnrtowcs_chk F
++ __mbsrtowcs_chk F
++ __mbstowcs_chk F
++ __pread64_chk F
++ __pread_chk F
++ __ptsname_r_chk F
++ __read_chk F
++ __readlink_chk F
++ __realpath_chk F
++ __recv_chk F
++ __recvfrom_chk F
++ __stack_chk_fail F
++ __stpncpy_chk F
++ __swprintf_chk F
++ __syslog_chk F
++ __ttyname_r_chk F
++ __vfwprintf_chk F
++ __vswprintf_chk F
++ __vsyslog_chk F
++ __vwprintf_chk F
++ __wcpcpy_chk F
++ __wcpncpy_chk F
++ __wcrtomb_chk F
++ __wcscat_chk F
++ __wcscpy_chk F
++ __wcsncat_chk F
++ __wcsncpy_chk F
++ __wcsnrtombs_chk F
++ __wcsrtombs_chk F
++ __wcstombs_chk F
++ __wctomb_chk F
++ __wmemcpy_chk F
++ __wmemmove_chk F
++ __wmempcpy_chk F
++ __wmemset_chk F
++ __wprintf_chk F
++ __xmknodat F
++ eaccess F
++ faccessat F
++ fchmodat F
++ fchownat F
++ fdopendir F
++ futimesat F
++ linkat F
++ mkdirat F
++ mkfifoat F
++ open_wmemstream F
++ openat F
++ openat64 F
++ ppoll F
++ readlinkat F
++ renameat F
++ symlinkat F
++ unlinkat F
++GLIBC_2.5
++ GLIBC_2.5 A
++ __readlinkat_chk F
++ inet6_opt_append F
++ inet6_opt_find F
++ inet6_opt_finish F
++ inet6_opt_get_val F
++ inet6_opt_init F
++ inet6_opt_next F
++ inet6_opt_set_val F
++ inet6_rth_add F
++ inet6_rth_getaddr F
++ inet6_rth_init F
++ inet6_rth_reverse F
++ inet6_rth_segments F
++ inet6_rth_space F
++GLIBC_2.6
++ GLIBC_2.6 A
++ __sched_cpucount F
++ futimens F
++ strerror_l F
++ utimensat F
++GLIBC_2.7
++ GLIBC_2.7 A
++ __fread_chk F
++ __fread_unlocked_chk F
++ __isoc99_fscanf F
++ __isoc99_fwscanf F
++ __isoc99_scanf F
++ __isoc99_sscanf F
++ __isoc99_swscanf F
++ __isoc99_vfscanf F
++ __isoc99_vfwscanf F
++ __isoc99_vscanf F
++ __isoc99_vsscanf F
++ __isoc99_vswscanf F
++ __isoc99_vwscanf F
++ __isoc99_wscanf F
++ __open64_2 F
++ __open_2 F
++ __openat64_2 F
++ __openat_2 F
++ __sched_cpualloc F
++ __sched_cpufree F
++ mkostemp F
++ mkostemp64 F
++GLIBC_2.8
++ GLIBC_2.8 A
++ __asprintf_chk F
++ __dprintf_chk F
++ __obstack_printf_chk F
++ __obstack_vprintf_chk F
++ __vasprintf_chk F
++ __vdprintf_chk F
++ qsort_r F
++GLIBC_2.9
++ GLIBC_2.9 A
++ dup3 F
++ pipe2 F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libcrypt.abilist
+@@ -0,0 +1,9 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ crypt F
++ crypt_r F
++ encrypt F
++ encrypt_r F
++ fcrypt F
++ setkey F
++ setkey_r F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libdl.abilist
+@@ -0,0 +1,15 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ dladdr F
++ dlclose F
++ dlerror F
++ dlopen F
++ dlsym F
++ dlvsym F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ dladdr1 F
++ dlinfo F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ dlmopen F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libm.abilist
+@@ -0,0 +1,408 @@
++GLIBC_2.15
++ GLIBC_2.15 A
++ __acos_finite F
++ __acosf_finite F
++ __acosh_finite F
++ __acoshf_finite F
++ __acoshl_finite F
++ __acosl_finite F
++ __asin_finite F
++ __asinf_finite F
++ __asinl_finite F
++ __atan2_finite F
++ __atan2f_finite F
++ __atan2l_finite F
++ __atanh_finite F
++ __atanhf_finite F
++ __atanhl_finite F
++ __cosh_finite F
++ __coshf_finite F
++ __coshl_finite F
++ __exp10_finite F
++ __exp10f_finite F
++ __exp10l_finite F
++ __exp2_finite F
++ __exp2f_finite F
++ __exp2l_finite F
++ __exp_finite F
++ __expf_finite F
++ __expl_finite F
++ __fmod_finite F
++ __fmodf_finite F
++ __fmodl_finite F
++ __gamma_r_finite F
++ __gammaf_r_finite F
++ __gammal_r_finite F
++ __hypot_finite F
++ __hypotf_finite F
++ __hypotl_finite F
++ __j0_finite F
++ __j0f_finite F
++ __j0l_finite F
++ __j1_finite F
++ __j1f_finite F
++ __j1l_finite F
++ __jn_finite F
++ __jnf_finite F
++ __jnl_finite F
++ __lgamma_r_finite F
++ __lgammaf_r_finite F
++ __lgammal_r_finite F
++ __log10_finite F
++ __log10f_finite F
++ __log10l_finite F
++ __log2_finite F
++ __log2f_finite F
++ __log2l_finite F
++ __log_finite F
++ __logf_finite F
++ __logl_finite F
++ __pow_finite F
++ __powf_finite F
++ __powl_finite F
++ __remainder_finite F
++ __remainderf_finite F
++ __remainderl_finite F
++ __scalb_finite F
++ __scalbf_finite F
++ __scalbl_finite F
++ __sinh_finite F
++ __sinhf_finite F
++ __sinhl_finite F
++ __sqrt_finite F
++ __sqrtf_finite F
++ __sqrtl_finite F
++ __y0_finite F
++ __y0f_finite F
++ __y0l_finite F
++ __y1_finite F
++ __y1f_finite F
++ __y1l_finite F
++ __yn_finite F
++ __ynf_finite F
++ __ynl_finite F
++GLIBC_2.18
++ GLIBC_2.18 A
++ __issignaling F
++ __issignalingf F
++ __issignalingl F
++GLIBC_2.3
++ GLIBC_2.3 A
++ _LIB_VERSION D 0x4
++ __clog10 F
++ __clog10f F
++ __clog10l F
++ __expl F
++ __expm1l F
++ __finite F
++ __finitef F
++ __finitel F
++ __fpclassify F
++ __fpclassifyf F
++ __fpclassifyl F
++ __signbit F
++ __signbitf F
++ __signbitl F
++ acos F
++ acosf F
++ acosh F
++ acoshf F
++ acoshl F
++ acosl F
++ asin F
++ asinf F
++ asinh F
++ asinhf F
++ asinhl F
++ asinl F
++ atan F
++ atan2 F
++ atan2f F
++ atan2l F
++ atanf F
++ atanh F
++ atanhf F
++ atanhl F
++ atanl F
++ cabs F
++ cabsf F
++ cabsl F
++ cacos F
++ cacosf F
++ cacosh F
++ cacoshf F
++ cacoshl F
++ cacosl F
++ carg F
++ cargf F
++ cargl F
++ casin F
++ casinf F
++ casinh F
++ casinhf F
++ casinhl F
++ casinl F
++ catan F
++ catanf F
++ catanh F
++ catanhf F
++ catanhl F
++ catanl F
++ cbrt F
++ cbrtf F
++ cbrtl F
++ ccos F
++ ccosf F
++ ccosh F
++ ccoshf F
++ ccoshl F
++ ccosl F
++ ceil F
++ ceilf F
++ ceill F
++ cexp F
++ cexpf F
++ cexpl F
++ cimag F
++ cimagf F
++ cimagl F
++ clog F
++ clog10 F
++ clog10f F
++ clog10l F
++ clogf F
++ clogl F
++ conj F
++ conjf F
++ conjl F
++ copysign F
++ copysignf F
++ copysignl F
++ cos F
++ cosf F
++ cosh F
++ coshf F
++ coshl F
++ cosl F
++ cpow F
++ cpowf F
++ cpowl F
++ cproj F
++ cprojf F
++ cprojl F
++ creal F
++ crealf F
++ creall F
++ csin F
++ csinf F
++ csinh F
++ csinhf F
++ csinhl F
++ csinl F
++ csqrt F
++ csqrtf F
++ csqrtl F
++ ctan F
++ ctanf F
++ ctanh F
++ ctanhf F
++ ctanhl F
++ ctanl F
++ drem F
++ dremf F
++ dreml F
++ erf F
++ erfc F
++ erfcf F
++ erfcl F
++ erff F
++ erfl F
++ exp F
++ exp10 F
++ exp10f F
++ exp10l F
++ exp2 F
++ exp2f F
++ exp2l F
++ expf F
++ expl F
++ expm1 F
++ expm1f F
++ expm1l F
++ fabs F
++ fabsf F
++ fabsl F
++ fdim F
++ fdimf F
++ fdiml F
++ feclearexcept F
++ fedisableexcept F
++ feenableexcept F
++ fegetenv F
++ fegetexcept F
++ fegetexceptflag F
++ fegetround F
++ feholdexcept F
++ feraiseexcept F
++ fesetenv F
++ fesetexceptflag F
++ fesetround F
++ fetestexcept F
++ feupdateenv F
++ finite F
++ finitef F
++ finitel F
++ floor F
++ floorf F
++ floorl F
++ fma F
++ fmaf F
++ fmal F
++ fmax F
++ fmaxf F
++ fmaxl F
++ fmin F
++ fminf F
++ fminl F
++ fmod F
++ fmodf F
++ fmodl F
++ frexp F
++ frexpf F
++ frexpl F
++ gamma F
++ gammaf F
++ gammal F
++ hypot F
++ hypotf F
++ hypotl F
++ ilogb F
++ ilogbf F
++ ilogbl F
++ j0 F
++ j0f F
++ j0l F
++ j1 F
++ j1f F
++ j1l F
++ jn F
++ jnf F
++ jnl F
++ ldexp F
++ ldexpf F
++ ldexpl F
++ lgamma F
++ lgamma_r F
++ lgammaf F
++ lgammaf_r F
++ lgammal F
++ lgammal_r F
++ llrint F
++ llrintf F
++ llrintl F
++ llround F
++ llroundf F
++ llroundl F
++ log F
++ log10 F
++ log10f F
++ log10l F
++ log1p F
++ log1pf F
++ log1pl F
++ log2 F
++ log2f F
++ log2l F
++ logb F
++ logbf F
++ logbl F
++ logf F
++ logl F
++ lrint F
++ lrintf F
++ lrintl F
++ lround F
++ lroundf F
++ lroundl F
++ matherr F
++ modf F
++ modff F
++ modfl F
++ nan F
++ nanf F
++ nanl F
++ nearbyint F
++ nearbyintf F
++ nearbyintl F
++ nextafter F
++ nextafterf F
++ nextafterl F
++ nexttoward F
++ nexttowardf F
++ nexttowardl F
++ pow F
++ pow10 F
++ pow10f F
++ pow10l F
++ powf F
++ powl F
++ remainder F
++ remainderf F
++ remainderl F
++ remquo F
++ remquof F
++ remquol F
++ rint F
++ rintf F
++ rintl F
++ round F
++ roundf F
++ roundl F
++ scalb F
++ scalbf F
++ scalbl F
++ scalbln F
++ scalblnf F
++ scalblnl F
++ scalbn F
++ scalbnf F
++ scalbnl F
++ signgam D 0x4
++ significand F
++ significandf F
++ significandl F
++ sin F
++ sincos F
++ sincosf F
++ sincosl F
++ sinf F
++ sinh F
++ sinhf F
++ sinhl F
++ sinl F
++ sqrt F
++ sqrtf F
++ sqrtl F
++ tan F
++ tanf F
++ tanh F
++ tanhf F
++ tanhl F
++ tanl F
++ tgamma F
++ tgammaf F
++ tgammal F
++ trunc F
++ truncf F
++ truncl F
++ y0 F
++ y0f F
++ y0l F
++ y1 F
++ y1f F
++ y1l F
++ yn F
++ ynf F
++ ynl F
++GLIBC_2.4
++ GLIBC_2.4 A
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libnsl.abilist
+@@ -0,0 +1,123 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ __free_fdresult F
++ __nis_default_access F
++ __nis_default_group F
++ __nis_default_owner F
++ __nis_default_ttl F
++ __nis_finddirectory F
++ __nis_hash F
++ __nisbind_connect F
++ __nisbind_create F
++ __nisbind_destroy F
++ __nisbind_next F
++ __yp_check F
++ nis_add F
++ nis_add_entry F
++ nis_addmember F
++ nis_checkpoint F
++ nis_clone_directory F
++ nis_clone_object F
++ nis_clone_result F
++ nis_creategroup F
++ nis_destroy_object F
++ nis_destroygroup F
++ nis_dir_cmp F
++ nis_domain_of F
++ nis_domain_of_r F
++ nis_first_entry F
++ nis_free_directory F
++ nis_free_object F
++ nis_free_request F
++ nis_freenames F
++ nis_freeresult F
++ nis_freeservlist F
++ nis_freetags F
++ nis_getnames F
++ nis_getservlist F
++ nis_ismember F
++ nis_leaf_of F
++ nis_leaf_of_r F
++ nis_lerror F
++ nis_list F
++ nis_local_directory F
++ nis_local_group F
++ nis_local_host F
++ nis_local_principal F
++ nis_lookup F
++ nis_mkdir F
++ nis_modify F
++ nis_modify_entry F
++ nis_name_of F
++ nis_name_of_r F
++ nis_next_entry F
++ nis_perror F
++ nis_ping F
++ nis_print_directory F
++ nis_print_entry F
++ nis_print_group F
++ nis_print_group_entry F
++ nis_print_link F
++ nis_print_object F
++ nis_print_result F
++ nis_print_rights F
++ nis_print_table F
++ nis_read_obj F
++ nis_remove F
++ nis_remove_entry F
++ nis_removemember F
++ nis_rmdir F
++ nis_servstate F
++ nis_sperrno F
++ nis_sperror F
++ nis_sperror_r F
++ nis_stats F
++ nis_verifygroup F
++ nis_write_obj F
++ readColdStartFile F
++ writeColdStartFile F
++ xdr_cback_data F
++ xdr_domainname F
++ xdr_keydat F
++ xdr_mapname F
++ xdr_obj_p F
++ xdr_peername F
++ xdr_valdat F
++ xdr_yp_buf F
++ xdr_ypall F
++ xdr_ypbind_binding F
++ xdr_ypbind_resp F
++ xdr_ypbind_resptype F
++ xdr_ypbind_setdom F
++ xdr_ypdelete_args F
++ xdr_ypmap_parms F
++ xdr_ypmaplist F
++ xdr_yppush_status F
++ xdr_yppushresp_xfr F
++ xdr_ypreq_key F
++ xdr_ypreq_nokey F
++ xdr_ypreq_xfr F
++ xdr_ypresp_all F
++ xdr_ypresp_key_val F
++ xdr_ypresp_maplist F
++ xdr_ypresp_master F
++ xdr_ypresp_order F
++ xdr_ypresp_val F
++ xdr_ypresp_xfr F
++ xdr_ypstat F
++ xdr_ypupdate_args F
++ xdr_ypxfrstat F
++ yp_all F
++ yp_bind F
++ yp_first F
++ yp_get_default_domain F
++ yp_maplist F
++ yp_master F
++ yp_match F
++ yp_next F
++ yp_order F
++ yp_unbind F
++ yp_update F
++ ypbinderr_string F
++ yperr_string F
++ ypprot_err F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libpthread.abilist
+@@ -0,0 +1,233 @@
++GLIBC_2.12
++ GLIBC_2.12 A
++ pthread_getname_np F
++ pthread_setname_np F
++GLIBC_2.18
++ GLIBC_2.18 A
++ pthread_getattr_default_np F
++ pthread_setattr_default_np F
++GLIBC_2.3
++ GLIBC_2.3 A
++ _IO_flockfile F
++ _IO_ftrylockfile F
++ _IO_funlockfile F
++ __close F
++ __connect F
++ __errno_location F
++ __fcntl F
++ __fork F
++ __h_errno_location F
++ __libc_allocate_rtsig F
++ __libc_current_sigrtmax F
++ __libc_current_sigrtmin F
++ __lseek F
++ __nanosleep F
++ __open F
++ __open64 F
++ __pread64 F
++ __pthread_getspecific F
++ __pthread_key_create F
++ __pthread_mutex_destroy F
++ __pthread_mutex_init F
++ __pthread_mutex_lock F
++ __pthread_mutex_trylock F
++ __pthread_mutex_unlock F
++ __pthread_mutexattr_destroy F
++ __pthread_mutexattr_init F
++ __pthread_mutexattr_settype F
++ __pthread_once F
++ __pthread_rwlock_destroy F
++ __pthread_rwlock_init F
++ __pthread_rwlock_rdlock F
++ __pthread_rwlock_tryrdlock F
++ __pthread_rwlock_trywrlock F
++ __pthread_rwlock_unlock F
++ __pthread_rwlock_wrlock F
++ __pthread_setspecific F
++ __pwrite64 F
++ __read F
++ __res_state F
++ __send F
++ __sigaction F
++ __vfork F
++ __wait F
++ __write F
++ _pthread_cleanup_pop F
++ _pthread_cleanup_pop_restore F
++ _pthread_cleanup_push F
++ _pthread_cleanup_push_defer F
++ accept F
++ close F
++ connect F
++ fcntl F
++ flockfile F
++ fork F
++ fsync F
++ ftrylockfile F
++ funlockfile F
++ longjmp F
++ lseek F
++ lseek64 F
++ msync F
++ nanosleep F
++ open F
++ open64 F
++ pause F
++ pread F
++ pread64 F
++ pthread_atfork F
++ pthread_attr_destroy F
++ pthread_attr_getdetachstate F
++ pthread_attr_getguardsize F
++ pthread_attr_getinheritsched F
++ pthread_attr_getschedparam F
++ pthread_attr_getschedpolicy F
++ pthread_attr_getscope F
++ pthread_attr_getstack F
++ pthread_attr_getstackaddr F
++ pthread_attr_getstacksize F
++ pthread_attr_init F
++ pthread_attr_setdetachstate F
++ pthread_attr_setguardsize F
++ pthread_attr_setinheritsched F
++ pthread_attr_setschedparam F
++ pthread_attr_setschedpolicy F
++ pthread_attr_setscope F
++ pthread_attr_setstack F
++ pthread_attr_setstackaddr F
++ pthread_attr_setstacksize F
++ pthread_barrier_destroy F
++ pthread_barrier_init F
++ pthread_barrier_wait F
++ pthread_barrierattr_destroy F
++ pthread_barrierattr_init F
++ pthread_barrierattr_setpshared F
++ pthread_cancel F
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++ pthread_condattr_destroy F
++ pthread_condattr_getpshared F
++ pthread_condattr_init F
++ pthread_condattr_setpshared F
++ pthread_create F
++ pthread_detach F
++ pthread_equal F
++ pthread_exit F
++ pthread_getattr_np F
++ pthread_getconcurrency F
++ pthread_getcpuclockid F
++ pthread_getschedparam F
++ pthread_getspecific F
++ pthread_join F
++ pthread_key_create F
++ pthread_key_delete F
++ pthread_kill F
++ pthread_kill_other_threads_np F
++ pthread_mutex_destroy F
++ pthread_mutex_init F
++ pthread_mutex_lock F
++ pthread_mutex_timedlock F
++ pthread_mutex_trylock F
++ pthread_mutex_unlock F
++ pthread_mutexattr_destroy F
++ pthread_mutexattr_getkind_np F
++ pthread_mutexattr_getpshared F
++ pthread_mutexattr_gettype F
++ pthread_mutexattr_init F
++ pthread_mutexattr_setkind_np F
++ pthread_mutexattr_setpshared F
++ pthread_mutexattr_settype F
++ pthread_once F
++ pthread_rwlock_destroy F
++ pthread_rwlock_init F
++ pthread_rwlock_rdlock F
++ pthread_rwlock_timedrdlock F
++ pthread_rwlock_timedwrlock F
++ pthread_rwlock_tryrdlock F
++ pthread_rwlock_trywrlock F
++ pthread_rwlock_unlock F
++ pthread_rwlock_wrlock F
++ pthread_rwlockattr_destroy F
++ pthread_rwlockattr_getkind_np F
++ pthread_rwlockattr_getpshared F
++ pthread_rwlockattr_init F
++ pthread_rwlockattr_setkind_np F
++ pthread_rwlockattr_setpshared F
++ pthread_self F
++ pthread_setcancelstate F
++ pthread_setcanceltype F
++ pthread_setconcurrency F
++ pthread_setschedparam F
++ pthread_setspecific F
++ pthread_sigmask F
++ pthread_spin_destroy F
++ pthread_spin_init F
++ pthread_spin_lock F
++ pthread_spin_trylock F
++ pthread_spin_unlock F
++ pthread_testcancel F
++ pthread_yield F
++ pwrite F
++ pwrite64 F
++ raise F
++ read F
++ recv F
++ recvfrom F
++ recvmsg F
++ sem_close F
++ sem_destroy F
++ sem_getvalue F
++ sem_init F
++ sem_open F
++ sem_post F
++ sem_timedwait F
++ sem_trywait F
++ sem_unlink F
++ sem_wait F
++ send F
++ sendmsg F
++ sendto F
++ sigaction F
++ siglongjmp F
++ sigwait F
++ system F
++ tcdrain F
++ vfork F
++ wait F
++ waitpid F
++ write F
++GLIBC_2.3.2
++ GLIBC_2.3.2 A
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ __pthread_cleanup_routine F
++ __pthread_register_cancel F
++ __pthread_register_cancel_defer F
++ __pthread_unregister_cancel F
++ __pthread_unregister_cancel_restore F
++ __pthread_unwind_next F
++ pthread_attr_getaffinity_np F
++ pthread_attr_setaffinity_np F
++ pthread_barrierattr_getpshared F
++ pthread_condattr_getclock F
++ pthread_condattr_setclock F
++ pthread_getaffinity_np F
++ pthread_setaffinity_np F
++ pthread_timedjoin_np F
++ pthread_tryjoin_np F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ pthread_attr_getaffinity_np F
++ pthread_attr_setaffinity_np F
++ pthread_getaffinity_np F
++ pthread_setaffinity_np F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libresolv.abilist
+@@ -0,0 +1,97 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ __b64_ntop F
++ __b64_pton F
++ __dn_comp F
++ __dn_count_labels F
++ __dn_expand F
++ __dn_skipname F
++ __fp_nquery F
++ __fp_query F
++ __fp_resstat F
++ __hostalias F
++ __loc_aton F
++ __loc_ntoa F
++ __p_cdname F
++ __p_cdnname F
++ __p_class F
++ __p_class_syms D 0x54
++ __p_fqname F
++ __p_fqnname F
++ __p_option F
++ __p_query F
++ __p_secstodate F
++ __p_time F
++ __p_type F
++ __p_type_syms D 0x228
++ __putlong F
++ __putshort F
++ __res_close F
++ __res_dnok F
++ __res_hnok F
++ __res_hostalias F
++ __res_isourserver F
++ __res_mailok F
++ __res_mkquery F
++ __res_nameinquery F
++ __res_nmkquery F
++ __res_nquery F
++ __res_nquerydomain F
++ __res_nsearch F
++ __res_nsend F
++ __res_ownok F
++ __res_queriesmatch F
++ __res_query F
++ __res_querydomain F
++ __res_search F
++ __res_send F
++ __sym_ntop F
++ __sym_ntos F
++ __sym_ston F
++ _gethtbyaddr F
++ _gethtbyname F
++ _gethtbyname2 F
++ _gethtent F
++ _getlong F
++ _getshort F
++ _res_opcodes D 0x40
++ _sethtent F
++ inet_net_ntop F
++ inet_net_pton F
++ inet_neta F
++ res_gethostbyaddr F
++ res_gethostbyname F
++ res_gethostbyname2 F
++ res_send_setqhook F
++ res_send_setrhook F
++GLIBC_2.3.2
++ GLIBC_2.3.2 A
++ __p_rcode F
++GLIBC_2.9
++ GLIBC_2.9 A
++ ns_datetosecs F
++ ns_format_ttl F
++ ns_get16 F
++ ns_get32 F
++ ns_initparse F
++ ns_makecanon F
++ ns_msg_getflag F
++ ns_name_compress F
++ ns_name_ntol F
++ ns_name_ntop F
++ ns_name_pack F
++ ns_name_pton F
++ ns_name_rollback F
++ ns_name_skip F
++ ns_name_uncompress F
++ ns_name_unpack F
++ ns_parse_ttl F
++ ns_parserr F
++ ns_put16 F
++ ns_put32 F
++ ns_samedomain F
++ ns_samename F
++ ns_skiprr F
++ ns_sprintrr F
++ ns_sprintrrf F
++ ns_subdomain F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/librt.abilist
+@@ -0,0 +1,50 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ aio_cancel F
++ aio_cancel64 F
++ aio_error F
++ aio_error64 F
++ aio_fsync F
++ aio_fsync64 F
++ aio_init F
++ aio_read F
++ aio_read64 F
++ aio_return F
++ aio_return64 F
++ aio_suspend F
++ aio_suspend64 F
++ aio_write F
++ aio_write64 F
++ clock_getcpuclockid F
++ clock_getres F
++ clock_gettime F
++ clock_nanosleep F
++ clock_settime F
++ lio_listio F
++ lio_listio64 F
++ shm_open F
++ shm_unlink F
++ timer_create F
++ timer_delete F
++ timer_getoverrun F
++ timer_gettime F
++ timer_settime F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ mq_close F
++ mq_getattr F
++ mq_notify F
++ mq_open F
++ mq_receive F
++ mq_send F
++ mq_setattr F
++ mq_timedreceive F
++ mq_timedsend F
++ mq_unlink F
++GLIBC_2.4
++ GLIBC_2.4 A
++ lio_listio F
++ lio_listio64 F
++GLIBC_2.7
++ GLIBC_2.7 A
++ __mq_open_2 F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libthread_db.abilist
+@@ -0,0 +1,44 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ td_init F
++ td_log F
++ td_symbol_list F
++ td_ta_clear_event F
++ td_ta_delete F
++ td_ta_enable_stats F
++ td_ta_event_addr F
++ td_ta_event_getmsg F
++ td_ta_get_nthreads F
++ td_ta_get_ph F
++ td_ta_get_stats F
++ td_ta_map_id2thr F
++ td_ta_map_lwp2thr F
++ td_ta_new F
++ td_ta_reset_stats F
++ td_ta_set_event F
++ td_ta_setconcurrency F
++ td_ta_thr_iter F
++ td_ta_tsd_iter F
++ td_thr_clear_event F
++ td_thr_dbresume F
++ td_thr_dbsuspend F
++ td_thr_event_enable F
++ td_thr_event_getmsg F
++ td_thr_get_info F
++ td_thr_getfpregs F
++ td_thr_getgregs F
++ td_thr_getxregs F
++ td_thr_getxregsize F
++ td_thr_set_event F
++ td_thr_setfpregs F
++ td_thr_setgregs F
++ td_thr_setprio F
++ td_thr_setsigpending F
++ td_thr_setxregs F
++ td_thr_sigsetmask F
++ td_thr_tls_get_addr F
++ td_thr_tsd F
++ td_thr_validate F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ td_thr_tlsbase F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/libutil.abilist
+@@ -0,0 +1,8 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ forkpty F
++ login F
++ login_tty F
++ logout F
++ logwtmp F
++ openpty F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/localplt.data
+@@ -0,0 +1,19 @@
++# See scripts/check-localplt.awk for how this file is processed.
++# PLT use is required for the malloc family and for matherr because
++# users can define their own functions and have library internals call them.
++# Linker in binutils 2.26 and newer consolidates R_386_JUMP_SLOT
++# relocation with R_386_GLOB_DAT relocation against the same symbol.
++libc.so: calloc
++libc.so: free + REL R_386_GLOB_DAT
++libc.so: malloc + REL R_386_GLOB_DAT
++libc.so: memalign
++libc.so: realloc
++libm.so: matherr
++# The dynamic loader uses __libc_memalign internally to allocate aligned
++# TLS storage. The other malloc family of functions are expected to allow
++# user symbol interposition.
++ld.so: __libc_memalign
++ld.so: malloc
++ld.so: calloc
++ld.so: realloc
++ld.so: free + REL R_386_GLOB_DAT
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/lseek.S
 @@ -0,0 +1,53 @@
 +/* Copyright (C) 2002 Free Software Foundation, Inc.
@@ -15689,6 +19041,10 @@
 +weak_alias (__rfork, rfork)
 +
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/shlib-versions
+@@ -0,0 +1 @@
++ld=ld.so.1
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/sigcontextinfo.h
 @@ -0,0 +1,35 @@
 +/* Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
@@ -16867,7 +20223,7 @@
 +
 +# elif defined _LIBC_REENTRANT
 +
-+#  ifndef NOT_IN_libc
++#  if IS_IN (libc)
 +#   define SYSCALL_ERROR_ERRNO __libc_errno
 +#  else
 +#   define SYSCALL_ERROR_ERRNO errno
@@ -16949,7 +20305,7 @@
 +
 +
 +/* Pointer mangling support.  */
-+#if defined NOT_IN_libc && defined IS_IN_rtld
++#if IS_IN (rtld)
 +/* We cannot use the thread descriptor because in ld.so we use setjmp
 +   earlier than the descriptor is initialized.  Using a global variable
 +   is too complicated here since we have no PC-relative addressing mode.  */
@@ -17095,7 +20451,7 @@
 +weak_alias (__vfork, vfork)
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/if_index.c
-@@ -0,0 +1,311 @@
+@@ -0,0 +1,317 @@
 +/* Copyright (C) 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +   Contributed by Bruno Haible <bruno@clisp.org>, 2002.
@@ -17228,7 +20584,7 @@
 +
 +/* Return the index of an interface given by name.  */
 +unsigned int
-+if_nametoindex (const char *ifname)
++__if_nametoindex (const char *ifname)
 +{
 +  struct nametoindex_locals l;
 +
@@ -17238,7 +20594,9 @@
 +
 +  return l.index;
 +}
-+libc_hidden_def (if_nametoindex)
++libc_hidden_def (__if_nametoindex)
++weak_alias (__if_nametoindex, if_nametoindex)
++libc_hidden_weak (if_nametoindex)
 +
 +/* ------------------------------------------------------------------------- */
 +
@@ -17265,7 +20623,7 @@
 +
 +/* Return the name of an interface given by name.  */
 +char *
-+if_indextoname (unsigned int ifindex, char *ifname)
++__if_indextoname (unsigned int ifindex, char *ifname)
 +{
 +  struct indextoname_locals l;
 +
@@ -17275,7 +20633,8 @@
 +  if_iterate (indextoname_aux, &l);
 +  return l.retval;
 +}
-+libc_hidden_def (if_indextoname)
++weak_alias (__if_indextoname, if_indextoname)
++libc_hidden_weak (if_indextoname)
 +
 +/* ------------------------------------------------------------------------- */
 +
@@ -17361,7 +20720,7 @@
 +/* Return an array of 'struct if_nameindex', one for each present
 +   interface.  */
 +struct if_nameindex *
-+if_nameindex (void)
++__if_nameindex (void)
 +{
 +  struct nameindex_locals l;
 +
@@ -17390,13 +20749,14 @@
 +    }
 +  return l.s_array;
 +}
-+libc_hidden_def (if_nameindex)
++weak_alias (__if_nameindex, if_nameindex)
++libc_hidden_weak (if_nameindex)
 +
 +/* ------------------------------------------------------------------------- */
 +
 +/* Free an array returned by if_nameindex().  */
 +void
-+if_freenameindex (struct if_nameindex *ifn)
++__if_freenameindex (struct if_nameindex *ifn)
 +{
 +  if (ifn != NULL)
 +    {
@@ -17406,7 +20766,9 @@
 +      free (ifn);
 +    }
 +}
-+libc_hidden_def (if_freenameindex)
++libc_hidden_def (__if_freenameindex)
++weak_alias (__if_freenameindex, if_freenameindex)
++libc_hidden_weak (if_freenameindex)
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/ifaddrs.c
 @@ -0,0 +1,380 @@
@@ -18268,7 +21630,7 @@
 +
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/ldsodefs.h
-@@ -0,0 +1,58 @@
+@@ -0,0 +1,60 @@
 +/* Run-time dynamic linker data structures for loaded ELF shared objects.
 +   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -18309,9 +21671,11 @@
 +
 +/* Contrary to most kernels which use ELFOSABI_SYSV aka ELFOSABI_NONE,
 +   FreeBSD uses ELFOSABI_FREEBSD for the OSABI field. */
++#undef VALID_ELF_HEADER
 +#define VALID_ELF_HEADER(hdr,exp,size)	(memcmp (hdr, expected2, size) == 0)
++#undef VALID_ELF_OSABI
 +#define VALID_ELF_OSABI(osabi)		(osabi == ELFOSABI_FREEBSD)
-+#define VALID_ELF_ABIVERSION(osabi,ver) (ver == 0)
++#undef MORE_ELF_HEADER_DATA
 +#define MORE_ELF_HEADER_DATA \
 +  static const unsigned char expected2[EI_PAD] =	\
 +  {							\
@@ -18663,13 +22027,13 @@
 +	sll $7, $5, " STRINGXP (PTRLOG) "\n\
 +	" STRINGXP(PTR_ADDU) " $7, $7, $6\n\
 +	" STRINGXP(PTR_ADDU) " $7, $7, " STRINGXP (PTRSIZE) " \n\
-+	# Make sure the stack pointer is aligned for _dl_init_internal.\n\
++	# Make sure the stack pointer is aligned for _dl_init.\n\
 +	and $2, $29, -2 * " STRINGXP(SZREG) "\n\
 +	" STRINGXP(PTR_S) " $29, -" STRINGXP(SZREG) "($2)\n\
 +	" STRINGXP(PTR_SUBIU) " $29, $2, 32\n\
 +	" STRINGXP(SAVE_GP(16)) "\n\
 +	# Call the function to run the initializers.\n\
-+	jal _dl_init_internal\n\
++	jal _dl_init\n\
 +	# Restore the stack pointer for _start.\n\
 +	" STRINGXP(PTR_L)  " $29, 32-" STRINGXP(SZREG) "($29)\n\
 +	# Pass our finalizer function to the user in $2 as per ELF ABI.\n\
@@ -20800,7 +24164,7 @@
 +#include <sys/kglue/sys/types.h>
 +#include <net/if_ether.h>
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +/*
 + * Copyright (c) 1982, 1986, 1993
 + *	The Regents of the University of California.  All rights reserved.
@@ -20909,7 +24273,7 @@
 +}
 +
 +__END_DECLS
-+#endif /* __USE_BSD */
++#endif /* __USE_MISC */
 +
 +#endif /* netinet/if_ether.h */
 --- /dev/null
@@ -21008,7 +24372,7 @@
 +#define ICMP_EXC_FRAGTIME	1	/* Fragment Reass time exceeded	*/
 +
 +
-+#ifdef __USE_BSD
++#ifdef __USE_MISC
 +/*
 + * Copyright (c) 1982, 1986, 1993
 + *	The Regents of the University of California.  All rights reserved.
@@ -21206,7 +24570,7 @@
 +	(type) == ICMP_IREQ || (type) == ICMP_IREQREPLY || \
 +	(type) == ICMP_MASKREQ || (type) == ICMP_MASKREPLY)
 +
-+#endif /* __USE_BSD */
++#endif /* __USE_MISC */
 +
 +__END_DECLS
 +
@@ -21522,7 +24886,7 @@
 +   INLINE_SYSCALL (open, 2, (const char *) (name), (flags))
 +
 +/* Uncancelable openat.  */
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
++#if IS_IN (libc) || IS_IN (libpthread) || IS_IN (librt)
 +extern int __openat_nocancel (int fd, const char *fname, int oflag,
 +			      mode_t mode) attribute_hidden;
 +extern int __openat64_nocancel (int fd, const char *fname, int oflag,
@@ -21865,7 +25229,7 @@
 +    return rv;
 +}
 +
-+strong_alias (posix_fadvise, posix_fadvise64)
++weak_alias (posix_fadvise, posix_fadvise64)
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/posix_fadvise64.c
 @@ -0,0 +1 @@
@@ -21952,7 +25316,7 @@
 +versioned_symbol (libc, __posix_fallocate, posix_fallocate64, GLIBC_2_3_3);
 +compat_symbol (libc, __posix_fallocate64_l32, posix_fallocate64, GLIBC_2_2);
 +#else
-+strong_alias (__posix_fallocate, posix_fallocate64)
++weak_alias (__posix_fallocate, posix_fallocate64)
 +#endif
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/posix_fallocate64.c
@@ -22060,7 +25424,7 @@
 +libc_hidden_def (__profile_frequency)
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/ptsname.c
-@@ -0,0 +1,109 @@
+@@ -0,0 +1,110 @@
 +/* Copyright (C) 1998-2013 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
@@ -22133,7 +25497,8 @@
 +  /* Check if FD really is a master pseudo terminal.  */
 +  if (0 != __isptymaster(fd))
 +  {
-+      return errno;
++      __set_errno (ENOTTY);
++      return ENOTTY;
 +  }
 +
 +  if (buflen < sizeof (_PATH_DEV) + 5) /* "/dev/" + "pts/"   */
@@ -22317,7 +25682,7 @@
 +}
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/readv.c
-@@ -0,0 +1,56 @@
+@@ -0,0 +1,57 @@
 +/* readv for FreeBSD.
 +   Copyright (C) 1997-1998, 2000, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -22353,7 +25718,7 @@
 +					   int) internal_function;
 +
 +ssize_t
-+__libc_readv (int fd, const struct iovec *vector, int count)
++__readv (int fd, const struct iovec *vector, int count)
 +{
 +  if (count <= UIO_MAXIOV)
 +  {
@@ -22369,10 +25734,11 @@
 +  else
 +    return __atomic_readv_replacement (fd, vector, count);
 +}
-+strong_alias (__libc_readv, __readv)
-+weak_alias (__libc_readv, readv)
++weak_alias (__readv, readv)
 +
-+#define __libc_readv static internal_function __atomic_readv_replacement
++#undef weak_alias
++#define weak_alias(a,b)
++#define __readv static internal_function __atomic_readv_replacement
 +#include <sysdeps/posix/readv.c>
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/recv.c
@@ -23292,6 +26658,119 @@
 @@ -0,0 +1 @@
 +/* 'setrlimit64' is the same as 'setrlimit', because __rlim64_t == __rlim_t.  */
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/shlib-versions
+@@ -0,0 +1,5 @@
++# DEFAULT			Earliest symbol set
++# ---------------		------------------------------
++DEFAULT				GLIBC_2.3
++libc=0.1       
++libm=1
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/shm-directory.c
+@@ -0,0 +1,102 @@
++/* Determine directory for shm/sem files.  GNU/kFreeBSD version.
++   Copyright (C) 2000-2015 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   <http://www.gnu.org/licenses/>.  */
++
++#include "shm-directory.h"
++
++#include <errno.h>
++#include <mntent.h>
++#include <paths.h>
++#include <stdio.h>
++#include <string.h>
++#include <sys/statfs.h>
++#include <bits/libc-lock.h>
++
++/* Mount point of the shared memory filesystem.  */
++static struct
++{
++  char *dir;
++  size_t dirlen;
++} mountpoint;
++
++/* This is the default directory.  */
++static const char defaultdir[] = "/dev/shm/";
++
++/* This is the alternate debian directory.  */
++static const char alternatedir[] = "/run/shm";
++
++/* Protect the `mountpoint' variable above.  */
++__libc_once_define (static, once);
++
++
++/* Determine where the shmfs is mounted (if at all).  */
++static void
++where_is_shmfs (void)
++{
++  struct statfs f;
++
++  /* The canonical place is /dev/shm.  This is at least what the
++     documentation tells everybody to do.  */
++  if (__statfs (defaultdir, &f) == 0)
++    {
++      /* It is in the normal place.  */
++      mountpoint.dir = (char *) defaultdir;
++      mountpoint.dirlen = sizeof (defaultdir) - 1;
++
++      return;
++    }
++
++  /* The alternate place is /run/shm.  */
++  if (__statfs (alternatedir, &f) == 0)
++    {
++      /* It is in the normal place.  */
++      mountpoint.dir = (char *) alternatedir;
++      mountpoint.dirlen = sizeof (alternatedir) - 1;
++
++      return;
++    }
++}
++
++
++const char *
++__shm_directory (size_t *len)
++{
++  /* Determine where the shmfs is mounted.  */
++  __libc_once (once, where_is_shmfs);
++
++  /* If we don't know the mount points there is nothing we can do.  Ever.  */
++  if (__glibc_unlikely (mountpoint.dir == NULL))
++    {
++      __set_errno (ENOSYS);
++      return NULL;
++    }
++
++  *len = mountpoint.dirlen;
++  return mountpoint.dir;
++}
++#if IS_IN (libpthread)
++hidden_def (__shm_directory)
++#endif
++
++
++/* Make sure the table is freed if we want to free everything before
++   exiting.  */
++libc_freeres_fn (freeit)
++{
++  if (mountpoint.dir != defaultdir)
++    free (mountpoint.dir);
++}
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/shm_open.c
 @@ -0,0 +1,40 @@
 +/* Copyright (C) 2014 Free Software Foundation, Inc.
@@ -25975,7 +29454,7 @@
 +int __syscall_thr_kill2(int pid, long id, int sig);
 +int __syscall_thr_new(void *arg, int size);
 +int __syscall_thr_self(long *id);
-+int __syscall_thr_set_name(long id, char*name);
++int __syscall_thr_set_name(long id, const char *name);
 +libc_hidden_proto (__syscall_thr_exit)
 +libc_hidden_proto (__syscall_thr_kill)
 +libc_hidden_proto (__syscall_thr_kill2)
@@ -25986,8 +29465,9 @@
 +#endif
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/syscalls.list
-@@ -0,0 +1,213 @@
+@@ -0,0 +1,214 @@
 +# File name		Caller	Syscall name		# args		Strong name	Weak names
++accept4			-	accept4			Ci:iBNi		accept4
 +sys_access		-	access			i:si		__syscall_access
 +acl_aclcheck_fd		-	acl_aclcheck_fd		i:iip		__acl_aclcheck_fd
 +acl_aclcheck_file	-	acl_aclcheck_file	i:sip		__acl_aclcheck_file
@@ -26014,7 +29494,7 @@
 +sys_connect		-	connect			i:ipi		__syscall_connect
 +sys_cpuset_getaffinity	-	cpuset_getaffinity	i:iiiip		__syscall_cpuset_getaffinity
 +sys_cpuset_setaffinity	-	cpuset_setaffinity	i:iiiip		__syscall_cpuset_setaffinity
-+sys_execve		-	execve			i:ppp		__syscall_execve
++execve			-	execve			i:spp		__execve execve
 +extattr_delete_file	-	extattr_delete_file	i:ss		extattr_delete_file
 +extattr_get_file	-	extattr_get_file	i:ssbn		extattr_get_file
 +extattr_set_file	-	extattr_set_file	i:ssbn		extattr_set_file
@@ -26036,7 +29516,7 @@
 +sys_futimesat		-	futimesat		i:isp		__syscall_futimesat
 +getcontext		-	getcontext		i:p		__getcontext getcontext
 +sys_getcwd		-	getcwd			i:bn		__syscall_getcwd
-+sys_getdents		-	getdents		i:ibn		__syscall_getdents
++sys_getdents		-	getdents		i:ibn		__syscall_getdents getdents
 +sys_getdirentries	-	getdirentries		i:ibnP		__syscall_getdirentries
 +getegid			-	getegid			i:		__getegid getegid
 +geteuid			-	geteuid			i:		__geteuid geteuid
@@ -27680,7 +31160,7 @@
 +#include <sysdeps/unix/sysv/linux/wait3.c>
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/waitid.c
-@@ -0,0 +1,107 @@
+@@ -0,0 +1,108 @@
 +/* 
 +   Copyright (C) 2004-2012 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -27701,6 +31181,7 @@
 +
 +#include <shlib-compat.h>
 +#include <stddef.h>
++#include <string.h>
 +#include <errno.h>
 +#include <sys/wait.h>
 +#include <sysdep.h>
@@ -27849,7 +31330,7 @@
 +weak_alias (__libc_waitpid, waitpid)
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/writev.c
-@@ -0,0 +1,56 @@
+@@ -0,0 +1,57 @@
 +/* writev for FreeBSD.
 +   Copyright (C) 1997-1998, 2000, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
@@ -27884,7 +31365,7 @@
 +					    int) internal_function;
 +
 +ssize_t
-+__libc_writev (int fd, const struct iovec *vector, int count)
++__writev (int fd, const struct iovec *vector, int count)
 +{
 +  if (count <= UIO_MAXIOV)
 +  {
@@ -27900,15 +31381,16 @@
 +  else
 +    return __atomic_writev_replacement (fd, vector, count);
 +}
-+strong_alias (__libc_writev, __writev)
-+weak_alias (__libc_writev, writev)
++weak_alias (__writev, writev)
 +
-+#define __libc_writev static internal_function __atomic_writev_replacement
++#undef weak_alias
++#define weak_alias(a,b)
++#define __writev static internal_function __atomic_writev_replacement
 +#include <sysdeps/posix/writev.c>
 +
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86/Makefile
-@@ -0,0 +1,11 @@
+@@ -0,0 +1,9 @@
 +# We don't need any header files.
 +abi-includes :=
 +
@@ -27916,10 +31398,8 @@
 +
 +abi-32-options := -D__i386__ -U__x86_64__
 +abi-32-condition := !defined __x86_64__
-+abi-32-ld-soname := ld.so.1
 +abi-64-options := -U__i386__ -D__x86_64__ -U__ILP32__ -D__LP64__
 +abi-64-condition := defined __x86_64__ && defined __LP64__
-+abi-64-ld-soname := ld-kfreebsd-x86-64.so.1
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86/fbtl/bits/pthreadtypes.h
 @@ -0,0 +1,240 @@
@@ -28616,6 +32096,76 @@
 +
 +#endif /* _BITS_SIGCONTEXT_H */
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/c++-types.data
+@@ -0,0 +1,67 @@
++blkcnt64_t:l
++blkcnt_t:l
++blksize_t:j
++caddr_t:Pc
++clockid_t:i
++clock_t:i
++daddr_t:l
++dev_t:j
++fd_mask:l
++fsblkcnt64_t:m
++fsblkcnt_t:m
++fsfilcnt64_t:m
++fsfilcnt_t:m
++fsid_t:8__fsid_t
++gid_t:j
++id_t:j
++ino64_t:m
++ino_t:j
++int16_t:s
++int32_t:i
++int64_t:l
++int8_t:a
++intptr_t:l
++key_t:l
++loff_t:l
++mode_t:t
++nlink_t:t
++off64_t:l
++off_t:l
++pid_t:i
++pthread_attr_t:14pthread_attr_t
++pthread_barrier_t:17pthread_barrier_t
++pthread_barrierattr_t:21pthread_barrierattr_t
++pthread_cond_t:14pthread_cond_t
++pthread_condattr_t:18pthread_condattr_t
++pthread_key_t:j
++pthread_mutex_t:15pthread_mutex_t
++pthread_mutexattr_t:19pthread_mutexattr_t
++pthread_once_t:i
++pthread_rwlock_t:16pthread_rwlock_t
++pthread_rwlockattr_t:20pthread_rwlockattr_t
++pthread_spinlock_t:i
++pthread_t:m
++quad_t:l
++register_t:l
++rlim64_t:l
++rlim_t:l
++sigset_t:10__sigset_t
++size_t:m
++socklen_t:j
++ssize_t:l
++suseconds_t:l
++time_t:l
++u_char:h
++uid_t:j
++uint:j
++u_int:j
++u_int16_t:t
++u_int32_t:j
++u_int64_t:m
++u_int8_t:h
++ulong:m
++u_long:m
++u_quad_t:m
++useconds_t:j
++ushort:t
++u_short:t
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/dl-cache.h
 @@ -0,0 +1 @@
 +#include <sysdeps/unix/sysv/linux/x86_64/dl-cache.h>
@@ -28686,7 +32236,7 @@
 +	# Clear %rbp to mark outermost frame obviously even for constructors.\n\
 +	xorl %ebp, %ebp\n\
 +	# Call the function to run the initializers.\n\
-+	call _dl_init_internal@PLT\n\
++	call _dl_init@PLT\n\
 +	# Pass our finalizer function to the user in %rdx, as per ELF ABI draft.\n\
 +	leaq _dl_fini(%rip), %rdx\n\
 +	# And make sure %rdi points to argc stored on the stack.\n\
@@ -28762,12 +32312,64 @@
 --- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/dl-procinfo.h
 @@ -0,0 +1,5 @@
-+#ifdef IS_IN_ldconfig
++#if IS_IN (ldconfig)
 +# include <sysdeps/unix/bsd/bsd4.4/kfreebsd/i386/dl-procinfo.h>
 +#else
 +# include <sysdeps/generic/dl-procinfo.h>
 +#endif
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/exit-thread.h
+@@ -0,0 +1,49 @@
++/* Call to terminate the current thread.  GNU/kFreeBSD x86-64 version
++   Copyright (C) 2015 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, see
++   <http://www.gnu.org/licenses/>.  */
++
++#include <sysdep.h>
++
++/* This causes the current thread to exit, without affecting other
++   threads in the process if there are any.  If there are no other
++   threads left, then this has the effect of _exit (0).  */
++
++static inline void __attribute__ ((noreturn, always_inline, unused))
++__exit_thread (void)
++{
++  /* Doing this in a loop is mostly just to satisfy the compiler that the
++     function really qualifies as noreturn.  It also means that in some
++     pathological situation where the system call does not get made or does
++     not work, the thread will simply spin rather than running off the end
++     of the caller and doing unexpectedly strange things.  */
++  while (1)
++    {
++      asm volatile (
++	  "movq %%fs:0, %%rdi\n\t"
++	  "addq %0, %%rdi\n\t"    /* should be KTID, but they are at the same place anyway */
++	  "movl %1, %%eax\n\t"
++	  "syscall\n\t"
++	  /* It does return only for last thread of process */
++	  "movl %2, %%eax\n\t"
++	  "xorl %%edi, %%edi\n\t"
++	  "syscall\n\t"
++	  :
++	  : "i" (TID), "i" (SYS_ify(thr_exit)), "i" (SYS_ify(exit))
++	  : "memory", "cc", "cx", "dx", "r8", "r9", "r10", "r11");
++    }
++}
++
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/fbtl/Implies
 @@ -0,0 +1 @@
 +unix/bsd/bsd4.4/kfreebsd/x86/fbtl
@@ -28801,7 +32403,7 @@
 +#include <kernel-features.h>
 +#include "lowlevellock.h"
 +
-+#ifdef IS_IN_libpthread
++#if IS_IN (libpthread)
 +# ifdef SHARED
 +#  define __pthread_unwind __GI___pthread_unwind
 +# endif
@@ -28898,42 +32500,6 @@
 +	jmp	3b
 +END(__pthread_disable_asynccancel)
 --- /dev/null
-+++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/fbtl/exit-thread.S
-@@ -0,0 +1,33 @@
-+/* Copyright (C) 2013 Free Software Foundation, Inc.
-+   This file is part of the GNU C Library.
-+
-+   The GNU C Library is free software; you can redistribute it and/or
-+   modify it under the terms of the GNU Lesser General Public
-+   License as published by the Free Software Foundation; either
-+   version 2.1 of the License, or (at your option) any later version.
-+
-+   The GNU C Library is distributed in the hope that it will be useful,
-+   but WITHOUT ANY WARRANTY; without even the implied warranty of
-+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-+   Lesser General Public License for more details.
-+
-+   You should have received a copy of the GNU Lesser General Public
-+   License along with the GNU C Library; if not, see
-+   <http://www.gnu.org/licenses/>.  */
-+
-+#include <sysdep.h>
-+
-+	.text
-+ENTRY (__exit_thread)
-+        movq %rdi, %rsi		/* we will need it later, 
-+				%rsi is saved by kernel */
-+	mov %fs:0, %rdi
-+        addq $TID, %rdi		/* should be KTID, but
-+				they are at the same place anyway */
-+        DO_CALL (thr_exit, 1)
-+	/* It does return only for last thread of process */
-+	movq %rsi, %rdi /* use saved value */
-+	DO_CALL (exit, 1)
-+	/* Shouldn't get here.  */
-+	hlt
-+END   (__exit_thread)
---- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/fbtl/libc-cancellation.S
 @@ -0,0 +1,21 @@
 +/* Copyright (C) 2009 Free Software Foundation, Inc.
@@ -29042,7 +32608,7 @@
 +
 +/* Syscalls with more than 6 arguments are not supported here.  */
 +
-+#if !defined NOT_IN_libc || defined IS_IN_libpthread || defined IS_IN_librt
++#if IS_IN (libc) || IS_IN (libpthread) || IS_IN (librt)
 +
 +/* The code to disable cancellation depends on the fact that the called
 +   functions are special.  They don't modify registers other than %rax
@@ -29079,22 +32645,22 @@
 +    jb SYSCALL_ERROR_LABEL;						      \
 +  L(pseudo_end):							      \
 +
-+# ifdef IS_IN_libpthread
++# if IS_IN (libpthread)
 +#  define CENABLE	call __pthread_enable_asynccancel;
 +#  define CDISABLE	call __pthread_disable_asynccancel;
 +#  define __local_multiple_threads __pthread_multiple_threads
-+# elif !defined NOT_IN_libc
++# elif IS_IN (libc)
 +#  define CENABLE	call __libc_enable_asynccancel;
 +#  define CDISABLE	call __libc_disable_asynccancel;
 +#  define __local_multiple_threads __libc_multiple_threads
-+# elif defined IS_IN_librt
++# elif IS_IN (librt)
 +#  define CENABLE	call __librt_enable_asynccancel;
 +#  define CDISABLE	call __librt_disable_asynccancel;
 +# else
 +#  error Unsupported library
 +# endif
 +
-+# if defined IS_IN_libpthread || !defined NOT_IN_libc
++# if IS_IN (libpthread) || IS_IN (libc)
 +#  ifndef __ASSEMBLER__
 +extern int __local_multiple_threads attribute_hidden;
 +#   define SINGLE_THREAD_P \
@@ -29177,7 +32743,7 @@
 +   operation can cause a failure 'errno' must not be touched.  */
 +
 +# undef TLS_INIT_TP
-+# define TLS_INIT_TP(descr, secondcall)					      \
++# define TLS_INIT_TP(descr)						      \
 +  ({									      \
 +    void *_descr = (descr);						      \
 +    tcbhead_t *head = _descr;						      \
@@ -29322,6 +32888,22 @@
 @@ -0,0 +1 @@
 +#include "../i386/iopl.c"
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/ld.abilist
+@@ -0,0 +1,13 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ __libc_memalign F
++ __libc_stack_end D 0x8
++ __tls_get_addr F
++ _dl_mcount F
++ _r_debug D 0x28
++ calloc F
++ free F
++ malloc F
++ realloc F
++GLIBC_2.4
++ GLIBC_2.4 A
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/ldconfig.h
 @@ -0,0 +1,39 @@
 +/* Copyright (C) 2002 Free Software Foundation, Inc.
@@ -29370,6 +32952,3189 @@
 +add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
 +s_^\(RTLDLIST=\)\(.*lib\)\(\|64\)\(/[^/]*\)\(-kfreebsd-x86-64\)\(\.so\.[0-9.]*\)[ 	]*$_\1"\2\4\6 \2\4\5\6"_
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libBrokenLocale.abilist
+@@ -0,0 +1,3 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ __ctype_get_mb_cur_max F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libanl.abilist
+@@ -0,0 +1,6 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ gai_cancel F
++ gai_error F
++ gai_suspend F
++ getaddrinfo_a F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libc.abilist
+@@ -0,0 +1,2153 @@
++GLIBC_2.10
++ GLIBC_2.10 A
++ __cxa_at_quick_exit F
++ __posix_getopt F
++ accept4 F
++ devname F
++ devname_r F
++ endsgent F
++ fgetsgent F
++ fgetsgent_r F
++ getsgent F
++ getsgent_r F
++ getsgnam F
++ getsgnam_r F
++ ioperm F
++ kenv F
++ malloc_info F
++ preadv F
++ preadv64 F
++ psiginfo F
++ putsgent F
++ pwritev F
++ pwritev64 F
++ quick_exit F
++ register_printf_modifier F
++ register_printf_specifier F
++ register_printf_type F
++ setsgent F
++ sgetsgent F
++ sgetsgent_r F
++ sysctlnametomib F
++GLIBC_2.11
++ GLIBC_2.11 A
++ __longjmp_chk F
++ _sys_errlist D 0x2f0
++ _sys_nerr D 0x4
++ execvpe F
++ lchflags F
++ mkostemps F
++ mkostemps64 F
++ mkstemps F
++ mkstemps64 F
++ sys_errlist D 0x2f0
++ sys_nerr D 0x4
++GLIBC_2.13
++ GLIBC_2.13 A
++ __fentry__ F
++ jail_attach F
++ jail_get F
++ jail_remove F
++ jail_set F
++GLIBC_2.14
++ GLIBC_2.14 A
++ memcpy F
++ syncfs F
++GLIBC_2.15
++ GLIBC_2.15 A
++ __fdelt_chk F
++ __fdelt_warn F
++ posix_spawn F
++ posix_spawnp F
++ scandirat F
++ scandirat64 F
++GLIBC_2.16
++ GLIBC_2.16 A
++ __getauxval F
++ __poll_chk F
++ __ppoll_chk F
++ aligned_alloc F
++ c16rtomb F
++ c32rtomb F
++ getauxval F
++ mbrtoc16 F
++ mbrtoc32 F
++ timespec_get F
++GLIBC_2.17
++ GLIBC_2.17 A
++ clock_getcpuclockid F
++ clock_getres F
++ clock_gettime F
++ clock_nanosleep F
++ clock_settime F
++ recvmmsg F
++ secure_getenv F
++ sendmmsg F
++GLIBC_2.18
++ GLIBC_2.18 A
++ __cxa_thread_atexit_impl F
++ _sys_errlist D 0x308
++ _sys_nerr D 0x4
++ msgctl F
++ semctl F
++ shmctl F
++ sys_errlist D 0x308
++ sys_nerr D 0x4
++ waitid F
++GLIBC_2.21
++ GLIBC_2.21 A
++ __statfs F
++GLIBC_2.3
++ GLIBC_2.3 A
++ _Exit F
++ _IO_2_1_stderr_ D 0xe0
++ _IO_2_1_stdin_ D 0xe0
++ _IO_2_1_stdout_ D 0xe0
++ _IO_adjust_column F
++ _IO_adjust_wcolumn F
++ _IO_default_doallocate F
++ _IO_default_finish F
++ _IO_default_pbackfail F
++ _IO_default_uflow F
++ _IO_default_xsgetn F
++ _IO_default_xsputn F
++ _IO_do_write F
++ _IO_doallocbuf F
++ _IO_fclose F
++ _IO_fdopen F
++ _IO_feof F
++ _IO_ferror F
++ _IO_fflush F
++ _IO_fgetpos F
++ _IO_fgetpos64 F
++ _IO_fgets F
++ _IO_file_attach F
++ _IO_file_close F
++ _IO_file_close_it F
++ _IO_file_doallocate F
++ _IO_file_finish F
++ _IO_file_fopen F
++ _IO_file_init F
++ _IO_file_jumps D 0xa8
++ _IO_file_open F
++ _IO_file_overflow F
++ _IO_file_read F
++ _IO_file_seek F
++ _IO_file_seekoff F
++ _IO_file_setbuf F
++ _IO_file_stat F
++ _IO_file_sync F
++ _IO_file_underflow F
++ _IO_file_write F
++ _IO_file_xsputn F
++ _IO_flockfile F
++ _IO_flush_all F
++ _IO_flush_all_linebuffered F
++ _IO_fopen F
++ _IO_fprintf F
++ _IO_fputs F
++ _IO_fread F
++ _IO_free_backup_area F
++ _IO_free_wbackup_area F
++ _IO_fsetpos F
++ _IO_fsetpos64 F
++ _IO_ftell F
++ _IO_ftrylockfile F
++ _IO_funlockfile F
++ _IO_fwrite F
++ _IO_getc F
++ _IO_getline F
++ _IO_getline_info F
++ _IO_gets F
++ _IO_init F
++ _IO_init_marker F
++ _IO_init_wmarker F
++ _IO_iter_begin F
++ _IO_iter_end F
++ _IO_iter_file F
++ _IO_iter_next F
++ _IO_least_wmarker F
++ _IO_link_in F
++ _IO_list_all D 0x8
++ _IO_list_lock F
++ _IO_list_resetlock F
++ _IO_list_unlock F
++ _IO_marker_delta F
++ _IO_marker_difference F
++ _IO_padn F
++ _IO_peekc_locked F
++ _IO_popen F
++ _IO_printf F
++ _IO_proc_close F
++ _IO_proc_open F
++ _IO_putc F
++ _IO_puts F
++ _IO_remove_marker F
++ _IO_seekmark F
++ _IO_seekoff F
++ _IO_seekpos F
++ _IO_seekwmark F
++ _IO_setb F
++ _IO_setbuffer F
++ _IO_setvbuf F
++ _IO_sgetn F
++ _IO_sprintf F
++ _IO_sputbackc F
++ _IO_sputbackwc F
++ _IO_sscanf F
++ _IO_str_init_readonly F
++ _IO_str_init_static F
++ _IO_str_overflow F
++ _IO_str_pbackfail F
++ _IO_str_seekoff F
++ _IO_str_underflow F
++ _IO_sungetc F
++ _IO_sungetwc F
++ _IO_switch_to_get_mode F
++ _IO_switch_to_main_wget_area F
++ _IO_switch_to_wbackup_area F
++ _IO_switch_to_wget_mode F
++ _IO_un_link F
++ _IO_ungetc F
++ _IO_unsave_markers F
++ _IO_unsave_wmarkers F
++ _IO_vfprintf F
++ _IO_vfscanf F
++ _IO_vsprintf F
++ _IO_wdefault_doallocate F
++ _IO_wdefault_finish F
++ _IO_wdefault_pbackfail F
++ _IO_wdefault_uflow F
++ _IO_wdefault_xsgetn F
++ _IO_wdefault_xsputn F
++ _IO_wdo_write F
++ _IO_wdoallocbuf F
++ _IO_wfile_jumps D 0xa8
++ _IO_wfile_overflow F
++ _IO_wfile_seekoff F
++ _IO_wfile_sync F
++ _IO_wfile_underflow F
++ _IO_wfile_xsputn F
++ _IO_wmarker_delta F
++ _IO_wsetb F
++ __acl_aclcheck_fd F
++ __acl_aclcheck_file F
++ __acl_delete_fd F
++ __acl_delete_file F
++ __acl_get_fd F
++ __acl_get_file F
++ __acl_set_fd F
++ __acl_set_file F
++ __after_morecore_hook D 0x8
++ __argz_count F
++ __argz_next F
++ __argz_stringify F
++ __asprintf F
++ __assert F
++ __assert_fail F
++ __assert_perror_fail F
++ __backtrace F
++ __backtrace_symbols F
++ __backtrace_symbols_fd F
++ __bsd_getpgrp F
++ __bzero F
++ __check_rhosts_file D 0x4
++ __close F
++ __cmsg_nxthdr F
++ __connect F
++ __ctype_b_loc F
++ __ctype_get_mb_cur_max F
++ __ctype_tolower_loc F
++ __ctype_toupper_loc F
++ __curbrk D 0x8
++ __cxa_atexit F
++ __cxa_finalize F
++ __cyg_profile_func_enter F
++ __cyg_profile_func_exit F
++ __daylight D 0x4
++ __dcgettext F
++ __default_morecore F
++ __dgettext F
++ __dup2 F
++ __duplocale F
++ __environ D 0x8
++ __errno_location F
++ __fbufsize F
++ __fcntl F
++ __ffs F
++ __finite F
++ __finitef F
++ __finitel F
++ __flbf F
++ __fork F
++ __fpending F
++ __fpu_control D 0x2
++ __fpurge F
++ __freadable F
++ __freading F
++ __free_hook D 0x8
++ __freelocale F
++ __fsetlocking F
++ __fwritable F
++ __fwriting F
++ __fxstat F
++ __fxstat64 F
++ __getdelim F
++ __getpagesize F
++ __getpgid F
++ __getpid F
++ __gettimeofday F
++ __gmtime_r F
++ __h_errno_location F
++ __isalnum_l F
++ __isalpha_l F
++ __isascii_l F
++ __isblank_l F
++ __iscntrl_l F
++ __isctype F
++ __isdigit_l F
++ __isgraph_l F
++ __isinf F
++ __isinff F
++ __isinfl F
++ __islower_l F
++ __isnan F
++ __isnanf F
++ __isnanl F
++ __isprint_l F
++ __ispunct_l F
++ __isspace_l F
++ __isupper_l F
++ __iswalnum_l F
++ __iswalpha_l F
++ __iswblank_l F
++ __iswcntrl_l F
++ __iswctype F
++ __iswctype_l F
++ __iswdigit_l F
++ __iswgraph_l F
++ __iswlower_l F
++ __iswprint_l F
++ __iswpunct_l F
++ __iswspace_l F
++ __iswupper_l F
++ __iswxdigit_l F
++ __isxdigit_l F
++ __ivaliduser F
++ __key_decryptsession_pk_LOCAL D 0x8
++ __key_encryptsession_pk_LOCAL D 0x8
++ __key_gendes_LOCAL D 0x8
++ __libc_allocate_rtsig F
++ __libc_calloc F
++ __libc_current_sigrtmax F
++ __libc_current_sigrtmin F
++ __libc_free F
++ __libc_freeres F
++ __libc_init_first F
++ __libc_mallinfo F
++ __libc_malloc F
++ __libc_mallopt F
++ __libc_memalign F
++ __libc_pvalloc F
++ __libc_realloc F
++ __libc_start_main F
++ __libc_valloc F
++ __lseek F
++ __lxstat F
++ __lxstat64 F
++ __malloc_hook D 0x8
++ __malloc_initialize_hook D 0x8
++ __mbrlen F
++ __mbrtowc F
++ __memalign_hook D 0x8
++ __mempcpy F
++ __mempcpy_small F
++ __monstartup F
++ __morecore D 0x8
++ __nanosleep F
++ __newlocale F
++ __nl_langinfo_l F
++ __nss_configure_lookup F
++ __nss_database_lookup F
++ __nss_group_lookup F
++ __nss_hostname_digits_dots F
++ __nss_hosts_lookup F
++ __nss_next F
++ __nss_passwd_lookup F
++ __open F
++ __overflow F
++ __pipe F
++ __poll F
++ __pread64 F
++ __printf_fp F
++ __profile_frequency F
++ __progname D 0x8
++ __progname_full D 0x8
++ __pwrite64 F
++ __rawmemchr F
++ __rcmd_errstr D 0x8
++ __read F
++ __realloc_hook D 0x8
++ __res_init F
++ __res_nclose F
++ __res_ninit F
++ __res_randomid F
++ __res_state F
++ __rpc_thread_createerr F
++ __rpc_thread_svc_fdset F
++ __rpc_thread_svc_max_pollfd F
++ __rpc_thread_svc_pollfd F
++ __sbrk F
++ __sched_get_priority_max F
++ __sched_get_priority_min F
++ __sched_getparam F
++ __sched_getscheduler F
++ __sched_setscheduler F
++ __sched_yield F
++ __secure_getenv F
++ __select F
++ __send F
++ __setpgid F
++ __sigaction F
++ __sigaddset F
++ __sigdelset F
++ __sigismember F
++ __signbit F
++ __signbitf F
++ __signbitl F
++ __sigpause F
++ __sigsetjmp F
++ __sigsuspend F
++ __stpcpy F
++ __stpcpy_small F
++ __stpncpy F
++ __strcasecmp F
++ __strcasecmp_l F
++ __strcasestr F
++ __strcoll_l F
++ __strcpy_small F
++ __strcspn_c1 F
++ __strcspn_c2 F
++ __strcspn_c3 F
++ __strdup F
++ __strerror_r F
++ __strfmon_l F
++ __strftime_l F
++ __strncasecmp_l F
++ __strndup F
++ __strpbrk_c2 F
++ __strpbrk_c3 F
++ __strsep_1c F
++ __strsep_2c F
++ __strsep_3c F
++ __strsep_g F
++ __strspn_c1 F
++ __strspn_c2 F
++ __strspn_c3 F
++ __strtod_internal F
++ __strtod_l F
++ __strtof_internal F
++ __strtof_l F
++ __strtok_r F
++ __strtok_r_1c F
++ __strtol_internal F
++ __strtol_l F
++ __strtold_internal F
++ __strtold_l F
++ __strtoll_internal F
++ __strtoll_l F
++ __strtoul_internal F
++ __strtoul_l F
++ __strtoull_internal F
++ __strtoull_l F
++ __strverscmp F
++ __strxfrm_l F
++ __syscall_aio_cancel F
++ __syscall_aio_error F
++ __syscall_aio_read F
++ __syscall_aio_return F
++ __syscall_aio_suspend F
++ __syscall_aio_waitcomplete F
++ __syscall_aio_write F
++ __syscall_lio_listio F
++ __syscall_obreak F
++ __syscall_yield F
++ __sysconf F
++ __sysctl F
++ __sysv_signal F
++ __timezone D 0x8
++ __toascii_l F
++ __tolower_l F
++ __toupper_l F
++ __towctrans F
++ __towctrans_l F
++ __towlower_l F
++ __towupper_l F
++ __tzname D 0x10
++ __uflow F
++ __underflow F
++ __uselocale F
++ __vfork F
++ __vfscanf F
++ __vsnprintf F
++ __vsscanf F
++ __wait F
++ __waitpid F
++ __wcscasecmp_l F
++ __wcscoll_l F
++ __wcsftime_l F
++ __wcsncasecmp_l F
++ __wcstod_internal F
++ __wcstod_l F
++ __wcstof_internal F
++ __wcstof_l F
++ __wcstol_internal F
++ __wcstol_l F
++ __wcstold_internal F
++ __wcstold_l F
++ __wcstoll_internal F
++ __wcstoll_l F
++ __wcstoul_internal F
++ __wcstoul_l F
++ __wcstoull_internal F
++ __wcstoull_l F
++ __wcsxfrm_l F
++ __wctrans_l F
++ __wctype_l F
++ __woverflow F
++ __write F
++ __wuflow F
++ __wunderflow F
++ __xmknod F
++ __xpg_basename F
++ __xpg_sigpause F
++ __xstat F
++ __xstat64 F
++ _authenticate F
++ _dl_mcount_wrapper F
++ _dl_mcount_wrapper_check F
++ _environ D 0x8
++ _exit F
++ _flushlbf F
++ _libc_intl_domainname D 0x5
++ _longjmp F
++ _mcleanup F
++ _mcount F
++ _nl_default_dirname D 0x12
++ _nl_domain_bindings D 0x8
++ _nl_msg_cat_cntr D 0x4
++ _null_auth D 0x18
++ _obstack D 0x8
++ _obstack_allocated_p F
++ _obstack_begin F
++ _obstack_begin_1 F
++ _obstack_free F
++ _obstack_memory_used F
++ _obstack_newchunk F
++ _res D 0x238
++ _res_hconf D 0x48
++ _rpc_dtablesize F
++ _seterr_reply F
++ _setjmp F
++ _sys_errlist D 0x2b8
++ _sys_nerr D 0x4
++ _sys_siglist D 0x408
++ _tolower F
++ _toupper F
++ a64l F
++ abort F
++ abs F
++ accept F
++ access F
++ acct F
++ addmntent F
++ addseverity F
++ adjtime F
++ advance F
++ alarm F
++ alphasort F
++ alphasort64 F
++ argp_err_exit_status D 0x4
++ argp_error F
++ argp_failure F
++ argp_help F
++ argp_parse F
++ argp_program_bug_address D 0x8
++ argp_program_version D 0x8
++ argp_program_version_hook D 0x8
++ argp_state_help F
++ argp_usage F
++ argz_add F
++ argz_add_sep F
++ argz_append F
++ argz_count F
++ argz_create F
++ argz_create_sep F
++ argz_delete F
++ argz_extract F
++ argz_insert F
++ argz_next F
++ argz_replace F
++ argz_stringify F
++ asctime F
++ asctime_r F
++ asprintf F
++ atof F
++ atoi F
++ atol F
++ atoll F
++ authdes_create F
++ authdes_getucred F
++ authdes_pk_create F
++ authnone_create F
++ authunix_create F
++ authunix_create_default F
++ backtrace F
++ backtrace_symbols F
++ backtrace_symbols_fd F
++ basename F
++ bcmp F
++ bcopy F
++ bind F
++ bind_textdomain_codeset F
++ bindresvport F
++ bindtextdomain F
++ brk F
++ bsd_signal F
++ bsearch F
++ btowc F
++ bzero F
++ calloc F
++ callrpc F
++ canonicalize_file_name F
++ catclose F
++ catgets F
++ catopen F
++ cbc_crypt F
++ cfgetispeed F
++ cfgetospeed F
++ cfmakeraw F
++ cfree F
++ cfsetispeed F
++ cfsetospeed F
++ cfsetspeed F
++ chdir F
++ chflags F
++ chmod F
++ chown F
++ chroot F
++ clearenv F
++ clearerr F
++ clearerr_unlocked F
++ clnt_broadcast F
++ clnt_create F
++ clnt_pcreateerror F
++ clnt_perrno F
++ clnt_perror F
++ clnt_spcreateerror F
++ clnt_sperrno F
++ clnt_sperror F
++ clntraw_create F
++ clnttcp_create F
++ clntudp_bufcreate F
++ clntudp_create F
++ clntunix_create F
++ clock F
++ clone F
++ close F
++ closedir F
++ closelog F
++ confstr F
++ connect F
++ copysign F
++ copysignf F
++ copysignl F
++ creat F
++ creat64 F
++ ctermid F
++ ctime F
++ ctime_r F
++ cuserid F
++ daemon F
++ daylight D 0x4
++ dcgettext F
++ dcngettext F
++ des_setparity F
++ dgettext F
++ difftime F
++ dirfd F
++ dirname F
++ div F
++ dl_iterate_phdr F
++ dngettext F
++ dprintf F
++ drand48 F
++ drand48_r F
++ dup F
++ dup2 F
++ duplocale F
++ dysize F
++ ecb_crypt F
++ ecvt F
++ ecvt_r F
++ endaliasent F
++ endfsent F
++ endgrent F
++ endhostent F
++ endmntent F
++ endnetent F
++ endnetgrent F
++ endprotoent F
++ endpwent F
++ endrpcent F
++ endservent F
++ endspent F
++ endttyent F
++ endusershell F
++ endutent F
++ endutxent F
++ environ D 0x8
++ envz_add F
++ envz_entry F
++ envz_get F
++ envz_merge F
++ envz_remove F
++ envz_strip F
++ erand48 F
++ erand48_r F
++ err F
++ error F
++ error_at_line F
++ error_message_count D 0x4
++ error_one_per_line D 0x4
++ error_print_progname D 0x8
++ errx F
++ ether_aton F
++ ether_aton_r F
++ ether_hostton F
++ ether_line F
++ ether_ntoa F
++ ether_ntoa_r F
++ ether_ntohost F
++ euidaccess F
++ execl F
++ execle F
++ execlp F
++ execv F
++ execve F
++ execvp F
++ exit F
++ extattr_delete_file F
++ extattr_get_file F
++ extattr_set_file F
++ extattrctl F
++ fattach F
++ fchdir F
++ fchflags F
++ fchmod F
++ fchown F
++ fclose F
++ fcloseall F
++ fcntl F
++ fcvt F
++ fcvt_r F
++ fdatasync F
++ fdetach F
++ fdopen F
++ feof F
++ feof_unlocked F
++ ferror F
++ ferror_unlocked F
++ fexecve F
++ fflush F
++ fflush_unlocked F
++ ffs F
++ ffsl F
++ ffsll F
++ fgetc F
++ fgetc_unlocked F
++ fgetgrent F
++ fgetgrent_r F
++ fgetpos F
++ fgetpos64 F
++ fgetpwent F
++ fgetpwent_r F
++ fgets F
++ fgets_unlocked F
++ fgetspent F
++ fgetspent_r F
++ fgetwc F
++ fgetwc_unlocked F
++ fgetws F
++ fgetws_unlocked F
++ fgetxattr F
++ fhopen F
++ fhstat F
++ fhstatfs F
++ fileno F
++ fileno_unlocked F
++ finite F
++ finitef F
++ finitel F
++ flistxattr F
++ flock F
++ flockfile F
++ fmemopen F
++ fmtmsg F
++ fnmatch F
++ fopen F
++ fopen64 F
++ fopencookie F
++ fork F
++ fpathconf F
++ fprintf F
++ fputc F
++ fputc_unlocked F
++ fputs F
++ fputs_unlocked F
++ fputwc F
++ fputwc_unlocked F
++ fputws F
++ fputws_unlocked F
++ fread F
++ fread_unlocked F
++ free F
++ freeaddrinfo F
++ freeifaddrs F
++ freelocale F
++ fremovexattr F
++ freopen F
++ freopen64 F
++ frexp F
++ frexpf F
++ frexpl F
++ fscanf F
++ fseek F
++ fseeko F
++ fseeko64 F
++ fsetpos F
++ fsetpos64 F
++ fsetxattr F
++ fstatfs F
++ fstatfs64 F
++ fstatvfs F
++ fstatvfs64 F
++ fsync F
++ ftell F
++ ftello F
++ ftello64 F
++ ftime F
++ ftok F
++ ftruncate F
++ ftruncate64 F
++ ftrylockfile F
++ fts_children F
++ fts_close F
++ fts_open F
++ fts_read F
++ fts_set F
++ ftw F
++ ftw64 F
++ funlockfile F
++ futimes F
++ fwide F
++ fwprintf F
++ fwrite F
++ fwrite_unlocked F
++ fwscanf F
++ gai_strerror F
++ gcvt F
++ get_avphys_pages F
++ get_current_dir_name F
++ get_myaddress F
++ get_nprocs F
++ get_nprocs_conf F
++ get_phys_pages F
++ getaddrinfo F
++ getaliasbyname F
++ getaliasbyname_r F
++ getaliasent F
++ getaliasent_r F
++ getc F
++ getc_unlocked F
++ getchar F
++ getchar_unlocked F
++ getcontext F
++ getcwd F
++ getdate F
++ getdate_err D 0x4
++ getdate_r F
++ getdelim F
++ getdents F
++ getdirentries F
++ getdirentries64 F
++ getdomainname F
++ getdtablesize F
++ getegid F
++ getenv F
++ geteuid F
++ getfh F
++ getfsent F
++ getfsfile F
++ getfsspec F
++ getfsstat F
++ getfsstat64 F
++ getgid F
++ getgrent F
++ getgrent_r F
++ getgrgid F
++ getgrgid_r F
++ getgrnam F
++ getgrnam_r F
++ getgrouplist F
++ getgroups F
++ gethostbyaddr F
++ gethostbyaddr_r F
++ gethostbyname F
++ gethostbyname2 F
++ gethostbyname2_r F
++ gethostbyname_r F
++ gethostent F
++ gethostent_r F
++ gethostid F
++ gethostname F
++ getifaddrs F
++ getitimer F
++ getline F
++ getloadavg F
++ getlogin F
++ getlogin_r F
++ getmntent F
++ getmntent_r F
++ getmntinfo F
++ getmntinfo64 F
++ getmsg F
++ getnameinfo F
++ getnetbyaddr F
++ getnetbyaddr_r F
++ getnetbyname F
++ getnetbyname_r F
++ getnetent F
++ getnetent_r F
++ getnetgrent F
++ getnetgrent_r F
++ getnetname F
++ getopt F
++ getopt_long F
++ getopt_long_only F
++ getpagesize F
++ getpass F
++ getpeername F
++ getpgid F
++ getpgrp F
++ getpid F
++ getpmsg F
++ getppid F
++ getpriority F
++ getprotobyname F
++ getprotobyname_r F
++ getprotobynumber F
++ getprotobynumber_r F
++ getprotoent F
++ getprotoent_r F
++ getpt F
++ getpublickey F
++ getpw F
++ getpwent F
++ getpwent_r F
++ getpwnam F
++ getpwnam_r F
++ getpwuid F
++ getpwuid_r F
++ getresgid F
++ getresuid F
++ getrlimit F
++ getrlimit64 F
++ getrpcbyname F
++ getrpcbyname_r F
++ getrpcbynumber F
++ getrpcbynumber_r F
++ getrpcent F
++ getrpcent_r F
++ getrpcport F
++ getrusage F
++ gets F
++ getsecretkey F
++ getservbyname F
++ getservbyname_r F
++ getservbyport F
++ getservbyport_r F
++ getservent F
++ getservent_r F
++ getsid F
++ getsockname F
++ getsockopt F
++ getspent F
++ getspent_r F
++ getspnam F
++ getspnam_r F
++ getsubopt F
++ gettext F
++ gettimeofday F
++ getttyent F
++ getttynam F
++ getuid F
++ getusershell F
++ getutent F
++ getutent_r F
++ getutid F
++ getutid_r F
++ getutline F
++ getutline_r F
++ getutmp F
++ getutmpx F
++ getutxent F
++ getutxid F
++ getutxline F
++ getw F
++ getwc F
++ getwc_unlocked F
++ getwchar F
++ getwchar_unlocked F
++ getwd F
++ getxattr F
++ glob F
++ glob64 F
++ glob_pattern_p F
++ globfree F
++ globfree64 F
++ gmtime F
++ gmtime_r F
++ gnu_get_libc_release F
++ gnu_get_libc_version F
++ grantpt F
++ group_member F
++ gsignal F
++ gtty F
++ h_errlist D 0x28
++ h_nerr D 0x4
++ hasmntopt F
++ hcreate F
++ hcreate_r F
++ hdestroy F
++ hdestroy_r F
++ herror F
++ host2netname F
++ hsearch F
++ hsearch_r F
++ hstrerror F
++ htonl F
++ htons F
++ iconv F
++ iconv_close F
++ iconv_open F
++ if_freenameindex F
++ if_indextoname F
++ if_nameindex F
++ if_nametoindex F
++ imaxabs F
++ imaxdiv F
++ in6addr_any D 0x10
++ in6addr_loopback D 0x10
++ index F
++ inet_addr F
++ inet_aton F
++ inet_lnaof F
++ inet_makeaddr F
++ inet_netof F
++ inet_network F
++ inet_nsap_addr F
++ inet_nsap_ntoa F
++ inet_ntoa F
++ inet_ntop F
++ inet_pton F
++ initgroups F
++ initstate F
++ initstate_r F
++ innetgr F
++ insque F
++ ioctl F
++ iruserok F
++ iruserok_af F
++ isalnum F
++ isalnum_l F
++ isalpha F
++ isalpha_l F
++ isascii F
++ isastream F
++ isatty F
++ isblank F
++ isblank_l F
++ iscntrl F
++ iscntrl_l F
++ isctype F
++ isdigit F
++ isdigit_l F
++ isfdtype F
++ isgraph F
++ isgraph_l F
++ isinf F
++ isinff F
++ isinfl F
++ islower F
++ islower_l F
++ isnan F
++ isnanf F
++ isnanl F
++ isprint F
++ isprint_l F
++ ispunct F
++ ispunct_l F
++ issetugid F
++ isspace F
++ isspace_l F
++ isupper F
++ isupper_l F
++ iswalnum F
++ iswalnum_l F
++ iswalpha F
++ iswalpha_l F
++ iswblank F
++ iswblank_l F
++ iswcntrl F
++ iswcntrl_l F
++ iswctype F
++ iswctype_l F
++ iswdigit F
++ iswdigit_l F
++ iswgraph F
++ iswgraph_l F
++ iswlower F
++ iswlower_l F
++ iswprint F
++ iswprint_l F
++ iswpunct F
++ iswpunct_l F
++ iswspace F
++ iswspace_l F
++ iswupper F
++ iswupper_l F
++ iswxdigit F
++ iswxdigit_l F
++ isxdigit F
++ isxdigit_l F
++ jail F
++ jrand48 F
++ jrand48_r F
++ key_decryptsession F
++ key_decryptsession_pk F
++ key_encryptsession F
++ key_encryptsession_pk F
++ key_gendes F
++ key_get_conv F
++ key_secretkey_is_set F
++ key_setnet F
++ key_setsecret F
++ kill F
++ killpg F
++ kldfind F
++ kldfirstmod F
++ kldload F
++ kldnext F
++ kldstat F
++ kldsym F
++ kldunload F
++ kldunloadf F
++ ktrace F
++ l64a F
++ labs F
++ lchmod F
++ lchown F
++ lckpwdf F
++ lcong48 F
++ lcong48_r F
++ ldexp F
++ ldexpf F
++ ldexpl F
++ ldiv F
++ lfind F
++ lgetxattr F
++ link F
++ listen F
++ listxattr F
++ llabs F
++ lldiv F
++ llistxattr F
++ loc1 D 0x8
++ loc2 D 0x8
++ localeconv F
++ localtime F
++ localtime_r F
++ lockf F
++ lockf64 F
++ locs D 0x8
++ longjmp F
++ lrand48 F
++ lrand48_r F
++ lremovexattr F
++ lsearch F
++ lseek F
++ lseek64 F
++ lsetxattr F
++ lutimes F
++ madvise F
++ makecontext F
++ mallinfo F
++ malloc F
++ malloc_get_state F
++ malloc_set_state F
++ malloc_stats F
++ malloc_trim F
++ malloc_usable_size F
++ mallopt F
++ mallwatch D 0x8
++ mblen F
++ mbrlen F
++ mbrtowc F
++ mbsinit F
++ mbsnrtowcs F
++ mbsrtowcs F
++ mbstowcs F
++ mbtowc F
++ mcheck F
++ mcheck_check_all F
++ mcheck_pedantic F
++ mcount F
++ memalign F
++ memccpy F
++ memchr F
++ memcmp F
++ memcpy F
++ memfrob F
++ memmem F
++ memmove F
++ mempcpy F
++ memrchr F
++ memset F
++ mincore F
++ minherit F
++ mkdir F
++ mkdtemp F
++ mkfifo F
++ mkstemp F
++ mkstemp64 F
++ mktemp F
++ mktime F
++ mlock F
++ mlockall F
++ mmap F
++ mmap64 F
++ modf F
++ modff F
++ modfind F
++ modfl F
++ modfnext F
++ modnext F
++ modstat F
++ moncontrol F
++ monstartup F
++ mount F
++ mprobe F
++ mprotect F
++ mrand48 F
++ mrand48_r F
++ msgctl F
++ msgget F
++ msgrcv F
++ msgsnd F
++ msync F
++ mtrace F
++ munlock F
++ munlockall F
++ munmap F
++ muntrace F
++ nanosleep F
++ netname2host F
++ netname2user F
++ newlocale F
++ nftw F
++ nftw64 F
++ ngettext F
++ nice F
++ nl_langinfo F
++ nl_langinfo_l F
++ nmount F
++ nrand48 F
++ nrand48_r F
++ ntohl F
++ ntohs F
++ ntp_adjtime F
++ ntp_gettime F
++ obstack_alloc_failed_handler D 0x8
++ obstack_exit_failure D 0x4
++ obstack_free F
++ obstack_printf F
++ obstack_vprintf F
++ on_exit F
++ open F
++ open64 F
++ open_memstream F
++ opendir F
++ openlog F
++ optarg D 0x8
++ opterr D 0x4
++ optind D 0x4
++ optopt D 0x4
++ parse_printf_format F
++ passwd2des F
++ pathconf F
++ pause F
++ pclose F
++ perror F
++ pipe F
++ pmap_getmaps F
++ pmap_getport F
++ pmap_rmtcall F
++ pmap_set F
++ pmap_unset F
++ poll F
++ popen F
++ posix_fadvise F
++ posix_fadvise64 F
++ posix_fallocate F
++ posix_fallocate64 F
++ posix_madvise F
++ posix_memalign F
++ posix_openpt F
++ posix_spawn F
++ posix_spawn_file_actions_addclose F
++ posix_spawn_file_actions_adddup2 F
++ posix_spawn_file_actions_addopen F
++ posix_spawn_file_actions_destroy F
++ posix_spawn_file_actions_init F
++ posix_spawnattr_destroy F
++ posix_spawnattr_getflags F
++ posix_spawnattr_getpgroup F
++ posix_spawnattr_getschedparam F
++ posix_spawnattr_getschedpolicy F
++ posix_spawnattr_getsigdefault F
++ posix_spawnattr_getsigmask F
++ posix_spawnattr_init F
++ posix_spawnattr_setflags F
++ posix_spawnattr_setpgroup F
++ posix_spawnattr_setschedparam F
++ posix_spawnattr_setschedpolicy F
++ posix_spawnattr_setsigdefault F
++ posix_spawnattr_setsigmask F
++ posix_spawnp F
++ pread F
++ pread64 F
++ printf F
++ printf_size F
++ printf_size_info F
++ profil F
++ program_invocation_name D 0x8
++ program_invocation_short_name D 0x8
++ pselect F
++ psignal F
++ pthread_attr_destroy F
++ pthread_attr_getdetachstate F
++ pthread_attr_getinheritsched F
++ pthread_attr_getschedparam F
++ pthread_attr_getschedpolicy F
++ pthread_attr_getscope F
++ pthread_attr_init F
++ pthread_attr_setdetachstate F
++ pthread_attr_setinheritsched F
++ pthread_attr_setschedparam F
++ pthread_attr_setschedpolicy F
++ pthread_attr_setscope F
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++ pthread_condattr_destroy F
++ pthread_condattr_init F
++ pthread_equal F
++ pthread_exit F
++ pthread_getschedparam F
++ pthread_mutex_destroy F
++ pthread_mutex_init F
++ pthread_mutex_lock F
++ pthread_mutex_unlock F
++ pthread_self F
++ pthread_setcancelstate F
++ pthread_setcanceltype F
++ pthread_setschedparam F
++ ptrace F
++ ptsname F
++ ptsname_r F
++ putc F
++ putc_unlocked F
++ putchar F
++ putchar_unlocked F
++ putenv F
++ putgrent F
++ putmsg F
++ putpmsg F
++ putpwent F
++ puts F
++ putspent F
++ pututline F
++ pututxline F
++ putw F
++ putwc F
++ putwc_unlocked F
++ putwchar F
++ putwchar_unlocked F
++ pvalloc F
++ pwrite F
++ pwrite64 F
++ qecvt F
++ qecvt_r F
++ qfcvt F
++ qfcvt_r F
++ qgcvt F
++ qsort F
++ quotactl F
++ raise F
++ rand F
++ rand_r F
++ random F
++ random_r F
++ rawmemchr F
++ rcmd F
++ rcmd_af F
++ re_comp F
++ re_compile_fastmap F
++ re_compile_pattern F
++ re_exec F
++ re_match F
++ re_match_2 F
++ re_search F
++ re_search_2 F
++ re_set_registers F
++ re_set_syntax F
++ re_syntax_options D 0x8
++ read F
++ readdir F
++ readdir64 F
++ readdir64_r F
++ readdir_r F
++ readlink F
++ readv F
++ realloc F
++ realpath F
++ reboot F
++ recv F
++ recvfrom F
++ recvmsg F
++ regcomp F
++ regerror F
++ regexec F
++ regfree F
++ register_printf_function F
++ registerrpc F
++ remove F
++ removexattr F
++ remque F
++ rename F
++ revoke F
++ rewind F
++ rewinddir F
++ rexec F
++ rexec_af F
++ rexecoptions D 0x4
++ rfork F
++ rindex F
++ rmdir F
++ rpc_createerr D 0x20
++ rpmatch F
++ rresvport F
++ rresvport_af F
++ rtime F
++ rtprio F
++ ruserok F
++ ruserok_af F
++ ruserpass F
++ sbrk F
++ scalbn F
++ scalbnf F
++ scalbnl F
++ scandir F
++ scandir64 F
++ scanf F
++ sched_get_priority_max F
++ sched_get_priority_min F
++ sched_getparam F
++ sched_getscheduler F
++ sched_rr_get_interval F
++ sched_setparam F
++ sched_setscheduler F
++ sched_yield F
++ seed48 F
++ seed48_r F
++ seekdir F
++ select F
++ semctl F
++ semget F
++ semop F
++ send F
++ sendfile F
++ sendfile64 F
++ sendmsg F
++ sendto F
++ setaliasent F
++ setbuf F
++ setbuffer F
++ setcontext F
++ setdomainname F
++ setegid F
++ setenv F
++ seteuid F
++ setfsent F
++ setgid F
++ setgrent F
++ setgroups F
++ sethostent F
++ sethostid F
++ sethostname F
++ setitimer F
++ setjmp F
++ setlinebuf F
++ setlocale F
++ setlogin F
++ setlogmask F
++ setmntent F
++ setnetent F
++ setnetgrent F
++ setpgid F
++ setpgrp F
++ setpriority F
++ setprotoent F
++ setpwent F
++ setregid F
++ setresgid F
++ setresuid F
++ setreuid F
++ setrlimit F
++ setrlimit64 F
++ setrpcent F
++ setservent F
++ setsid F
++ setsockopt F
++ setspent F
++ setstate F
++ setstate_r F
++ settimeofday F
++ setttyent F
++ setuid F
++ setusershell F
++ setutent F
++ setutxent F
++ setvbuf F
++ setxattr F
++ sgetspent F
++ sgetspent_r F
++ shmat F
++ shmctl F
++ shmdt F
++ shmget F
++ shutdown F
++ sigaction F
++ sigaddset F
++ sigaltstack F
++ sigandset F
++ sigblock F
++ sigdelset F
++ sigemptyset F
++ sigfillset F
++ siggetmask F
++ sighold F
++ sigignore F
++ siginterrupt F
++ sigisemptyset F
++ sigismember F
++ siglongjmp F
++ signal F
++ sigorset F
++ sigpause F
++ sigpending F
++ sigprocmask F
++ sigqueue F
++ sigrelse F
++ sigreturn F
++ sigset F
++ sigsetmask F
++ sigstack F
++ sigsuspend F
++ sigtimedwait F
++ sigvec F
++ sigwait F
++ sigwaitinfo F
++ sleep F
++ snprintf F
++ sockatmark F
++ socket F
++ socketpair F
++ sprintf F
++ sprofil F
++ srand F
++ srand48 F
++ srand48_r F
++ srandom F
++ srandom_r F
++ sscanf F
++ ssignal F
++ sstk F
++ statfs F
++ statfs64 F
++ statvfs F
++ statvfs64 F
++ stderr D 0x8
++ stdin D 0x8
++ stdout D 0x8
++ step F
++ stime F
++ stpcpy F
++ stpncpy F
++ strcasecmp F
++ strcasecmp_l F
++ strcasestr F
++ strcat F
++ strchr F
++ strchrnul F
++ strcmp F
++ strcoll F
++ strcoll_l F
++ strcpy F
++ strcspn F
++ strdup F
++ strerror F
++ strerror_r F
++ strfmon F
++ strfmon_l F
++ strfry F
++ strftime F
++ strftime_l F
++ strlen F
++ strncasecmp F
++ strncasecmp_l F
++ strncat F
++ strncmp F
++ strncpy F
++ strndup F
++ strnlen F
++ strpbrk F
++ strptime F
++ strrchr F
++ strsep F
++ strsignal F
++ strspn F
++ strstr F
++ strtod F
++ strtod_l F
++ strtof F
++ strtof_l F
++ strtoimax F
++ strtok F
++ strtok_r F
++ strtol F
++ strtol_l F
++ strtold F
++ strtold_l F
++ strtoll F
++ strtoq F
++ strtoul F
++ strtoul_l F
++ strtoull F
++ strtoumax F
++ strtouq F
++ strverscmp F
++ strxfrm F
++ strxfrm_l F
++ stty F
++ svc_exit F
++ svc_fdset D 0x80
++ svc_getreq F
++ svc_getreq_common F
++ svc_getreq_poll F
++ svc_getreqset F
++ svc_max_pollfd D 0x4
++ svc_pollfd D 0x8
++ svc_register F
++ svc_run F
++ svc_sendreply F
++ svc_unregister F
++ svcauthdes_stats D 0x18
++ svcerr_auth F
++ svcerr_decode F
++ svcerr_noproc F
++ svcerr_noprog F
++ svcerr_progvers F
++ svcerr_systemerr F
++ svcerr_weakauth F
++ svcfd_create F
++ svcraw_create F
++ svctcp_create F
++ svcudp_bufcreate F
++ svcudp_create F
++ svcudp_enablecache F
++ svcunix_create F
++ svcunixfd_create F
++ swab F
++ swapcontext F
++ swapoff F
++ swapon F
++ swprintf F
++ swscanf F
++ symlink F
++ sync F
++ sys_errlist D 0x2b8
++ sys_nerr D 0x4
++ sys_sigabbrev D 0x408
++ sys_siglist D 0x408
++ sysarch F
++ syscall F
++ sysconf F
++ sysctl F
++ sysctlbyname F
++ syslog F
++ system F
++ sysv_signal F
++ tcdrain F
++ tcflow F
++ tcflush F
++ tcgetattr F
++ tcgetpgrp F
++ tcgetsid F
++ tcsendbreak F
++ tcsetattr F
++ tcsetpgrp F
++ tdelete F
++ tdestroy F
++ telldir F
++ tempnam F
++ textdomain F
++ tfind F
++ time F
++ timegm F
++ timelocal F
++ times F
++ timezone D 0x8
++ tmpfile F
++ tmpfile64 F
++ tmpnam F
++ tmpnam_r F
++ toascii F
++ tolower F
++ tolower_l F
++ toupper F
++ toupper_l F
++ towctrans F
++ towctrans_l F
++ towlower F
++ towlower_l F
++ towupper F
++ towupper_l F
++ tr_break F
++ truncate F
++ truncate64 F
++ tsearch F
++ ttyname F
++ ttyname_r F
++ ttyslot F
++ twalk F
++ tzname D 0x10
++ tzset F
++ ualarm F
++ ulckpwdf F
++ ulimit F
++ umask F
++ uname F
++ undelete F
++ ungetc F
++ ungetwc F
++ unlink F
++ unlockpt F
++ unmount F
++ unsetenv F
++ updwtmp F
++ updwtmpx F
++ uselocale F
++ user2netname F
++ usleep F
++ ustat F
++ utime F
++ utimes F
++ utmpname F
++ utmpxname F
++ utrace F
++ valloc F
++ vasprintf F
++ vdprintf F
++ verr F
++ verrx F
++ versionsort F
++ versionsort64 F
++ vfork F
++ vfprintf F
++ vfscanf F
++ vfwprintf F
++ vfwscanf F
++ vhangup F
++ vlimit F
++ vprintf F
++ vscanf F
++ vsnprintf F
++ vsprintf F
++ vsscanf F
++ vswprintf F
++ vswscanf F
++ vsyslog F
++ vtimes F
++ vwarn F
++ vwarnx F
++ vwprintf F
++ vwscanf F
++ wait F
++ wait3 F
++ wait4 F
++ waitid F
++ waitpid F
++ warn F
++ warnx F
++ wcpcpy F
++ wcpncpy F
++ wcrtomb F
++ wcscasecmp F
++ wcscasecmp_l F
++ wcscat F
++ wcschr F
++ wcschrnul F
++ wcscmp F
++ wcscoll F
++ wcscoll_l F
++ wcscpy F
++ wcscspn F
++ wcsdup F
++ wcsftime F
++ wcsftime_l F
++ wcslen F
++ wcsncasecmp F
++ wcsncasecmp_l F
++ wcsncat F
++ wcsncmp F
++ wcsncpy F
++ wcsnlen F
++ wcsnrtombs F
++ wcspbrk F
++ wcsrchr F
++ wcsrtombs F
++ wcsspn F
++ wcsstr F
++ wcstod F
++ wcstod_l F
++ wcstof F
++ wcstof_l F
++ wcstoimax F
++ wcstok F
++ wcstol F
++ wcstol_l F
++ wcstold F
++ wcstold_l F
++ wcstoll F
++ wcstoll_l F
++ wcstombs F
++ wcstoq F
++ wcstoul F
++ wcstoul_l F
++ wcstoull F
++ wcstoull_l F
++ wcstoumax F
++ wcstouq F
++ wcswcs F
++ wcswidth F
++ wcsxfrm F
++ wcsxfrm_l F
++ wctob F
++ wctomb F
++ wctrans F
++ wctrans_l F
++ wctype F
++ wctype_l F
++ wcwidth F
++ wmemchr F
++ wmemcmp F
++ wmemcpy F
++ wmemmove F
++ wmempcpy F
++ wmemset F
++ wordexp F
++ wordfree F
++ wprintf F
++ write F
++ writev F
++ wscanf F
++ xdecrypt F
++ xdr_accepted_reply F
++ xdr_array F
++ xdr_authdes_cred F
++ xdr_authdes_verf F
++ xdr_authunix_parms F
++ xdr_bool F
++ xdr_bytes F
++ xdr_callhdr F
++ xdr_callmsg F
++ xdr_char F
++ xdr_cryptkeyarg F
++ xdr_cryptkeyarg2 F
++ xdr_cryptkeyres F
++ xdr_des_block F
++ xdr_double F
++ xdr_enum F
++ xdr_float F
++ xdr_free F
++ xdr_getcredres F
++ xdr_hyper F
++ xdr_int F
++ xdr_int16_t F
++ xdr_int32_t F
++ xdr_int64_t F
++ xdr_int8_t F
++ xdr_key_netstarg F
++ xdr_key_netstres F
++ xdr_keybuf F
++ xdr_keystatus F
++ xdr_long F
++ xdr_longlong_t F
++ xdr_netnamestr F
++ xdr_netobj F
++ xdr_opaque F
++ xdr_opaque_auth F
++ xdr_pmap F
++ xdr_pmaplist F
++ xdr_pointer F
++ xdr_reference F
++ xdr_rejected_reply F
++ xdr_replymsg F
++ xdr_rmtcall_args F
++ xdr_rmtcallres F
++ xdr_short F
++ xdr_sizeof F
++ xdr_string F
++ xdr_u_char F
++ xdr_u_hyper F
++ xdr_u_int F
++ xdr_u_long F
++ xdr_u_longlong_t F
++ xdr_u_short F
++ xdr_uint16_t F
++ xdr_uint32_t F
++ xdr_uint64_t F
++ xdr_uint8_t F
++ xdr_union F
++ xdr_unixcred F
++ xdr_vector F
++ xdr_void F
++ xdr_wrapstring F
++ xdrmem_create F
++ xdrrec_create F
++ xdrrec_endofrecord F
++ xdrrec_eof F
++ xdrrec_skiprecord F
++ xdrstdio_create F
++ xencrypt F
++ xprt_register F
++ xprt_unregister F
++GLIBC_2.3.2
++ GLIBC_2.3.2 A
++ __register_atfork F
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++ strptime_l F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ inet6_option_alloc F
++ inet6_option_append F
++ inet6_option_find F
++ inet6_option_init F
++ inet6_option_next F
++ inet6_option_space F
++ nftw F
++ nftw64 F
++ remap_file_pages F
++ sched_getaffinity F
++ sched_setaffinity F
++ semtimedop F
++ strtoll_l F
++ strtoull_l F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ __chk_fail F
++ __fprintf_chk F
++ __gets_chk F
++ __libc_sa_len F
++ __memcpy_chk F
++ __memmove_chk F
++ __mempcpy_chk F
++ __memset_chk F
++ __printf_chk F
++ __snprintf_chk F
++ __sprintf_chk F
++ __stpcpy_chk F
++ __strcat_chk F
++ __strcpy_chk F
++ __strncat_chk F
++ __strncpy_chk F
++ __vfprintf_chk F
++ __vprintf_chk F
++ __vsnprintf_chk F
++ __vsprintf_chk F
++ __xpg_strerror_r F
++ _sys_errlist D 0x2e8
++ _sys_nerr D 0x4
++ fhstat64 F
++ fhstatfs64 F
++ getipv4sourcefilter F
++ getsourcefilter F
++ iopl F
++ kevent F
++ kqueue F
++ regexec F
++ setipv4sourcefilter F
++ setsourcefilter F
++ sys_errlist D 0x2e8
++ sys_nerr D 0x4
++ xdr_quad_t F
++ xdr_u_quad_t F
++GLIBC_2.4
++ GLIBC_2.4 A
++ __confstr_chk F
++ __fgets_chk F
++ __fgets_unlocked_chk F
++ __fgetws_chk F
++ __fgetws_unlocked_chk F
++ __fwprintf_chk F
++ __fxstatat F
++ __fxstatat64 F
++ __getcwd_chk F
++ __getdomainname_chk F
++ __getgroups_chk F
++ __gethostname_chk F
++ __getlogin_r_chk F
++ __getwd_chk F
++ __mbsnrtowcs_chk F
++ __mbsrtowcs_chk F
++ __mbstowcs_chk F
++ __pread64_chk F
++ __pread_chk F
++ __ptsname_r_chk F
++ __read_chk F
++ __readlink_chk F
++ __realpath_chk F
++ __recv_chk F
++ __recvfrom_chk F
++ __stack_chk_fail F
++ __stpncpy_chk F
++ __swprintf_chk F
++ __syslog_chk F
++ __ttyname_r_chk F
++ __vfwprintf_chk F
++ __vswprintf_chk F
++ __vsyslog_chk F
++ __vwprintf_chk F
++ __wcpcpy_chk F
++ __wcpncpy_chk F
++ __wcrtomb_chk F
++ __wcscat_chk F
++ __wcscpy_chk F
++ __wcsncat_chk F
++ __wcsncpy_chk F
++ __wcsnrtombs_chk F
++ __wcsrtombs_chk F
++ __wcstombs_chk F
++ __wctomb_chk F
++ __wmemcpy_chk F
++ __wmemmove_chk F
++ __wmempcpy_chk F
++ __wmemset_chk F
++ __wprintf_chk F
++ __xmknodat F
++ eaccess F
++ faccessat F
++ fchmodat F
++ fchownat F
++ fdopendir F
++ futimesat F
++ linkat F
++ mkdirat F
++ mkfifoat F
++ open_wmemstream F
++ openat F
++ openat64 F
++ ppoll F
++ readlinkat F
++ renameat F
++ symlinkat F
++ unlinkat F
++GLIBC_2.5
++ GLIBC_2.5 A
++ __readlinkat_chk F
++ inet6_opt_append F
++ inet6_opt_find F
++ inet6_opt_finish F
++ inet6_opt_get_val F
++ inet6_opt_init F
++ inet6_opt_next F
++ inet6_opt_set_val F
++ inet6_rth_add F
++ inet6_rth_getaddr F
++ inet6_rth_init F
++ inet6_rth_reverse F
++ inet6_rth_segments F
++ inet6_rth_space F
++GLIBC_2.6
++ GLIBC_2.6 A
++ __sched_cpucount F
++ futimens F
++ strerror_l F
++ utimensat F
++GLIBC_2.7
++ GLIBC_2.7 A
++ __fread_chk F
++ __fread_unlocked_chk F
++ __isoc99_fscanf F
++ __isoc99_fwscanf F
++ __isoc99_scanf F
++ __isoc99_sscanf F
++ __isoc99_swscanf F
++ __isoc99_vfscanf F
++ __isoc99_vfwscanf F
++ __isoc99_vscanf F
++ __isoc99_vsscanf F
++ __isoc99_vswscanf F
++ __isoc99_vwscanf F
++ __isoc99_wscanf F
++ __open64_2 F
++ __open_2 F
++ __openat64_2 F
++ __openat_2 F
++ __sched_cpualloc F
++ __sched_cpufree F
++ mkostemp F
++ mkostemp64 F
++GLIBC_2.8
++ GLIBC_2.8 A
++ __asprintf_chk F
++ __dprintf_chk F
++ __obstack_printf_chk F
++ __obstack_vprintf_chk F
++ __vasprintf_chk F
++ __vdprintf_chk F
++ qsort_r F
++GLIBC_2.9
++ GLIBC_2.9 A
++ dup3 F
++ pipe2 F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libcrypt.abilist
+@@ -0,0 +1,9 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ crypt F
++ crypt_r F
++ encrypt F
++ encrypt_r F
++ fcrypt F
++ setkey F
++ setkey_r F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libdl.abilist
+@@ -0,0 +1,15 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ dladdr F
++ dlclose F
++ dlerror F
++ dlopen F
++ dlsym F
++ dlvsym F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ dladdr1 F
++ dlinfo F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ dlmopen F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libm.abilist
+@@ -0,0 +1,406 @@
++GLIBC_2.15
++ GLIBC_2.15 A
++ __acos_finite F
++ __acosf_finite F
++ __acosh_finite F
++ __acoshf_finite F
++ __acoshl_finite F
++ __acosl_finite F
++ __asin_finite F
++ __asinf_finite F
++ __asinl_finite F
++ __atan2_finite F
++ __atan2f_finite F
++ __atan2l_finite F
++ __atanh_finite F
++ __atanhf_finite F
++ __atanhl_finite F
++ __cosh_finite F
++ __coshf_finite F
++ __coshl_finite F
++ __exp10_finite F
++ __exp10f_finite F
++ __exp10l_finite F
++ __exp2_finite F
++ __exp2f_finite F
++ __exp2l_finite F
++ __exp_finite F
++ __expf_finite F
++ __expl_finite F
++ __fmod_finite F
++ __fmodf_finite F
++ __fmodl_finite F
++ __gamma_r_finite F
++ __gammaf_r_finite F
++ __gammal_r_finite F
++ __hypot_finite F
++ __hypotf_finite F
++ __hypotl_finite F
++ __j0_finite F
++ __j0f_finite F
++ __j0l_finite F
++ __j1_finite F
++ __j1f_finite F
++ __j1l_finite F
++ __jn_finite F
++ __jnf_finite F
++ __jnl_finite F
++ __lgamma_r_finite F
++ __lgammaf_r_finite F
++ __lgammal_r_finite F
++ __log10_finite F
++ __log10f_finite F
++ __log10l_finite F
++ __log2_finite F
++ __log2f_finite F
++ __log2l_finite F
++ __log_finite F
++ __logf_finite F
++ __logl_finite F
++ __pow_finite F
++ __powf_finite F
++ __powl_finite F
++ __remainder_finite F
++ __remainderf_finite F
++ __remainderl_finite F
++ __scalb_finite F
++ __scalbf_finite F
++ __scalbl_finite F
++ __sinh_finite F
++ __sinhf_finite F
++ __sinhl_finite F
++ __sqrt_finite F
++ __sqrtf_finite F
++ __sqrtl_finite F
++ __y0_finite F
++ __y0f_finite F
++ __y0l_finite F
++ __y1_finite F
++ __y1f_finite F
++ __y1l_finite F
++ __yn_finite F
++ __ynf_finite F
++ __ynl_finite F
++GLIBC_2.18
++ GLIBC_2.18 A
++ __issignaling F
++ __issignalingf F
++ __issignalingl F
++GLIBC_2.3
++ GLIBC_2.3 A
++ _LIB_VERSION D 0x4
++ __clog10 F
++ __clog10f F
++ __clog10l F
++ __finite F
++ __finitef F
++ __finitel F
++ __fpclassify F
++ __fpclassifyf F
++ __fpclassifyl F
++ __signbit F
++ __signbitf F
++ __signbitl F
++ acos F
++ acosf F
++ acosh F
++ acoshf F
++ acoshl F
++ acosl F
++ asin F
++ asinf F
++ asinh F
++ asinhf F
++ asinhl F
++ asinl F
++ atan F
++ atan2 F
++ atan2f F
++ atan2l F
++ atanf F
++ atanh F
++ atanhf F
++ atanhl F
++ atanl F
++ cabs F
++ cabsf F
++ cabsl F
++ cacos F
++ cacosf F
++ cacosh F
++ cacoshf F
++ cacoshl F
++ cacosl F
++ carg F
++ cargf F
++ cargl F
++ casin F
++ casinf F
++ casinh F
++ casinhf F
++ casinhl F
++ casinl F
++ catan F
++ catanf F
++ catanh F
++ catanhf F
++ catanhl F
++ catanl F
++ cbrt F
++ cbrtf F
++ cbrtl F
++ ccos F
++ ccosf F
++ ccosh F
++ ccoshf F
++ ccoshl F
++ ccosl F
++ ceil F
++ ceilf F
++ ceill F
++ cexp F
++ cexpf F
++ cexpl F
++ cimag F
++ cimagf F
++ cimagl F
++ clog F
++ clog10 F
++ clog10f F
++ clog10l F
++ clogf F
++ clogl F
++ conj F
++ conjf F
++ conjl F
++ copysign F
++ copysignf F
++ copysignl F
++ cos F
++ cosf F
++ cosh F
++ coshf F
++ coshl F
++ cosl F
++ cpow F
++ cpowf F
++ cpowl F
++ cproj F
++ cprojf F
++ cprojl F
++ creal F
++ crealf F
++ creall F
++ csin F
++ csinf F
++ csinh F
++ csinhf F
++ csinhl F
++ csinl F
++ csqrt F
++ csqrtf F
++ csqrtl F
++ ctan F
++ ctanf F
++ ctanh F
++ ctanhf F
++ ctanhl F
++ ctanl F
++ drem F
++ dremf F
++ dreml F
++ erf F
++ erfc F
++ erfcf F
++ erfcl F
++ erff F
++ erfl F
++ exp F
++ exp10 F
++ exp10f F
++ exp10l F
++ exp2 F
++ exp2f F
++ exp2l F
++ expf F
++ expl F
++ expm1 F
++ expm1f F
++ expm1l F
++ fabs F
++ fabsf F
++ fabsl F
++ fdim F
++ fdimf F
++ fdiml F
++ feclearexcept F
++ fedisableexcept F
++ feenableexcept F
++ fegetenv F
++ fegetexcept F
++ fegetexceptflag F
++ fegetround F
++ feholdexcept F
++ feraiseexcept F
++ fesetenv F
++ fesetexceptflag F
++ fesetround F
++ fetestexcept F
++ feupdateenv F
++ finite F
++ finitef F
++ finitel F
++ floor F
++ floorf F
++ floorl F
++ fma F
++ fmaf F
++ fmal F
++ fmax F
++ fmaxf F
++ fmaxl F
++ fmin F
++ fminf F
++ fminl F
++ fmod F
++ fmodf F
++ fmodl F
++ frexp F
++ frexpf F
++ frexpl F
++ gamma F
++ gammaf F
++ gammal F
++ hypot F
++ hypotf F
++ hypotl F
++ ilogb F
++ ilogbf F
++ ilogbl F
++ j0 F
++ j0f F
++ j0l F
++ j1 F
++ j1f F
++ j1l F
++ jn F
++ jnf F
++ jnl F
++ ldexp F
++ ldexpf F
++ ldexpl F
++ lgamma F
++ lgamma_r F
++ lgammaf F
++ lgammaf_r F
++ lgammal F
++ lgammal_r F
++ llrint F
++ llrintf F
++ llrintl F
++ llround F
++ llroundf F
++ llroundl F
++ log F
++ log10 F
++ log10f F
++ log10l F
++ log1p F
++ log1pf F
++ log1pl F
++ log2 F
++ log2f F
++ log2l F
++ logb F
++ logbf F
++ logbl F
++ logf F
++ logl F
++ lrint F
++ lrintf F
++ lrintl F
++ lround F
++ lroundf F
++ lroundl F
++ matherr F
++ modf F
++ modff F
++ modfl F
++ nan F
++ nanf F
++ nanl F
++ nearbyint F
++ nearbyintf F
++ nearbyintl F
++ nextafter F
++ nextafterf F
++ nextafterl F
++ nexttoward F
++ nexttowardf F
++ nexttowardl F
++ pow F
++ pow10 F
++ pow10f F
++ pow10l F
++ powf F
++ powl F
++ remainder F
++ remainderf F
++ remainderl F
++ remquo F
++ remquof F
++ remquol F
++ rint F
++ rintf F
++ rintl F
++ round F
++ roundf F
++ roundl F
++ scalb F
++ scalbf F
++ scalbl F
++ scalbln F
++ scalblnf F
++ scalblnl F
++ scalbn F
++ scalbnf F
++ scalbnl F
++ signgam D 0x4
++ significand F
++ significandf F
++ significandl F
++ sin F
++ sincos F
++ sincosf F
++ sincosl F
++ sinf F
++ sinh F
++ sinhf F
++ sinhl F
++ sinl F
++ sqrt F
++ sqrtf F
++ sqrtl F
++ tan F
++ tanf F
++ tanh F
++ tanhf F
++ tanhl F
++ tanl F
++ tgamma F
++ tgammaf F
++ tgammal F
++ trunc F
++ truncf F
++ truncl F
++ y0 F
++ y0f F
++ y0l F
++ y1 F
++ y1f F
++ y1l F
++ yn F
++ ynf F
++ ynl F
++GLIBC_2.4
++ GLIBC_2.4 A
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libnsl.abilist
+@@ -0,0 +1,123 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ __free_fdresult F
++ __nis_default_access F
++ __nis_default_group F
++ __nis_default_owner F
++ __nis_default_ttl F
++ __nis_finddirectory F
++ __nis_hash F
++ __nisbind_connect F
++ __nisbind_create F
++ __nisbind_destroy F
++ __nisbind_next F
++ __yp_check F
++ nis_add F
++ nis_add_entry F
++ nis_addmember F
++ nis_checkpoint F
++ nis_clone_directory F
++ nis_clone_object F
++ nis_clone_result F
++ nis_creategroup F
++ nis_destroy_object F
++ nis_destroygroup F
++ nis_dir_cmp F
++ nis_domain_of F
++ nis_domain_of_r F
++ nis_first_entry F
++ nis_free_directory F
++ nis_free_object F
++ nis_free_request F
++ nis_freenames F
++ nis_freeresult F
++ nis_freeservlist F
++ nis_freetags F
++ nis_getnames F
++ nis_getservlist F
++ nis_ismember F
++ nis_leaf_of F
++ nis_leaf_of_r F
++ nis_lerror F
++ nis_list F
++ nis_local_directory F
++ nis_local_group F
++ nis_local_host F
++ nis_local_principal F
++ nis_lookup F
++ nis_mkdir F
++ nis_modify F
++ nis_modify_entry F
++ nis_name_of F
++ nis_name_of_r F
++ nis_next_entry F
++ nis_perror F
++ nis_ping F
++ nis_print_directory F
++ nis_print_entry F
++ nis_print_group F
++ nis_print_group_entry F
++ nis_print_link F
++ nis_print_object F
++ nis_print_result F
++ nis_print_rights F
++ nis_print_table F
++ nis_read_obj F
++ nis_remove F
++ nis_remove_entry F
++ nis_removemember F
++ nis_rmdir F
++ nis_servstate F
++ nis_sperrno F
++ nis_sperror F
++ nis_sperror_r F
++ nis_stats F
++ nis_verifygroup F
++ nis_write_obj F
++ readColdStartFile F
++ writeColdStartFile F
++ xdr_cback_data F
++ xdr_domainname F
++ xdr_keydat F
++ xdr_mapname F
++ xdr_obj_p F
++ xdr_peername F
++ xdr_valdat F
++ xdr_yp_buf F
++ xdr_ypall F
++ xdr_ypbind_binding F
++ xdr_ypbind_resp F
++ xdr_ypbind_resptype F
++ xdr_ypbind_setdom F
++ xdr_ypdelete_args F
++ xdr_ypmap_parms F
++ xdr_ypmaplist F
++ xdr_yppush_status F
++ xdr_yppushresp_xfr F
++ xdr_ypreq_key F
++ xdr_ypreq_nokey F
++ xdr_ypreq_xfr F
++ xdr_ypresp_all F
++ xdr_ypresp_key_val F
++ xdr_ypresp_maplist F
++ xdr_ypresp_master F
++ xdr_ypresp_order F
++ xdr_ypresp_val F
++ xdr_ypresp_xfr F
++ xdr_ypstat F
++ xdr_ypupdate_args F
++ xdr_ypxfrstat F
++ yp_all F
++ yp_bind F
++ yp_first F
++ yp_get_default_domain F
++ yp_maplist F
++ yp_master F
++ yp_match F
++ yp_next F
++ yp_order F
++ yp_unbind F
++ yp_update F
++ ypbinderr_string F
++ yperr_string F
++ ypprot_err F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libpthread.abilist
+@@ -0,0 +1,233 @@
++GLIBC_2.12
++ GLIBC_2.12 A
++ pthread_getname_np F
++ pthread_setname_np F
++GLIBC_2.18
++ GLIBC_2.18 A
++ pthread_getattr_default_np F
++ pthread_setattr_default_np F
++GLIBC_2.3
++ GLIBC_2.3 A
++ _IO_flockfile F
++ _IO_ftrylockfile F
++ _IO_funlockfile F
++ __close F
++ __connect F
++ __errno_location F
++ __fcntl F
++ __fork F
++ __h_errno_location F
++ __libc_allocate_rtsig F
++ __libc_current_sigrtmax F
++ __libc_current_sigrtmin F
++ __lseek F
++ __nanosleep F
++ __open F
++ __open64 F
++ __pread64 F
++ __pthread_getspecific F
++ __pthread_key_create F
++ __pthread_mutex_destroy F
++ __pthread_mutex_init F
++ __pthread_mutex_lock F
++ __pthread_mutex_trylock F
++ __pthread_mutex_unlock F
++ __pthread_mutexattr_destroy F
++ __pthread_mutexattr_init F
++ __pthread_mutexattr_settype F
++ __pthread_once F
++ __pthread_rwlock_destroy F
++ __pthread_rwlock_init F
++ __pthread_rwlock_rdlock F
++ __pthread_rwlock_tryrdlock F
++ __pthread_rwlock_trywrlock F
++ __pthread_rwlock_unlock F
++ __pthread_rwlock_wrlock F
++ __pthread_setspecific F
++ __pwrite64 F
++ __read F
++ __res_state F
++ __send F
++ __sigaction F
++ __vfork F
++ __wait F
++ __write F
++ _pthread_cleanup_pop F
++ _pthread_cleanup_pop_restore F
++ _pthread_cleanup_push F
++ _pthread_cleanup_push_defer F
++ accept F
++ close F
++ connect F
++ fcntl F
++ flockfile F
++ fork F
++ fsync F
++ ftrylockfile F
++ funlockfile F
++ longjmp F
++ lseek F
++ lseek64 F
++ msync F
++ nanosleep F
++ open F
++ open64 F
++ pause F
++ pread F
++ pread64 F
++ pthread_atfork F
++ pthread_attr_destroy F
++ pthread_attr_getdetachstate F
++ pthread_attr_getguardsize F
++ pthread_attr_getinheritsched F
++ pthread_attr_getschedparam F
++ pthread_attr_getschedpolicy F
++ pthread_attr_getscope F
++ pthread_attr_getstack F
++ pthread_attr_getstackaddr F
++ pthread_attr_getstacksize F
++ pthread_attr_init F
++ pthread_attr_setdetachstate F
++ pthread_attr_setguardsize F
++ pthread_attr_setinheritsched F
++ pthread_attr_setschedparam F
++ pthread_attr_setschedpolicy F
++ pthread_attr_setscope F
++ pthread_attr_setstack F
++ pthread_attr_setstackaddr F
++ pthread_attr_setstacksize F
++ pthread_barrier_destroy F
++ pthread_barrier_init F
++ pthread_barrier_wait F
++ pthread_barrierattr_destroy F
++ pthread_barrierattr_init F
++ pthread_barrierattr_setpshared F
++ pthread_cancel F
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++ pthread_condattr_destroy F
++ pthread_condattr_getpshared F
++ pthread_condattr_init F
++ pthread_condattr_setpshared F
++ pthread_create F
++ pthread_detach F
++ pthread_equal F
++ pthread_exit F
++ pthread_getattr_np F
++ pthread_getconcurrency F
++ pthread_getcpuclockid F
++ pthread_getschedparam F
++ pthread_getspecific F
++ pthread_join F
++ pthread_key_create F
++ pthread_key_delete F
++ pthread_kill F
++ pthread_kill_other_threads_np F
++ pthread_mutex_destroy F
++ pthread_mutex_init F
++ pthread_mutex_lock F
++ pthread_mutex_timedlock F
++ pthread_mutex_trylock F
++ pthread_mutex_unlock F
++ pthread_mutexattr_destroy F
++ pthread_mutexattr_getkind_np F
++ pthread_mutexattr_getpshared F
++ pthread_mutexattr_gettype F
++ pthread_mutexattr_init F
++ pthread_mutexattr_setkind_np F
++ pthread_mutexattr_setpshared F
++ pthread_mutexattr_settype F
++ pthread_once F
++ pthread_rwlock_destroy F
++ pthread_rwlock_init F
++ pthread_rwlock_rdlock F
++ pthread_rwlock_timedrdlock F
++ pthread_rwlock_timedwrlock F
++ pthread_rwlock_tryrdlock F
++ pthread_rwlock_trywrlock F
++ pthread_rwlock_unlock F
++ pthread_rwlock_wrlock F
++ pthread_rwlockattr_destroy F
++ pthread_rwlockattr_getkind_np F
++ pthread_rwlockattr_getpshared F
++ pthread_rwlockattr_init F
++ pthread_rwlockattr_setkind_np F
++ pthread_rwlockattr_setpshared F
++ pthread_self F
++ pthread_setcancelstate F
++ pthread_setcanceltype F
++ pthread_setconcurrency F
++ pthread_setschedparam F
++ pthread_setspecific F
++ pthread_sigmask F
++ pthread_spin_destroy F
++ pthread_spin_init F
++ pthread_spin_lock F
++ pthread_spin_trylock F
++ pthread_spin_unlock F
++ pthread_testcancel F
++ pthread_yield F
++ pwrite F
++ pwrite64 F
++ raise F
++ read F
++ recv F
++ recvfrom F
++ recvmsg F
++ sem_close F
++ sem_destroy F
++ sem_getvalue F
++ sem_init F
++ sem_open F
++ sem_post F
++ sem_timedwait F
++ sem_trywait F
++ sem_unlink F
++ sem_wait F
++ send F
++ sendmsg F
++ sendto F
++ sigaction F
++ siglongjmp F
++ sigwait F
++ system F
++ tcdrain F
++ vfork F
++ wait F
++ waitpid F
++ write F
++GLIBC_2.3.2
++ GLIBC_2.3.2 A
++ pthread_cond_broadcast F
++ pthread_cond_destroy F
++ pthread_cond_init F
++ pthread_cond_signal F
++ pthread_cond_timedwait F
++ pthread_cond_wait F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ __pthread_cleanup_routine F
++ __pthread_register_cancel F
++ __pthread_register_cancel_defer F
++ __pthread_unregister_cancel F
++ __pthread_unregister_cancel_restore F
++ __pthread_unwind_next F
++ pthread_attr_getaffinity_np F
++ pthread_attr_setaffinity_np F
++ pthread_barrierattr_getpshared F
++ pthread_condattr_getclock F
++ pthread_condattr_setclock F
++ pthread_getaffinity_np F
++ pthread_setaffinity_np F
++ pthread_timedjoin_np F
++ pthread_tryjoin_np F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ pthread_attr_getaffinity_np F
++ pthread_attr_setaffinity_np F
++ pthread_getaffinity_np F
++ pthread_setaffinity_np F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libresolv.abilist
+@@ -0,0 +1,97 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ __b64_ntop F
++ __b64_pton F
++ __dn_comp F
++ __dn_count_labels F
++ __dn_expand F
++ __dn_skipname F
++ __fp_nquery F
++ __fp_query F
++ __fp_resstat F
++ __hostalias F
++ __loc_aton F
++ __loc_ntoa F
++ __p_cdname F
++ __p_cdnname F
++ __p_class F
++ __p_class_syms D 0xa8
++ __p_fqname F
++ __p_fqnname F
++ __p_option F
++ __p_query F
++ __p_secstodate F
++ __p_time F
++ __p_type F
++ __p_type_syms D 0x450
++ __putlong F
++ __putshort F
++ __res_close F
++ __res_dnok F
++ __res_hnok F
++ __res_hostalias F
++ __res_isourserver F
++ __res_mailok F
++ __res_mkquery F
++ __res_nameinquery F
++ __res_nmkquery F
++ __res_nquery F
++ __res_nquerydomain F
++ __res_nsearch F
++ __res_nsend F
++ __res_ownok F
++ __res_queriesmatch F
++ __res_query F
++ __res_querydomain F
++ __res_search F
++ __res_send F
++ __sym_ntop F
++ __sym_ntos F
++ __sym_ston F
++ _gethtbyaddr F
++ _gethtbyname F
++ _gethtbyname2 F
++ _gethtent F
++ _getlong F
++ _getshort F
++ _res_opcodes D 0x80
++ _sethtent F
++ inet_net_ntop F
++ inet_net_pton F
++ inet_neta F
++ res_gethostbyaddr F
++ res_gethostbyname F
++ res_gethostbyname2 F
++ res_send_setqhook F
++ res_send_setrhook F
++GLIBC_2.3.2
++ GLIBC_2.3.2 A
++ __p_rcode F
++GLIBC_2.9
++ GLIBC_2.9 A
++ ns_datetosecs F
++ ns_format_ttl F
++ ns_get16 F
++ ns_get32 F
++ ns_initparse F
++ ns_makecanon F
++ ns_msg_getflag F
++ ns_name_compress F
++ ns_name_ntol F
++ ns_name_ntop F
++ ns_name_pack F
++ ns_name_pton F
++ ns_name_rollback F
++ ns_name_skip F
++ ns_name_uncompress F
++ ns_name_unpack F
++ ns_parse_ttl F
++ ns_parserr F
++ ns_put16 F
++ ns_put32 F
++ ns_samedomain F
++ ns_samename F
++ ns_skiprr F
++ ns_sprintrr F
++ ns_sprintrrf F
++ ns_subdomain F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/librt.abilist
+@@ -0,0 +1,50 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ aio_cancel F
++ aio_cancel64 F
++ aio_error F
++ aio_error64 F
++ aio_fsync F
++ aio_fsync64 F
++ aio_init F
++ aio_read F
++ aio_read64 F
++ aio_return F
++ aio_return64 F
++ aio_suspend F
++ aio_suspend64 F
++ aio_write F
++ aio_write64 F
++ clock_getcpuclockid F
++ clock_getres F
++ clock_gettime F
++ clock_nanosleep F
++ clock_settime F
++ lio_listio F
++ lio_listio64 F
++ shm_open F
++ shm_unlink F
++ timer_create F
++ timer_delete F
++ timer_getoverrun F
++ timer_gettime F
++ timer_settime F
++GLIBC_2.3.4
++ GLIBC_2.3.4 A
++ mq_close F
++ mq_getattr F
++ mq_notify F
++ mq_open F
++ mq_receive F
++ mq_send F
++ mq_setattr F
++ mq_timedreceive F
++ mq_timedsend F
++ mq_unlink F
++GLIBC_2.4
++ GLIBC_2.4 A
++ lio_listio F
++ lio_listio64 F
++GLIBC_2.7
++ GLIBC_2.7 A
++ __mq_open_2 F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libthread_db.abilist
+@@ -0,0 +1,44 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ td_init F
++ td_log F
++ td_symbol_list F
++ td_ta_clear_event F
++ td_ta_delete F
++ td_ta_enable_stats F
++ td_ta_event_addr F
++ td_ta_event_getmsg F
++ td_ta_get_nthreads F
++ td_ta_get_ph F
++ td_ta_get_stats F
++ td_ta_map_id2thr F
++ td_ta_map_lwp2thr F
++ td_ta_new F
++ td_ta_reset_stats F
++ td_ta_set_event F
++ td_ta_setconcurrency F
++ td_ta_thr_iter F
++ td_ta_tsd_iter F
++ td_thr_clear_event F
++ td_thr_dbresume F
++ td_thr_dbsuspend F
++ td_thr_event_enable F
++ td_thr_event_getmsg F
++ td_thr_get_info F
++ td_thr_getfpregs F
++ td_thr_getgregs F
++ td_thr_getxregs F
++ td_thr_getxregsize F
++ td_thr_set_event F
++ td_thr_setfpregs F
++ td_thr_setgregs F
++ td_thr_setprio F
++ td_thr_setsigpending F
++ td_thr_setxregs F
++ td_thr_sigsetmask F
++ td_thr_tls_get_addr F
++ td_thr_tsd F
++ td_thr_validate F
++GLIBC_2.3.3
++ GLIBC_2.3.3 A
++ td_thr_tlsbase F
+--- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/libutil.abilist
+@@ -0,0 +1,8 @@
++GLIBC_2.3
++ GLIBC_2.3 A
++ forkpty F
++ login F
++ login_tty F
++ logout F
++ logwtmp F
++ openpty F
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/makecontext.S
 @@ -0,0 +1,146 @@
 +/* makecontext() for FreeBSD/amd64.
@@ -29666,6 +36431,10 @@
 +weak_alias (__rfork, rfork)
 +
 --- /dev/null
++++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/shlib-versions
+@@ -0,0 +1 @@
++ld=ld-kfreebsd-x86-64.so.1
+--- /dev/null
 +++ b/sysdeps/unix/bsd/bsd4.4/kfreebsd/x86_64/sigcontextinfo.h
 @@ -0,0 +1,35 @@
 +/* Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
@@ -30674,7 +37443,7 @@
 +#include <sysdeps/unix/x86_64/sysdep.h>
 +#include <tls.h>
 +
-+#ifdef IS_IN_rtld
++#if IS_IN (rtld)
 +# include <dl-sysdep.h>		/* Defines RTLD_PRIVATE_ERRNO.  */
 +#endif
 +
@@ -30736,7 +37505,7 @@
 +  orq $-1, %rax;				\
 +  jmp L(pseudo_end);
 +#else
-+# ifndef NOT_IN_libc
++# if IS_IN (libc)
 +#  define SYSCALL_ERROR_ERRNO __libc_errno
 +# else
 +#  define SYSCALL_ERROR_ERRNO errno
@@ -30816,7 +37585,7 @@
 +
 +
 +/* Pointer mangling support.  */
-+#if defined NOT_IN_libc && defined IS_IN_rtld
++#if IS_IN (rtld)
 +/* We cannot use the thread descriptor because in ld.so we use setjmp
 +   earlier than the descriptor is initialized.  */
 +# ifdef __ASSEMBLER__

Added: glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-tst-auxv.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-tst-auxv.diff	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-tst-auxv.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,18 @@
+--- a/elf/tst-auxv.c
++++ b/elf/tst-auxv.c
+@@ -42,6 +42,7 @@ do_test (int argc, char *argv[])
+       return 1;
+     }
+ 
++#ifdef AT_EXECFN
+   errno = 0;
+   execfn = (const char *) getauxval (AT_EXECFN);
+ 
+@@ -62,6 +63,7 @@ do_test (int argc, char *argv[])
+       printf ("Mismatch: argv[0]: %s vs. AT_EXECFN: %s\n", argv[0], execfn);
+       return 1;
+     }
++#endif
+ 
+   return 0;
+ }

Modified: glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-undef-glibc.diff
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-undef-glibc.diff	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/kfreebsd/local-undef-glibc.diff	2015-12-01 20:01:33 UTC (rev 6724)
@@ -8,11 +8,11 @@
 
 --- a/include/features.h
 +++ b/include/features.h
-@@ -355,6 +355,7 @@
+@@ -349,6 +349,7 @@
  
  /* Major and minor version number of the GNU C library package.  Use
     these macros to test for features in specific releases.  */
 +#undef __GLIBC__
  #define	__GLIBC__	2
- #define	__GLIBC_MINOR__	18
+ #define	__GLIBC_MINOR__	21
  

Modified: glibc-package/branches/glibc-2.22/debian/patches/series
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/series	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/series	2015-12-01 20:01:33 UTC (rev 6724)
@@ -43,7 +43,7 @@
 alpha/submitted-rtld-fPIC.diff
 alpha/local-string-functions.diff
 
-amd64/local-blacklist-on-TSX-Haswell.diff
+amd64/local-blacklist-for-Intel-TSX.diff
 
 arm/local-ioperm.diff
 arm/local-sigaction.diff
@@ -54,6 +54,7 @@
 arm/unsubmitted-ldso-multilib.diff
 arm/local-arm-futex.diff
 
+hppa/cvs-allocatestack-stacktop.diff
 hppa/local-inlining.diff
 hppa/local-stack-grows-up.diff
 hppa/local-elf-make-cflags.diff
@@ -61,6 +62,9 @@
 hppa/local-pthread_spin_unlock.diff
 hppa/local-fptr-table-size.diff
 hppa/cvs-start.diff
+hppa/submitted-gmon-start.diff
+hppa/submitted-mathdef.diff
+hppa/cvs-inline-syscall.diff
 
 hurd-i386/local-enable-ldconfig.diff
 hurd-i386/tg-context_functions.diff
@@ -138,6 +142,8 @@
 hurd-i386/cvs-cache-mach_host_self.diff
 hurd-i386/cvs-csu_crt0.diff
 hurd-i386/cvs-s_scalbn.diff
+hurd-i386/local-mach_print.diff
+hurd-i386/cvs-hidden.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff
@@ -233,3 +239,5 @@
 any/submitted-resolv-ipv6-nameservers.diff
 any/local-static-dlopen-search-path.diff
 any/local-math-logb.diff
+any/cvs-ld_pointer_guard.diff
+any/cvs-mangle-tls_dtor_list.diff

Modified: glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-amd64
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-amd64	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-amd64	2015-12-01 20:01:33 UTC (rev 6724)
@@ -2,4 +2,4 @@
 kfreebsd/local-sys_queue_h.diff
 kfreebsd/local-undef-glibc.diff
 kfreebsd/local-initgroups-order.diff
-kfreebsd/local-nscd-no-sockcloexec.diff
+kfreebsd/local-tst-auxv.diff

Modified: glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-i386
===================================================================
--- glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-i386	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/patches/series.kfreebsd-i386	2015-12-01 20:01:33 UTC (rev 6724)
@@ -2,4 +2,4 @@
 kfreebsd/local-sys_queue_h.diff
 kfreebsd/local-undef-glibc.diff
 kfreebsd/local-initgroups-order.diff
-kfreebsd/local-nscd-no-sockcloexec.diff
+kfreebsd/local-tst-auxv.diff

Modified: glibc-package/branches/glibc-2.22/debian/po/pt_BR.po
===================================================================
--- glibc-package/branches/glibc-2.22/debian/po/pt_BR.po	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/po/pt_BR.po	2015-12-01 20:01:33 UTC (rev 6724)
@@ -2,21 +2,22 @@
 # Copyright (C) 2007 THE glibc'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the glibc package.
 # Felipe Augusto van de Wiel (faw) <faw@debian.org>, 2007-2008.
+# Fernando Ike de Oliveira (fike) <fike@midstorm.org>, 2013.
+# Adriano Rafael Gomes <adrianorg@arg.eti.br>, 2014-2015.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: libc6\n"
+"Project-Id-Version: glibc\n"
 "Report-Msgid-Bugs-To: glibc@packages.debian.org\n"
 "POT-Creation-Date: 2014-05-21 00:04+0200\n"
-"PO-Revision-Date: 2008-06-09 01:17-0300\n"
-"Last-Translator: Felipe Augusto van de Wiel (faw) <faw@debian.org>\n"
+"PO-Revision-Date: 2015-09-18 20:29-0300\n"
+"Last-Translator: Adriano Rafael Gomes <adrianorg@arg.eti.br>\n"
 "Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
 "org>\n"
 "Language: pt_BR\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"pt_BR utf-8\n"
 
 #. Type: multiselect
 #. Choices
@@ -37,9 +38,9 @@
 "Locales are a framework to switch between multiple languages and allow users "
 "to use their language, country, characters, collation order, etc."
 msgstr ""
-"Locales são uma infra-estrutura para alternar entre múltiplos idiomas e "
-"permite aos usuários utilizar o seu idioma, país, caracteres, ordem de "
-"colação, etc."
+"Locales são uma infraestrutura para alternar entre múltiplos idiomas e "
+"permitem aos usuários utilizar o seu idioma, país, caracteres, ordenação, "
+"etc."
 
 #. Type: multiselect
 #. Description
@@ -88,7 +89,7 @@
 msgstr ""
 "Isto selecionará o idioma padrão para o sistema inteiro. Se este sistema é "
 "um sistema multiusuário no qual nem todos os usuários são capazes de falar o "
-"idioma padrão, eles vão enfrentar dificuldades."
+"idioma padrão, eles enfrentarão dificuldades."
 
 #. Type: boolean
 #. Description
@@ -108,12 +109,13 @@
 "yourself is xdm - because automatic restart might disconnect your active X11 "
 "sessions."
 msgstr ""
-"Serviços em execução e programas que usam NSS precisam ser reiniciados, caso "
-"contrário eles podem não ser capazes de realizar consultas ou autenticação. "
+"Serviços e programas em execução que usam NSS precisam ser reiniciados, caso "
+"contrário, eles podem não ser capazes de realizar consultas ou autenticação. "
 "O processo de instalação é capaz de reiniciar alguns desses serviços (como "
-"ssh, isto pode afetar sua habilidade de fazer login). Por favor, reveja a "
-"seguinte lista separada por espaços de scripts init.d que serão reiniciados "
-"agora, e corrija-a se necessário."
+"ssh ou telnetd), mas outros programas não podem ser reiniciados "
+"automaticamente. Um programa que precisa ser parado e reiniciado manualmente "
+"por você depois da atualização da glibc é o xdm - porque reiniciar "
+"automaticamente pode desconectar suas sessões ativas do X11."
 
 #. Type: boolean
 #. Description
@@ -139,8 +141,7 @@
 #. Description
 #: ../debhelper.in/libc.templates:2001
 msgid "Services to restart for GNU libc library upgrade:"
-msgstr ""
-"Serviços para reiniciar por causa da atualização da biblioteca GNU libc:"
+msgstr "Serviços a serem reiniciados para atualização da biblioteca GNU libc:"
 
 #. Type: string
 #. Description
@@ -152,11 +153,11 @@
 "review the following space-separated list of init.d scripts for services to "
 "be restarted now, and correct it if needed."
 msgstr ""
-"Serviços em execução e programas que usam NSS precisam ser reiniciados, caso "
-"contrário eles podem não ser capazes de realizar consultas ou autenticação "
+"Serviços e programas em execução que usam NSS precisam ser reiniciados, caso "
+"contrário, eles podem não ser capazes de realizar consultas ou autenticação "
 "(para serviços como ssh, isto pode afetar sua habilidade de fazer login). "
-"Por favor, reveja a seguinte lista separada por espaços de scripts init.d "
-"que serão reiniciados agora, e corrija se necessário."
+"Por favor, revise a seguinte lista separada por espaços de scripts init.d de "
+"serviços que serão reiniciados agora, e a corrija, se necessário."
 
 #. Type: string
 #. Description
@@ -171,8 +172,7 @@
 #. Description
 #: ../debhelper.in/libc.templates:3001
 msgid "Failure restarting some services for GNU libc upgrade"
-msgstr ""
-"Falha ao reiniciar alguns serviços por causa da atualização da GNU libc"
+msgstr "Falha ao reiniciar alguns serviços para atualização da GNU libc"
 
 #. Type: error
 #. Description
@@ -181,8 +181,8 @@
 "The following services could not be restarted for the GNU libc library "
 "upgrade:"
 msgstr ""
-"Os seguintes serviços não puderam ser reiniciados por causa da atualização "
-"da biblioteca GNU libc:"
+"Os seguintes serviços não puderam ser reiniciados para a atualização da "
+"biblioteca GNU libc:"
 
 #. Type: error
 #. Description
@@ -191,14 +191,14 @@
 "You will need to start these manually by running '/etc/init.d/<service> "
 "start'."
 msgstr ""
-"Você terá que iniciar esses serviços manualmente executando '/etc/init.d/"
-"<serviço> start'."
+"Você deverá iniciá-los manualmente executando \"/etc/init.d/<serviço> start"
+"\"."
 
 #. Type: error
 #. Description
 #: ../debhelper.in/libc.templates:4001
 msgid "xscreensaver and xlockmore must be restarted before upgrading"
-msgstr ""
+msgstr "xscreensaver e xlockmore devem ser reiniciados antes da atualização"
 
 #. Type: error
 #. Description
@@ -211,12 +211,18 @@
 "stopped before continuing this upgrade, to avoid locking your users out of "
 "their current sessions."
 msgstr ""
+"Uma ou mais instâncias do xscreensaver ou do xlockmore foram detectadas em "
+"execução neste sistema. Por causa de modificações incompatíveis de "
+"biblioteca, a atualização da biblioteca GNU libc impossibilitará você de se "
+"autenticar nestes programas. Você deve providenciar que estes programas "
+"sejam reiniciados ou parados antes de continuar com esta atualização, para "
+"evitar bloquear seus usuários fora de suas sessões atuais."
 
 #. Type: boolean
 #. Description
 #: ../debhelper.in/libc.templates:5001
 msgid "Restart services during package upgrades without asking?"
-msgstr ""
+msgstr "Reiniciar serviços durante a atualização de pacotes sem perguntar?"
 
 #. Type: boolean
 #. Description
@@ -230,3 +236,11 @@
 "necessary restarts will be done for you automatically so you can avoid being "
 "asked questions on each library upgrade."
 msgstr ""
+"Existem serviços instalados no seu sistema que precisam ser reiniciados "
+"quando determinadas bibliotecas, tais como libpam, libc e libssl são "
+"atualizadas. Uma vez que essas reinicializações podem causar interrupções de "
+"serviços para o sistema, normalmente você terá que responder a cada "
+"atualização qual será a lista de serviços que quiser reiniciar. Você pode "
+"escolher esta opção para evitar novas solicitações; ao invés disso, todas as "
+"reinicializações necessárias serão realizadas automaticamente, para evitar "
+"que você responda a cada atualização de biblioteca."

Modified: glibc-package/branches/glibc-2.22/debian/rules
===================================================================
--- glibc-package/branches/glibc-2.22/debian/rules	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/rules	2015-12-01 20:01:33 UTC (rev 6724)
@@ -182,15 +182,17 @@
 # Don't put debug files from these packages in libc-dbg
 NODEBUG_libc-bin = 1
 NODEBUG_libc-dev-bin = 1
+NODEBUG_libc0.1-i386 = 1
 NODEBUG_libc6-amd64 = 1
 NODEBUG_libc6-i386 = 1
 NODEBUG_libc6-x32 = 1
+NODEBUG_libc6-mips32 =1
+NODEBUG_libc6-mips64 = 1
 NODEBUG_libc6-mipsn32 = 1
 NODEBUG_libc6-powerpc = 1
 NODEBUG_libc6-ppc64 = 1
 NODEBUG_libc6-s390 = 1
 NODEBUG_libc6-sparc64 = 1
-NODEBUG_libc6-mips64 = 1
 NODEBUG_nscd = 1
 
 ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)

Modified: glibc-package/branches/glibc-2.22/debian/rules.d/build.mk
===================================================================
--- glibc-package/branches/glibc-2.22/debian/rules.d/build.mk	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/rules.d/build.mk	2015-12-01 20:01:33 UTC (rev 6724)
@@ -135,7 +135,7 @@
 	else \
 	  echo Testing $(curpass) / $(log_results); \
 	  find $(DEB_BUILDDIR) -name '*.out' -exec rm {} ';' ; \
-	  LD_PRELOAD="" LANG="" TIMEOUTFACTOR="50" $(MAKE) -C $(DEB_BUILDDIR) $(NJOBS) -k check 2>&1 | tee $(log_test); \
+	  LD_PRELOAD="" LANG="" TIMEOUTFACTOR="50" $(MAKE) -C $(DEB_BUILDDIR) $(NJOBS) check 2>&1 | tee $(log_test); \
 	  chmod +x debian/testsuite-checking/convertlog.sh ; \
 	  debian/testsuite-checking/convertlog.sh $(log_test) | tee $(log_results) ; \
 	  if test -f $(log_expected) ; then \

Modified: glibc-package/branches/glibc-2.22/debian/sysdeps/hurd-i386.mk
===================================================================
--- glibc-package/branches/glibc-2.22/debian/sysdeps/hurd-i386.mk	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/sysdeps/hurd-i386.mk	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,28 +1,27 @@
-# We use -march=i686 and glibc's i686 routines use cmov, so require it.
-# A Debian-local glibc patch adds cmov to the search path.
-GLIBC_PASSES += i686
-DEB_ARCH_REGULAR_PACKAGES += libc0.3-i686
-i686_add-ons = $(libc_add-ons)
-i686_configure_target=i686-gnu
-i686_extra_cflags = -march=i686 -mtune=generic
-i686_slibdir = /lib/$(DEB_HOST_MULTIARCH)/i686/cmov
-i686_extra_config_options = $(extra_config_options) --disable-compatible-utmp
-
-# We use -mno-tls-direct-seg-refs to not wrap-around segments, as it
-# greatly increase the speed when running under the 32bit Xen hypervisor.
-GLIBC_PASSES += xen
-DEB_ARCH_REGULAR_PACKAGES += libc0.3-xen
-xen_add-ons = $(libc_add-ons)
-xen_configure_target=i686-gnu
-xen_extra_cflags = -march=i686 -mtune=generic -mno-tls-direct-seg-refs
-xen_slibdir = /lib/$(DEB_HOST_MULTIARCH)/i686/nosegneg
-xen_extra_config_options = $(extra_config_options)
-
-ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
-define libc0.3-dev_extra_pkg_install
-mkdir -p debian/libc0.3-dev/$(libdir)/xen
-cp -af debian/tmp-xen/$(libdir)/*.a \
-	debian/libc0.3-dev/$(libdir)/xen
-endef
-endif
-
+## We use -march=i686 and glibc's i686 routines use cmov, so require it.
+## A Debian-local glibc patch adds cmov to the search path.
+#GLIBC_PASSES += i686
+#DEB_ARCH_REGULAR_PACKAGES += libc0.3-i686
+#i686_add-ons = $(libc_add-ons)
+#i686_configure_target=i686-gnu
+#i686_extra_cflags = -march=i686 -mtune=generic
+#i686_slibdir = /lib/$(DEB_HOST_MULTIARCH)/i686/cmov
+#i686_extra_config_options = $(extra_config_options) --disable-compatible-utmp
+#
+## We use -mno-tls-direct-seg-refs to not wrap-around segments, as it
+## greatly increase the speed when running under the 32bit Xen hypervisor.
+#GLIBC_PASSES += xen
+#DEB_ARCH_REGULAR_PACKAGES += libc0.3-xen
+#xen_add-ons = $(libc_add-ons)
+#xen_configure_target=i686-gnu
+#xen_extra_cflags = -march=i686 -mtune=generic -mno-tls-direct-seg-refs
+#xen_slibdir = /lib/$(DEB_HOST_MULTIARCH)/i686/nosegneg
+#xen_extra_config_options = $(extra_config_options)
+#
+#ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
+#define libc0.3-dev_extra_pkg_install
+#mkdir -p debian/libc0.3-dev/$(libdir)/xen
+#cp -af debian/tmp-xen/$(libdir)/*.a \
+#	debian/libc0.3-dev/$(libdir)/xen
+#endef
+#endif

Modified: glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-amd64.mk
===================================================================
--- glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-amd64.mk	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-amd64.mk	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,5 +1,5 @@
 # Main library
-extra_config_options = --disable-compatible-utmp --disable-multi-arch
+extra_config_options = --disable-compatible-utmp --disable-multi-arch --disable-werror
 
 # build 32-bit (i386) alternative library
 GLIBC_MULTILIB_PASSES += i386

Modified: glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-i386.mk
===================================================================
--- glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-i386.mk	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/sysdeps/kfreebsd-i386.mk	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,5 +1,5 @@
 # Main library
-extra_config_options = --disable-compatible-utmp --disable-multi-arch
+extra_config_options = --disable-compatible-utmp --disable-multi-arch --disable-werror
 
 # Build a 32-bit optimized library
 GLIBC_PASSES += i686

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-armel
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-armel	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-armel	2015-12-01 20:01:33 UTC (rev 6724)
@@ -10,6 +10,11 @@
 rt/tst-mqueue5
 rt/tst-timer
 posix/tst-waitid
+nptl/tst-stack4
 
 # This can be removed once bug#748616 is fixed
 math/basic-test
+
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-libc	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabi-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -10,6 +10,11 @@
 rt/tst-mqueue5
 rt/tst-timer
 posix/tst-waitid
+nptl/tst-stack4
 
 # This can be removed once bug#748616 is fixed
 math/basic-test
+
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabihf-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabihf-libc	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-arm-linux-gnueabihf-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -10,3 +10,8 @@
 rt/tst-mqueue5
 rt/tst-timer
 posix/tst-waitid
+nptl/tst-stack4
+
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-hppa-linux-gnu-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-hppa-linux-gnu-libc	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-hppa-linux-gnu-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,13 +1,69 @@
 #
 # Allowed failures for hppa-linux-gnu-libc
 #
-posix/annexc
+conform/POSIX2008/aio.h/conform
+conform/POSIX2008/mqueue.h/conform
+conform/POSIX2008/pthread.h/conform
+conform/POSIX2008/regex.h/conform
+conform/POSIX2008/semaphore.h/conform
+conform/POSIX2008/spawn.h/conform
+conform/POSIX2008/sys/mman.h/conform
+conform/POSIX2008/sys/types.h/conform
+conform/POSIX/aio.h/conform
+conform/POSIX/mqueue.h/conform
+conform/POSIX/pthread.h/conform
+conform/POSIX/regex.h/conform
+conform/POSIX/semaphore.h/conform
+conform/POSIX/signal.h/conform
+conform/POSIX/sys/mman.h/conform
+conform/POSIX/sys/types.h/conform
+conform/UNIX98/aio.h/conform
+conform/UNIX98/ftw.h/conform
+conform/UNIX98/mqueue.h/conform
+conform/UNIX98/pthread.h/conform
+conform/UNIX98/regex.h/conform
+conform/UNIX98/semaphore.h/conform
+conform/UNIX98/sys/mman.h/conform
+conform/UNIX98/sys/types.h/conform
+conform/UNIX98/sys/uio.h/conform
+conform/XOPEN2K8/aio.h/conform
+conform/XOPEN2K8/ftw.h/conform
+conform/XOPEN2K8/mqueue.h/conform
+conform/XOPEN2K8/pthread.h/conform
+conform/XOPEN2K8/regex.h/conform
+conform/XOPEN2K8/semaphore.h/conform
+conform/XOPEN2K8/spawn.h/conform
+conform/XOPEN2K8/stdlib.h/conform
+conform/XOPEN2K8/sys/mman.h/conform
+conform/XOPEN2K8/sys/types.h/conform
+conform/XOPEN2K8/sys/uio.h/conform
+conform/XOPEN2K/ftw.h/conform
+conform/XOPEN2K/pthread.h/conform
+conform/XOPEN2K/regex.h/conform
+conform/XOPEN2K/spawn.h/conform
+conform/XOPEN2K/stdlib.h/conform
+conform/XOPEN2K/sys/mman.h/conform
+conform/XOPEN2K/sys/types.h/conform
+conform/XOPEN2K/sys/uio.h/conform
+conform/XPG4/sys/mman.h/conform
+debug/tst-backtrace2
+debug/tst-backtrace3
+debug/tst-backtrace4
+debug/tst-backtrace5
+debug/tst-backtrace6
+debug/tst-longjmp_chk2
 elf/check-execstack
 elf/check-localplt
 elf/check-textrel
 elf/tst-addr1
 elf/tst-audit2
-debug/tst-backtrace2
+math/test-double
+math/test-float
+math/test-idouble
+math/test-ifloat
+nptl/tst-attr3
+nptl/tst-cancel4
+nptl/tst-cancel5
 nptl/tst-cancelx20
 nptl/tst-cancelx21
 nptl/tst-cancelx4
@@ -17,16 +73,11 @@
 rt/tst-cputimer1
 rt/tst-cputimer2
 rt/tst-cputimer3
-posix/tst-getcpu
-debug/tst-longjmp_chk
-rt/tst-mqueue3
-rt/tst-mqueue5
-rt/tst-timer4
-rt/tst-timer5
-posix/tst-waitid
+nptl/tst-stack1
+nptl/tst-stack4
+rt/tst-mqueue8
+rt/tst-mqueue8x
 
-# Should be removed when bug #582787 is fixed
-stdio-common/tstdiomisc
-
-# Should be removed when bug #561203 is fixed
-nptl/tst-fork1
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i586-kfreebsd-gnu-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i586-kfreebsd-gnu-libc	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i586-kfreebsd-gnu-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,92 +1,194 @@
 #
 # Allowed failures for i586-kfreebsd-gnu-libc
 #
-posix/annexc
 check-local-headers
-elf/check-localplt
-rt/tst-aio10
-rt/tst-aio4
-rt/tst-aio9
-debug/tst-backtrace4
-debug/tst-backtrace5
-debug/tst-backtrace6
+conform/ISO/ctype.h/conform
+conform/ISO/signal.h/conform
+conform/ISO/stdio.h/conform
+conform/ISO/time.h/conform
+conform/ISO11/ctype.h/conform
+conform/ISO11/signal.h/conform
+conform/ISO11/stdio.h/conform
+conform/ISO11/time.h/conform
+conform/ISO11/wctype.h/conform
+conform/ISO99/ctype.h/conform
+conform/ISO99/signal.h/conform
+conform/ISO99/stdio.h/conform
+conform/ISO99/time.h/conform
+conform/ISO99/wctype.h/conform
+conform/POSIX/aio.h/conform
+conform/POSIX/ctype.h/conform
+conform/POSIX/dirent.h/conform
+conform/POSIX/fcntl.h/conform
+conform/POSIX/grp.h/conform
+conform/POSIX/mqueue.h/conform
+conform/POSIX/pthread.h/conform
+conform/POSIX/pwd.h/conform
+conform/POSIX/regex.h/conform
+conform/POSIX/sched.h/conform
+conform/POSIX/semaphore.h/conform
+conform/POSIX/signal.h/conform
+conform/POSIX/stdio.h/conform
+conform/POSIX/sys/mman.h/conform
+conform/POSIX/sys/stat.h/conform
+conform/POSIX/sys/times.h/conform
+conform/POSIX/sys/types.h/conform
+conform/POSIX/time.h/conform
+conform/POSIX/unistd.h/conform
+conform/POSIX/utime.h/conform
+conform/POSIX2008/aio.h/conform
+conform/POSIX2008/ctype.h/conform
+conform/POSIX2008/dirent.h/conform
+conform/POSIX2008/errno.h/conform
+conform/POSIX2008/grp.h/conform
+conform/POSIX2008/monetary.h/conform
+conform/POSIX2008/mqueue.h/conform
+conform/POSIX2008/net/if.h/conform
+conform/POSIX2008/netinet/tcp.h/conform
+conform/POSIX2008/pthread.h/conform
+conform/POSIX2008/pwd.h/conform
+conform/POSIX2008/regex.h/conform
+conform/POSIX2008/sched.h/conform
+conform/POSIX2008/semaphore.h/conform
+conform/POSIX2008/spawn.h/conform
+conform/POSIX2008/stdio.h/conform
+conform/POSIX2008/sys/mman.h/conform
+conform/POSIX2008/sys/select.h/conform
+conform/POSIX2008/sys/stat.h/conform
+conform/POSIX2008/sys/statvfs.h/conform
+conform/POSIX2008/sys/times.h/conform
+conform/POSIX2008/sys/types.h/conform
+conform/POSIX2008/sys/un.h/conform
+conform/POSIX2008/termios.h/conform
+conform/POSIX2008/time.h/conform
+conform/POSIX2008/unistd.h/conform
+conform/POSIX2008/utime.h/conform
+conform/POSIX2008/wctype.h/conform
+conform/UNIX98/aio.h/conform
+conform/UNIX98/ctype.h/conform
+conform/UNIX98/dirent.h/conform
+conform/UNIX98/errno.h/conform
+conform/UNIX98/ftw.h/conform
+conform/UNIX98/grp.h/conform
+conform/UNIX98/monetary.h/conform
+conform/UNIX98/mqueue.h/conform
+conform/UNIX98/pthread.h/conform
+conform/UNIX98/pwd.h/conform
+conform/UNIX98/regex.h/conform
+conform/UNIX98/sched.h/conform
+conform/UNIX98/semaphore.h/conform
+conform/UNIX98/sys/mman.h/conform
+conform/UNIX98/sys/resource.h/conform
+conform/UNIX98/sys/stat.h/conform
+conform/UNIX98/sys/statvfs.h/conform
+conform/UNIX98/sys/timeb.h/conform
+conform/UNIX98/sys/times.h/conform
+conform/UNIX98/sys/types.h/conform
+conform/UNIX98/sys/uio.h/conform
+conform/UNIX98/sys/un.h/conform
+conform/UNIX98/termios.h/conform
+conform/UNIX98/time.h/conform
+conform/UNIX98/utime.h/conform
+conform/UNIX98/wchar.h/conform
+conform/UNIX98/wctype.h/conform
+conform/XOPEN2K/ctype.h/conform
+conform/XOPEN2K/dirent.h/conform
+conform/XOPEN2K/errno.h/conform
+conform/XOPEN2K/ftw.h/conform
+conform/XOPEN2K/grp.h/conform
+conform/XOPEN2K/monetary.h/conform
+conform/XOPEN2K/net/if.h/conform
+conform/XOPEN2K/netinet/tcp.h/conform
+conform/XOPEN2K/pthread.h/conform
+conform/XOPEN2K/pwd.h/conform
+conform/XOPEN2K/regex.h/conform
+conform/XOPEN2K/sched.h/conform
+conform/XOPEN2K/spawn.h/conform
+conform/XOPEN2K/stdlib.h/conform
+conform/XOPEN2K/sys/mman.h/conform
+conform/XOPEN2K/sys/resource.h/conform
+conform/XOPEN2K/sys/select.h/conform
+conform/XOPEN2K/sys/stat.h/conform
+conform/XOPEN2K/sys/statvfs.h/conform
+conform/XOPEN2K/sys/time.h/conform
+conform/XOPEN2K/sys/timeb.h/conform
+conform/XOPEN2K/sys/times.h/conform
+conform/XOPEN2K/sys/types.h/conform
+conform/XOPEN2K/sys/uio.h/conform
+conform/XOPEN2K/sys/un.h/conform
+conform/XOPEN2K/time.h/conform
+conform/XOPEN2K/unistd.h/conform
+conform/XOPEN2K/utime.h/conform
+conform/XOPEN2K/wchar.h/conform
+conform/XOPEN2K/wctype.h/conform
+conform/XOPEN2K8/aio.h/conform
+conform/XOPEN2K8/ctype.h/conform
+conform/XOPEN2K8/dirent.h/conform
+conform/XOPEN2K8/errno.h/conform
+conform/XOPEN2K8/ftw.h/conform
+conform/XOPEN2K8/grp.h/conform
+conform/XOPEN2K8/monetary.h/conform
+conform/XOPEN2K8/mqueue.h/conform
+conform/XOPEN2K8/net/if.h/conform
+conform/XOPEN2K8/netinet/tcp.h/conform
+conform/XOPEN2K8/pthread.h/conform
+conform/XOPEN2K8/pwd.h/conform
+conform/XOPEN2K8/regex.h/conform
+conform/XOPEN2K8/sched.h/conform
+conform/XOPEN2K8/semaphore.h/conform
+conform/XOPEN2K8/spawn.h/conform
+conform/XOPEN2K8/stdlib.h/conform
+conform/XOPEN2K8/sys/mman.h/conform
+conform/XOPEN2K8/sys/resource.h/conform
+conform/XOPEN2K8/sys/stat.h/conform
+conform/XOPEN2K8/sys/statvfs.h/conform
+conform/XOPEN2K8/sys/times.h/conform
+conform/XOPEN2K8/sys/types.h/conform
+conform/XOPEN2K8/sys/uio.h/conform
+conform/XOPEN2K8/sys/un.h/conform
+conform/XOPEN2K8/time.h/conform
+conform/XOPEN2K8/unistd.h/conform
+conform/XOPEN2K8/utime.h/conform
+conform/XOPEN2K8/wchar.h/conform
+conform/XOPEN2K8/wctype.h/conform
+conform/XPG3/ctype.h/conform
+conform/XPG3/dirent.h/conform
+conform/XPG3/errno.h/conform
+conform/XPG3/monetary.h/conform
+conform/XPG3/regex.h/conform
+conform/XPG3/sys/times.h/conform
+conform/XPG3/utime.h/conform
+conform/XPG4/ctype.h/conform
+conform/XPG4/dirent.h/conform
+conform/XPG4/errno.h/conform
+conform/XPG4/ftw.h/conform
+conform/XPG4/grp.h/conform
+conform/XPG4/monetary.h/conform
+conform/XPG4/pwd.h/conform
+conform/XPG4/regex.h/conform
+conform/XPG4/sys/mman.h/conform
+conform/XPG4/sys/resource.h/conform
+conform/XPG4/sys/statvfs.h/conform
+conform/XPG4/sys/timeb.h/conform
+conform/XPG4/sys/times.h/conform
+conform/XPG4/sys/uio.h/conform
+conform/XPG4/sys/un.h/conform
+conform/XPG4/time.h/conform
+conform/XPG4/utime.h/conform
 debug/tst-longjmp_chk
-io/tst-mknodat
 io/tst-renameat
-stdlib/tst-secure-getenv
-rt/tst-timer4
-rt/tst-timer5
 posix/tst-waitid
-#
-# will expectedly SIGSEGV on kfreebsd 10.0 and later, due to having
-# nxstack=1 by default (bug #762404)
-#
-elf/tst-execstack-needed
-elf/tst-execstack
-nptl/tst-execstack
-elf/tst-execstack-prog
-#
-# needs newer kernel - see #716746
-#
-rt/tst-cpuclock1
-rt/tst-cpuclock2
-rt/tst-cputimer1
-rt/tst-cputimer2
-rt/tst-cputimer3
-#
-# new in 2.19:
-#
-#   AT_EXECFN is unsupported
-elf/tst-auxv
-#   probably due to kernel
+rt/tst-aio10
+rt/tst-aio9
 rt/tst-shm
 #
-# fbtl, mainly unsupported PP, PI, ROBUST mutexes
+# fbtl
 #
-nptl/tst-attr2
-nptl/tst-attr3
-nptl/tst-cancel24-static
-nptl/tst-cancel7
-nptl/tst-cancelx7
-nptl/tst-cond-except
-nptl/tst-cond24
-nptl/tst-cond25
-nptl/tst-default-attr
-nptl/tst-getpid1
-nptl/tst-getpid2
-nptl/tst-mutexpi1
-nptl/tst-mutexpi2
-nptl/tst-mutexpi3
-nptl/tst-mutexpi4
-nptl/tst-mutexpi5
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi6
-nptl/tst-mutexpi7
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi8
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi9
-nptl/tst-pthread-attr-affinity
-nptl/tst-robust1
-nptl/tst-robust2
-nptl/tst-robust3
-nptl/tst-robust4
-nptl/tst-robust5
-nptl/tst-robust6
-nptl/tst-robust7
-nptl/tst-robust8
-nptl/tst-robust9
-nptl/tst-robustpi1
-nptl/tst-robustpi2
-nptl/tst-robustpi3
-nptl/tst-robustpi4
-nptl/tst-robustpi5
-nptl/tst-robustpi6
-nptl/tst-robustpi7
-nptl/tst-robustpi8
-nptl/tst-robustpi9
-elf/tst-tls6
-nptl/tst-tls6
+fbtl/tst-attr2
+fbtl/tst-attr3
+fbtl/tst-cancel7
+fbtl/tst-cancelx7
+fbtl/tst-cleanupx4
+fbtl/tst-default-attr
+fbtl/tst-getpid1
+fbtl/tst-getpid2

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i386
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i386	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i386	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,94 +1,194 @@
 #
 # Allowed failures for i686-kfreebsd-gnu-i386
 #
-posix/annexc
 check-local-headers
-elf/check-localplt
-inet/test-ifaddrs
-inet/test_ifindex
-rt/tst-aio10
-rt/tst-aio4
-rt/tst-aio9
-debug/tst-backtrace4
-debug/tst-backtrace5
-debug/tst-backtrace6
+conform/ISO/ctype.h/conform
+conform/ISO/signal.h/conform
+conform/ISO/stdio.h/conform
+conform/ISO/time.h/conform
+conform/ISO11/ctype.h/conform
+conform/ISO11/signal.h/conform
+conform/ISO11/stdio.h/conform
+conform/ISO11/time.h/conform
+conform/ISO11/wctype.h/conform
+conform/ISO99/ctype.h/conform
+conform/ISO99/signal.h/conform
+conform/ISO99/stdio.h/conform
+conform/ISO99/time.h/conform
+conform/ISO99/wctype.h/conform
+conform/POSIX/aio.h/conform
+conform/POSIX/ctype.h/conform
+conform/POSIX/dirent.h/conform
+conform/POSIX/fcntl.h/conform
+conform/POSIX/grp.h/conform
+conform/POSIX/mqueue.h/conform
+conform/POSIX/pthread.h/conform
+conform/POSIX/pwd.h/conform
+conform/POSIX/regex.h/conform
+conform/POSIX/sched.h/conform
+conform/POSIX/semaphore.h/conform
+conform/POSIX/signal.h/conform
+conform/POSIX/stdio.h/conform
+conform/POSIX/sys/mman.h/conform
+conform/POSIX/sys/stat.h/conform
+conform/POSIX/sys/times.h/conform
+conform/POSIX/sys/types.h/conform
+conform/POSIX/time.h/conform
+conform/POSIX/unistd.h/conform
+conform/POSIX/utime.h/conform
+conform/POSIX2008/aio.h/conform
+conform/POSIX2008/ctype.h/conform
+conform/POSIX2008/dirent.h/conform
+conform/POSIX2008/errno.h/conform
+conform/POSIX2008/grp.h/conform
+conform/POSIX2008/monetary.h/conform
+conform/POSIX2008/mqueue.h/conform
+conform/POSIX2008/net/if.h/conform
+conform/POSIX2008/netinet/tcp.h/conform
+conform/POSIX2008/pthread.h/conform
+conform/POSIX2008/pwd.h/conform
+conform/POSIX2008/regex.h/conform
+conform/POSIX2008/sched.h/conform
+conform/POSIX2008/semaphore.h/conform
+conform/POSIX2008/spawn.h/conform
+conform/POSIX2008/stdio.h/conform
+conform/POSIX2008/sys/mman.h/conform
+conform/POSIX2008/sys/select.h/conform
+conform/POSIX2008/sys/stat.h/conform
+conform/POSIX2008/sys/statvfs.h/conform
+conform/POSIX2008/sys/times.h/conform
+conform/POSIX2008/sys/types.h/conform
+conform/POSIX2008/sys/un.h/conform
+conform/POSIX2008/termios.h/conform
+conform/POSIX2008/time.h/conform
+conform/POSIX2008/unistd.h/conform
+conform/POSIX2008/utime.h/conform
+conform/POSIX2008/wctype.h/conform
+conform/UNIX98/aio.h/conform
+conform/UNIX98/ctype.h/conform
+conform/UNIX98/dirent.h/conform
+conform/UNIX98/errno.h/conform
+conform/UNIX98/ftw.h/conform
+conform/UNIX98/grp.h/conform
+conform/UNIX98/monetary.h/conform
+conform/UNIX98/mqueue.h/conform
+conform/UNIX98/pthread.h/conform
+conform/UNIX98/pwd.h/conform
+conform/UNIX98/regex.h/conform
+conform/UNIX98/sched.h/conform
+conform/UNIX98/semaphore.h/conform
+conform/UNIX98/sys/mman.h/conform
+conform/UNIX98/sys/resource.h/conform
+conform/UNIX98/sys/stat.h/conform
+conform/UNIX98/sys/statvfs.h/conform
+conform/UNIX98/sys/timeb.h/conform
+conform/UNIX98/sys/times.h/conform
+conform/UNIX98/sys/types.h/conform
+conform/UNIX98/sys/uio.h/conform
+conform/UNIX98/sys/un.h/conform
+conform/UNIX98/termios.h/conform
+conform/UNIX98/time.h/conform
+conform/UNIX98/utime.h/conform
+conform/UNIX98/wchar.h/conform
+conform/UNIX98/wctype.h/conform
+conform/XOPEN2K/ctype.h/conform
+conform/XOPEN2K/dirent.h/conform
+conform/XOPEN2K/errno.h/conform
+conform/XOPEN2K/ftw.h/conform
+conform/XOPEN2K/grp.h/conform
+conform/XOPEN2K/monetary.h/conform
+conform/XOPEN2K/net/if.h/conform
+conform/XOPEN2K/netinet/tcp.h/conform
+conform/XOPEN2K/pthread.h/conform
+conform/XOPEN2K/pwd.h/conform
+conform/XOPEN2K/regex.h/conform
+conform/XOPEN2K/sched.h/conform
+conform/XOPEN2K/spawn.h/conform
+conform/XOPEN2K/stdlib.h/conform
+conform/XOPEN2K/sys/mman.h/conform
+conform/XOPEN2K/sys/resource.h/conform
+conform/XOPEN2K/sys/select.h/conform
+conform/XOPEN2K/sys/stat.h/conform
+conform/XOPEN2K/sys/statvfs.h/conform
+conform/XOPEN2K/sys/time.h/conform
+conform/XOPEN2K/sys/timeb.h/conform
+conform/XOPEN2K/sys/times.h/conform
+conform/XOPEN2K/sys/types.h/conform
+conform/XOPEN2K/sys/uio.h/conform
+conform/XOPEN2K/sys/un.h/conform
+conform/XOPEN2K/time.h/conform
+conform/XOPEN2K/unistd.h/conform
+conform/XOPEN2K/utime.h/conform
+conform/XOPEN2K/wchar.h/conform
+conform/XOPEN2K/wctype.h/conform
+conform/XOPEN2K8/aio.h/conform
+conform/XOPEN2K8/ctype.h/conform
+conform/XOPEN2K8/dirent.h/conform
+conform/XOPEN2K8/errno.h/conform
+conform/XOPEN2K8/ftw.h/conform
+conform/XOPEN2K8/grp.h/conform
+conform/XOPEN2K8/monetary.h/conform
+conform/XOPEN2K8/mqueue.h/conform
+conform/XOPEN2K8/net/if.h/conform
+conform/XOPEN2K8/netinet/tcp.h/conform
+conform/XOPEN2K8/pthread.h/conform
+conform/XOPEN2K8/pwd.h/conform
+conform/XOPEN2K8/regex.h/conform
+conform/XOPEN2K8/sched.h/conform
+conform/XOPEN2K8/semaphore.h/conform
+conform/XOPEN2K8/spawn.h/conform
+conform/XOPEN2K8/stdlib.h/conform
+conform/XOPEN2K8/sys/mman.h/conform
+conform/XOPEN2K8/sys/resource.h/conform
+conform/XOPEN2K8/sys/stat.h/conform
+conform/XOPEN2K8/sys/statvfs.h/conform
+conform/XOPEN2K8/sys/times.h/conform
+conform/XOPEN2K8/sys/types.h/conform
+conform/XOPEN2K8/sys/uio.h/conform
+conform/XOPEN2K8/sys/un.h/conform
+conform/XOPEN2K8/time.h/conform
+conform/XOPEN2K8/unistd.h/conform
+conform/XOPEN2K8/utime.h/conform
+conform/XOPEN2K8/wchar.h/conform
+conform/XOPEN2K8/wctype.h/conform
+conform/XPG3/ctype.h/conform
+conform/XPG3/dirent.h/conform
+conform/XPG3/errno.h/conform
+conform/XPG3/monetary.h/conform
+conform/XPG3/regex.h/conform
+conform/XPG3/sys/times.h/conform
+conform/XPG3/utime.h/conform
+conform/XPG4/ctype.h/conform
+conform/XPG4/dirent.h/conform
+conform/XPG4/errno.h/conform
+conform/XPG4/ftw.h/conform
+conform/XPG4/grp.h/conform
+conform/XPG4/monetary.h/conform
+conform/XPG4/pwd.h/conform
+conform/XPG4/regex.h/conform
+conform/XPG4/sys/mman.h/conform
+conform/XPG4/sys/resource.h/conform
+conform/XPG4/sys/statvfs.h/conform
+conform/XPG4/sys/timeb.h/conform
+conform/XPG4/sys/times.h/conform
+conform/XPG4/sys/uio.h/conform
+conform/XPG4/sys/un.h/conform
+conform/XPG4/time.h/conform
+conform/XPG4/utime.h/conform
 debug/tst-longjmp_chk
-io/tst-mknodat
 io/tst-renameat
-stdlib/tst-secure-getenv
-rt/tst-timer4
-rt/tst-timer5
 posix/tst-waitid
-#
-# will expectedly SIGSEGV on kfreebsd 10.0 and later, due to having
-# nxstack=1 by default (bug #762404)
-#
-elf/tst-execstack-needed
-elf/tst-execstack
-nptl/tst-execstack
-elf/tst-execstack-prog
-#
-# needs newer kernel - see #716746
-#
-rt/tst-cpuclock1
-rt/tst-cpuclock2
-rt/tst-cputimer1
-rt/tst-cputimer2
-rt/tst-cputimer3
-#
-# new in 2.19:
-#
-#   AT_EXECFN is unsupported
-elf/tst-auxv
-#   probably due to kernel
+rt/tst-aio10
+rt/tst-aio9
 rt/tst-shm
 #
-# fbtl, mainly unsupported PP, PI, ROBUST mutexes
+# fbtl
 #
-nptl/tst-attr2
-nptl/tst-attr3
-nptl/tst-cancel24-static
-nptl/tst-cancel7
-nptl/tst-cancelx7
-nptl/tst-cond-except
-nptl/tst-cond24
-nptl/tst-cond25
-nptl/tst-default-attr
-nptl/tst-getpid1
-nptl/tst-getpid2
-nptl/tst-mutexpi1
-nptl/tst-mutexpi2
-nptl/tst-mutexpi3
-nptl/tst-mutexpi4
-nptl/tst-mutexpi5
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi6
-nptl/tst-mutexpi7
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi8
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi9
-nptl/tst-pthread-attr-affinity
-nptl/tst-robust1
-nptl/tst-robust2
-nptl/tst-robust3
-nptl/tst-robust4
-nptl/tst-robust5
-nptl/tst-robust6
-nptl/tst-robust7
-nptl/tst-robust8
-nptl/tst-robust9
-nptl/tst-robustpi1
-nptl/tst-robustpi2
-nptl/tst-robustpi3
-nptl/tst-robustpi4
-nptl/tst-robustpi5
-nptl/tst-robustpi6
-nptl/tst-robustpi7
-nptl/tst-robustpi8
-nptl/tst-robustpi9
-elf/tst-tls6
-nptl/tst-tls6
+fbtl/tst-attr2
+fbtl/tst-attr3
+fbtl/tst-cancel7
+fbtl/tst-cancelx7
+fbtl/tst-cleanupx4
+fbtl/tst-default-attr
+fbtl/tst-getpid1
+fbtl/tst-getpid2

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i686
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i686	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-i686-kfreebsd-gnu-i686	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,92 +1,194 @@
 #
 # Allowed failures for i686-kfreebsd-gnu-i686
 #
-posix/annexc
 check-local-headers
-elf/check-localplt
-rt/tst-aio10
-rt/tst-aio4
-rt/tst-aio9
-debug/tst-backtrace4
-debug/tst-backtrace5
-debug/tst-backtrace6
+conform/ISO/ctype.h/conform
+conform/ISO/signal.h/conform
+conform/ISO/stdio.h/conform
+conform/ISO/time.h/conform
+conform/ISO11/ctype.h/conform
+conform/ISO11/signal.h/conform
+conform/ISO11/stdio.h/conform
+conform/ISO11/time.h/conform
+conform/ISO11/wctype.h/conform
+conform/ISO99/ctype.h/conform
+conform/ISO99/signal.h/conform
+conform/ISO99/stdio.h/conform
+conform/ISO99/time.h/conform
+conform/ISO99/wctype.h/conform
+conform/POSIX/aio.h/conform
+conform/POSIX/ctype.h/conform
+conform/POSIX/dirent.h/conform
+conform/POSIX/fcntl.h/conform
+conform/POSIX/grp.h/conform
+conform/POSIX/mqueue.h/conform
+conform/POSIX/pthread.h/conform
+conform/POSIX/pwd.h/conform
+conform/POSIX/regex.h/conform
+conform/POSIX/sched.h/conform
+conform/POSIX/semaphore.h/conform
+conform/POSIX/signal.h/conform
+conform/POSIX/stdio.h/conform
+conform/POSIX/sys/mman.h/conform
+conform/POSIX/sys/stat.h/conform
+conform/POSIX/sys/times.h/conform
+conform/POSIX/sys/types.h/conform
+conform/POSIX/time.h/conform
+conform/POSIX/unistd.h/conform
+conform/POSIX/utime.h/conform
+conform/POSIX2008/aio.h/conform
+conform/POSIX2008/ctype.h/conform
+conform/POSIX2008/dirent.h/conform
+conform/POSIX2008/errno.h/conform
+conform/POSIX2008/grp.h/conform
+conform/POSIX2008/monetary.h/conform
+conform/POSIX2008/mqueue.h/conform
+conform/POSIX2008/net/if.h/conform
+conform/POSIX2008/netinet/tcp.h/conform
+conform/POSIX2008/pthread.h/conform
+conform/POSIX2008/pwd.h/conform
+conform/POSIX2008/regex.h/conform
+conform/POSIX2008/sched.h/conform
+conform/POSIX2008/semaphore.h/conform
+conform/POSIX2008/spawn.h/conform
+conform/POSIX2008/stdio.h/conform
+conform/POSIX2008/sys/mman.h/conform
+conform/POSIX2008/sys/select.h/conform
+conform/POSIX2008/sys/stat.h/conform
+conform/POSIX2008/sys/statvfs.h/conform
+conform/POSIX2008/sys/times.h/conform
+conform/POSIX2008/sys/types.h/conform
+conform/POSIX2008/sys/un.h/conform
+conform/POSIX2008/termios.h/conform
+conform/POSIX2008/time.h/conform
+conform/POSIX2008/unistd.h/conform
+conform/POSIX2008/utime.h/conform
+conform/POSIX2008/wctype.h/conform
+conform/UNIX98/aio.h/conform
+conform/UNIX98/ctype.h/conform
+conform/UNIX98/dirent.h/conform
+conform/UNIX98/errno.h/conform
+conform/UNIX98/ftw.h/conform
+conform/UNIX98/grp.h/conform
+conform/UNIX98/monetary.h/conform
+conform/UNIX98/mqueue.h/conform
+conform/UNIX98/pthread.h/conform
+conform/UNIX98/pwd.h/conform
+conform/UNIX98/regex.h/conform
+conform/UNIX98/sched.h/conform
+conform/UNIX98/semaphore.h/conform
+conform/UNIX98/sys/mman.h/conform
+conform/UNIX98/sys/resource.h/conform
+conform/UNIX98/sys/stat.h/conform
+conform/UNIX98/sys/statvfs.h/conform
+conform/UNIX98/sys/timeb.h/conform
+conform/UNIX98/sys/times.h/conform
+conform/UNIX98/sys/types.h/conform
+conform/UNIX98/sys/uio.h/conform
+conform/UNIX98/sys/un.h/conform
+conform/UNIX98/termios.h/conform
+conform/UNIX98/time.h/conform
+conform/UNIX98/utime.h/conform
+conform/UNIX98/wchar.h/conform
+conform/UNIX98/wctype.h/conform
+conform/XOPEN2K/ctype.h/conform
+conform/XOPEN2K/dirent.h/conform
+conform/XOPEN2K/errno.h/conform
+conform/XOPEN2K/ftw.h/conform
+conform/XOPEN2K/grp.h/conform
+conform/XOPEN2K/monetary.h/conform
+conform/XOPEN2K/net/if.h/conform
+conform/XOPEN2K/netinet/tcp.h/conform
+conform/XOPEN2K/pthread.h/conform
+conform/XOPEN2K/pwd.h/conform
+conform/XOPEN2K/regex.h/conform
+conform/XOPEN2K/sched.h/conform
+conform/XOPEN2K/spawn.h/conform
+conform/XOPEN2K/stdlib.h/conform
+conform/XOPEN2K/sys/mman.h/conform
+conform/XOPEN2K/sys/resource.h/conform
+conform/XOPEN2K/sys/select.h/conform
+conform/XOPEN2K/sys/stat.h/conform
+conform/XOPEN2K/sys/statvfs.h/conform
+conform/XOPEN2K/sys/time.h/conform
+conform/XOPEN2K/sys/timeb.h/conform
+conform/XOPEN2K/sys/times.h/conform
+conform/XOPEN2K/sys/types.h/conform
+conform/XOPEN2K/sys/uio.h/conform
+conform/XOPEN2K/sys/un.h/conform
+conform/XOPEN2K/time.h/conform
+conform/XOPEN2K/unistd.h/conform
+conform/XOPEN2K/utime.h/conform
+conform/XOPEN2K/wchar.h/conform
+conform/XOPEN2K/wctype.h/conform
+conform/XOPEN2K8/aio.h/conform
+conform/XOPEN2K8/ctype.h/conform
+conform/XOPEN2K8/dirent.h/conform
+conform/XOPEN2K8/errno.h/conform
+conform/XOPEN2K8/ftw.h/conform
+conform/XOPEN2K8/grp.h/conform
+conform/XOPEN2K8/monetary.h/conform
+conform/XOPEN2K8/mqueue.h/conform
+conform/XOPEN2K8/net/if.h/conform
+conform/XOPEN2K8/netinet/tcp.h/conform
+conform/XOPEN2K8/pthread.h/conform
+conform/XOPEN2K8/pwd.h/conform
+conform/XOPEN2K8/regex.h/conform
+conform/XOPEN2K8/sched.h/conform
+conform/XOPEN2K8/semaphore.h/conform
+conform/XOPEN2K8/spawn.h/conform
+conform/XOPEN2K8/stdlib.h/conform
+conform/XOPEN2K8/sys/mman.h/conform
+conform/XOPEN2K8/sys/resource.h/conform
+conform/XOPEN2K8/sys/stat.h/conform
+conform/XOPEN2K8/sys/statvfs.h/conform
+conform/XOPEN2K8/sys/times.h/conform
+conform/XOPEN2K8/sys/types.h/conform
+conform/XOPEN2K8/sys/uio.h/conform
+conform/XOPEN2K8/sys/un.h/conform
+conform/XOPEN2K8/time.h/conform
+conform/XOPEN2K8/unistd.h/conform
+conform/XOPEN2K8/utime.h/conform
+conform/XOPEN2K8/wchar.h/conform
+conform/XOPEN2K8/wctype.h/conform
+conform/XPG3/ctype.h/conform
+conform/XPG3/dirent.h/conform
+conform/XPG3/errno.h/conform
+conform/XPG3/monetary.h/conform
+conform/XPG3/regex.h/conform
+conform/XPG3/sys/times.h/conform
+conform/XPG3/utime.h/conform
+conform/XPG4/ctype.h/conform
+conform/XPG4/dirent.h/conform
+conform/XPG4/errno.h/conform
+conform/XPG4/ftw.h/conform
+conform/XPG4/grp.h/conform
+conform/XPG4/monetary.h/conform
+conform/XPG4/pwd.h/conform
+conform/XPG4/regex.h/conform
+conform/XPG4/sys/mman.h/conform
+conform/XPG4/sys/resource.h/conform
+conform/XPG4/sys/statvfs.h/conform
+conform/XPG4/sys/timeb.h/conform
+conform/XPG4/sys/times.h/conform
+conform/XPG4/sys/uio.h/conform
+conform/XPG4/sys/un.h/conform
+conform/XPG4/time.h/conform
+conform/XPG4/utime.h/conform
 debug/tst-longjmp_chk
-io/tst-mknodat
 io/tst-renameat
-stdlib/tst-secure-getenv
-rt/tst-timer4
-rt/tst-timer5
 posix/tst-waitid
-#
-# will expectedly SIGSEGV on kfreebsd 10.0 and later, due to having
-# nxstack=1 by default (bug #762404)
-#
-elf/tst-execstack-needed
-elf/tst-execstack
-nptl/tst-execstack
-elf/tst-execstack-prog
-#
-# needs newer kernel - see #716746
-#
-rt/tst-cpuclock1
-rt/tst-cpuclock2
-rt/tst-cputimer1
-rt/tst-cputimer2
-rt/tst-cputimer3
-#
-# new in 2.19:
-#
-#   AT_EXECFN is unsupported
-elf/tst-auxv
-#   probably due to kernel
+rt/tst-aio10
+rt/tst-aio9
 rt/tst-shm
 #
-# fbtl, mainly unsupported PP, PI, ROBUST mutexes
+# fbtl
 #
-nptl/tst-attr2
-nptl/tst-attr3
-nptl/tst-cancel24-static
-nptl/tst-cancel7
-nptl/tst-cancelx7
-nptl/tst-cond-except
-nptl/tst-cond24
-nptl/tst-cond25
-nptl/tst-default-attr
-nptl/tst-getpid1
-nptl/tst-getpid2
-nptl/tst-mutexpi1
-nptl/tst-mutexpi2
-nptl/tst-mutexpi3
-nptl/tst-mutexpi4
-nptl/tst-mutexpi5
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi6
-nptl/tst-mutexpi7
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi8
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi9
-nptl/tst-pthread-attr-affinity
-nptl/tst-robust1
-nptl/tst-robust2
-nptl/tst-robust3
-nptl/tst-robust4
-nptl/tst-robust5
-nptl/tst-robust6
-nptl/tst-robust7
-nptl/tst-robust8
-nptl/tst-robust9
-nptl/tst-robustpi1
-nptl/tst-robustpi2
-nptl/tst-robustpi3
-nptl/tst-robustpi4
-nptl/tst-robustpi5
-nptl/tst-robustpi6
-nptl/tst-robustpi7
-nptl/tst-robustpi8
-nptl/tst-robustpi9
-elf/tst-tls6
-nptl/tst-tls6
+fbtl/tst-attr2
+fbtl/tst-attr3
+fbtl/tst-cancel7
+fbtl/tst-cancelx7
+fbtl/tst-cleanupx4
+fbtl/tst-default-attr
+fbtl/tst-getpid1
+fbtl/tst-getpid2

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips-linux-gnu-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips-linux-gnu-libc	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips-linux-gnu-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -13,6 +13,7 @@
 elf/tst-audit8
 elf/tst-audit9
 nptl/tst-cond16
+nptl/tst-stack4
 posix/annexc
 posix/tst-waitid
 rt/tst-cpuclock2
@@ -20,3 +21,7 @@
 rt/tst-mqueue5
 rt/tst-timer
 stdio-common/bug22
+
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32-linux-gnu-mipsn32
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32-linux-gnu-mipsn32	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32-linux-gnu-mipsn32	2015-12-01 20:01:33 UTC (rev 6724)
@@ -9,6 +9,7 @@
 elf/tst-audit9
 math/test-misc
 nptl/tst-cond16
+nptl/tst-stack4
 posix/annexc
 posix/tst-waitid
 rt/tst-cpuclock2

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32el-linux-gnu-mipsn32
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32el-linux-gnu-mipsn32	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips32el-linux-gnu-mipsn32	2015-12-01 20:01:33 UTC (rev 6724)
@@ -12,6 +12,7 @@
 math/test-idouble
 math/test-misc
 nptl/tst-cond16
+nptl/tst-stack4
 posix/annexc
 posix/tst-waitid
 rt/tst-cpuclock2

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64-linux-gnu-mips64
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64-linux-gnu-mips64	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64-linux-gnu-mips64	2015-12-01 20:01:33 UTC (rev 6724)
@@ -10,6 +10,7 @@
 math/test-misc
 misc/tst-writev
 nptl/tst-cond16
+nptl/tst-stack4
 posix/annexc
 posix/tst-waitid
 rt/tst-cpuclock2

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnu-mips64
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnu-mips64	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnu-mips64	2015-12-01 20:01:33 UTC (rev 6724)
@@ -11,6 +11,7 @@
 math/test-misc
 misc/tst-writev
 nptl/tst-cond16
+nptl/tst-stack4
 posix/annexc
 posix/tst-waitid
 rt/tst-cpuclock2
@@ -18,3 +19,7 @@
 rt/tst-mqueue5
 rt/tst-timer
 stdio-common/bug22
+
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Added: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabi64-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabi64-libc	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabi64-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,20 @@
+#
+# Allowed failures for mips64el-linux-gnuabi64-libc
+#
+elf/check-execstack
+elf/check-localplt
+elf/tst-audit1
+elf/tst-audit2
+elf/tst-audit8
+elf/tst-audit9
+nptl/tst-cond16
+nptl/tst-stack4
+posix/tst-waitid
+rt/tst-cpuclock2
+rt/tst-cputimer1
+rt/tst-mqueue5
+rt/tst-timer
+
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Added: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabin32-mipsn32
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabin32-mipsn32	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mips64el-linux-gnuabin32-mipsn32	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,22 @@
+#
+# Allowed failures for mips64el-linux-gnuabin32-mipsn32
+#
+elf/check-execstack
+elf/check-localplt
+elf/tst-audit1
+elf/tst-audit2
+elf/tst-audit8
+elf/tst-audit9
+math/test-double
+math/test-fenv
+math/test-idouble
+math/test-misc
+nptl/tst-cond16
+nptl/tst-stack4
+posix/annexc
+posix/tst-waitid
+rt/tst-cpuclock2
+rt/tst-cputimer1
+rt/tst-mqueue5
+rt/tst-timer
+stdio-common/bug22

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-libc	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -14,6 +14,7 @@
 elf/tst-audit9
 math/test-fenv
 nptl/tst-cond16
+nptl/tst-stack4
 posix/annexc
 posix/tst-waitid
 rt/tst-cpuclock2
@@ -22,6 +23,6 @@
 rt/tst-timer
 stdio-common/bug22
 
-# These can be removed once bug#781892 is fixed and the kernel deployed on all buildds
-math/test-float
-math/test-ifloat
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Added: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-mips32
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-mips32	                        (rev 0)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-mipsel-linux-gnu-mips32	2015-12-01 20:01:33 UTC (rev 6724)
@@ -0,0 +1,28 @@
+#
+# Allowed failures for mipsel-linux-gnu-mips32
+#
+conform/POSIX2008/sys/stat.h/conform
+conform/POSIX/sys/stat.h/conform
+conform/UNIX98/sys/stat.h/conform
+conform/XOPEN2K8/sys/stat.h/conform
+conform/XOPEN2K/sys/stat.h/conform
+elf/check-execstack
+elf/check-localplt
+elf/tst-audit1
+elf/tst-audit2
+elf/tst-audit8
+elf/tst-audit9
+math/test-fenv
+nptl/tst-cond16
+nptl/tst-stack4
+posix/annexc
+posix/tst-waitid
+rt/tst-cpuclock2
+rt/tst-cputimer1
+rt/tst-mqueue5
+rt/tst-timer
+stdio-common/bug22
+
+# This is an upstream regression on multiple architectures
+# see https://sourceware.org/bugzilla/show_bug.cgi?id=19303
+nptl/tst-cancel24-static

Modified: glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-x86_64-kfreebsd-gnu-libc
===================================================================
--- glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-x86_64-kfreebsd-gnu-libc	2015-12-01 08:50:54 UTC (rev 6723)
+++ glibc-package/branches/glibc-2.22/debian/testsuite-checking/expected-results-x86_64-kfreebsd-gnu-libc	2015-12-01 20:01:33 UTC (rev 6724)
@@ -1,93 +1,202 @@
 #
 # Allowed failures for x86_64-kfreebsd-gnu-libc
 #
-posix/annexc
 check-local-headers
-elf/check-localplt
-rt/tst-aio10
-rt/tst-aio4
-rt/tst-aio9
-debug/tst-backtrace4
-debug/tst-backtrace5
-debug/tst-backtrace6
+conform/ISO/ctype.h/conform
+conform/ISO/signal.h/conform
+conform/ISO/stdio.h/conform
+conform/ISO/time.h/conform
+conform/ISO11/ctype.h/conform
+conform/ISO11/signal.h/conform
+conform/ISO11/stdio.h/conform
+conform/ISO11/time.h/conform
+conform/ISO11/wctype.h/conform
+conform/ISO99/ctype.h/conform
+conform/ISO99/signal.h/conform
+conform/ISO99/stdio.h/conform
+conform/ISO99/time.h/conform
+conform/ISO99/wctype.h/conform
+conform/POSIX/aio.h/conform
+conform/POSIX/ctype.h/conform
+conform/POSIX/dirent.h/conform
+conform/POSIX/fcntl.h/conform
+conform/POSIX/grp.h/conform
+conform/POSIX/mqueue.h/conform
+conform/POSIX/pthread.h/conform
+conform/POSIX/pwd.h/conform
+conform/POSIX/regex.h/conform
+conform/POSIX/sched.h/conform
+conform/POSIX/semaphore.h/conform
+conform/POSIX/signal.h/conform
+conform/POSIX/stdio.h/conform
+conform/POSIX/sys/mman.h/conform
+conform/POSIX/sys/stat.h/conform
+conform/POSIX/sys/times.h/conform
+conform/POSIX/sys/types.h/conform
+conform/POSIX/time.h/conform
+conform/POSIX/unistd.h/conform
+conform/POSIX/utime.h/conform
+conform/POSIX2008/aio.h/conform
+conform/POSIX2008/ctype.h/conform
+conform/POSIX2008/dirent.h/conform
+conform/POSIX2008/errno.h/conform
+conform/POSIX2008/grp.h/conform
+conform/POSIX2008/monetary.h/conform
+conform/POSIX2008/mqueue.h/conform
+conform/POSIX2008/net/if.h/conform
+conform/POSIX2008/netinet/tcp.h/conform
+conform/POSIX2008/pthread.h/conform
+conform/POSIX2008/pwd.h/conform
+conform/POSIX2008/regex.h/conform
+conform/POSIX2008/sched.h/conform
+conform/POSIX2008/semaphore.h/conform
+conform/POSIX2008/spawn.h/conform
+conform/POSIX2008/stdio.h/conform
+conform/POSIX2008/sys/mman.h/conform
+conform/POSIX2008/sys/select.h/conform
+conform/POSIX2008/sys/stat.h/conform
+conform/POSIX2008/sys/statvfs.h/conform
+conform/POSIX2008/sys/times.h/conform
+conform/POSIX2008/sys/types.h/conform
+conform/POSIX2008/sys/un.h/conform
+conform/POSIX2008/termios.h/conform
+conform/POSIX2008/time.h/conform
+conform/POSIX2008/unistd.h/conform
+conform/POSIX2008/utime.h/conform
+conform/POSIX2008/wctype.h/conform
+conform/UNIX98/aio.h/conform
+conform/UNIX98/ctype.h/conform
+conform/UNIX98/dirent.h/conform
+conform/UNIX98/errno.h/conform
+conform/UNIX98/ftw.h/conform
+conform/UNIX98/grp.h/conform
+conform/UNIX98/monetary.h/conform
+conform/UNIX98/mqueue.h/conform
+conform/UNIX98/pthread.h/conform
+conform/UNIX98/pwd.h/conform
+conform/UNIX98/regex.h/conform
+conform/UNIX98/sched.h/conform
+conform/UNIX98/semaphore.h/conform
+conform/UNIX98/sys/mman.h/conform
+conform/UNIX98/sys/resource.h/conform
+conform/UNIX98/sys/stat.h/conform
+conform/UNIX98/sys/statvfs.h/conform
+conform/UNIX98/sys/timeb.h/conform
+conform/UNIX98/sys/times.h/conform
+conform/UNIX98/sys/types.h/conform
+conform/UNIX98/sys/uio.h/conform
+conform/UNIX98/sys/un.h/conform
+conform/UNIX98/termios.h/conform
+conform/UNIX98/time.h/conform
+conform/UNIX98/utime.h/conform
+conform/UNIX98/wchar.h/conform
+conform/UNIX98/wctype.h/conform
+conform/XOPEN2K/ctype.h/conform
+conform/XOPEN2K/dirent.h/conform
+conform/XOPEN2K/errno.h/conform
+conform/XOPEN2K/ftw.h/conform
+conform/XOPEN2K/grp.h/conform
+conform/XOPEN2K/monetary.h/conform
+conform/XOPEN2K/net/if.h/conform
+conform/XOPEN2K/netinet/tcp.h/conform
+conform/XOPEN2K/pthread.h/conform
+conform/XOPEN2K/pwd.h/conform
+conform/XOPEN2K/regex.h/conform
+conform/XOPEN2K/sched.h/conform
+conform/XOPEN2K/spawn.h/conform
+conform/XOPEN2K/stdlib.h/conform
+conform/XOPEN2K/sys/mman.h/conform
+conform/XOPEN2K/sys/resource.h/conform
+conform/XOPEN2K/sys/select.h/conform
+conform/XOPEN2K/sys/stat.h/conform
+conform/XOPEN2K/sys/statvfs.h/conform
+conform/XOPEN2K/sys/time.h/conform
+conform/XOPEN2K/sys/timeb.h/conform
+conform/XOPEN2K/sys/times.h/conform
+conform/XOPEN2K/sys/types.h/conform
+conform/XOPEN2K/sys/uio.h/conform
+conform/XOPEN2K/sys/un.h/conform
+conform/XOPEN2K/time.h/conform
+conform/XOPEN2K/unistd.h/conform
+conform/XOPEN2K/utime.h/conform
+conform/XOPEN2K/wchar.h/conform
+conform/XOPEN2K/wctype.h/conform
+conform/XOPEN2K8/aio.h/conform
+conform/XOPEN2K8/ctype.h/conform
+conform/XOPEN2K8/dirent.h/conform
+conform/XOPEN2K8/errno.h/conform
+conform/XOPEN2K8/ftw.h/conform
+conform/XOPEN2K8/grp.h/conform
+conform/XOPEN2K8/monetary.h/conform
+conform/XOPEN2K8/mqueue.h/conform
+conform/XOPEN2K8/net/if.h/conform
+conform/XOPEN2K8/netinet/tcp.h/conform
+conform/XOPEN2K8/pthread.h/conform
+conform/XOPEN2K8/pwd.h/conform
+conform/XOPEN2K8/regex.h/conform
+conform/XOPEN2K8/sched.h/conform
+conform/XOPEN2K8/semaphore.h/conform
+conform/XOPEN2K8/spawn.h/conform
+conform/XOPEN2K8/stdlib.h/conform
+conform/XOPEN2K8/sys/mman.h/conform
+conform/XOPEN2K8/sys/resource.h/conform
+conform/XOPEN2K8/sys/stat.h/conform
+conform/XOPEN2K8/sys/statvfs.h/conform
+conform/XOPEN2K8/sys/times.h/conform
+conform/XOPEN2K8/sys/types.h/conform
+conform/XOPEN2K8/sys/uio.h/conform
+conform/XOPEN2K8/sys/un.h/conform
+conform/XOPEN2K8/time.h/conform
+conform/XOPEN2K8/unistd.h/conform
+conform/XOPEN2K8/utime.h/conform
+conform/XOPEN2K8/wchar.h/conform
+conform/XOPEN2K8/wctype.h/conform
+conform/XPG3/ctype.h/conform
+conform/XPG3/dirent.h/conform
+conform/XPG3/errno.h/conform
+conform/XPG3/monetary.h/conform
+conform/XPG3/regex.h/conform
+conform/XPG3/sys/times.h/conform
+conform/XPG3/utime.h/conform
+conform/XPG4/ctype.h/conform
+conform/XPG4/dirent.h/conform
+conform/XPG4/errno.h/conform
+conform/XPG4/ftw.h/conform
+conform/XPG4/grp.h/conform
+conform/XPG4/monetary.h/conform
+conform/XPG4/pwd.h/conform
+conform/XPG4/regex.h/conform
+conform/XPG4/sys/mman.h/conform
+conform/XPG4/sys/resource.h/conform
+conform/XPG4/sys/statvfs.h/conform
+conform/XPG4/sys/timeb.h/conform
+conform/XPG4/sys/times.h/conform
+conform/XPG4/sys/uio.h/conform
+conform/XPG4/sys/un.h/conform
+conform/XPG4/time.h/conform
+conform/XPG4/utime.h/conform
 debug/tst-longjmp_chk
-io/tst-mknodat
 io/tst-renameat
-stdlib/tst-secure-getenv
-rt/tst-timer4
-rt/tst-timer5
+misc/tst-writev
 posix/tst-waitid
-misc/tst-writev
+rt/tst-aio10
+rt/tst-aio9
+rt/tst-shm
 #
 # will expectedly SIGSEGV on kfreebsd 10.0 and later, due to having
 # nxstack=1 by default (bug #762404)
 #
 elf/tst-execstack-needed
 elf/tst-execstack
-nptl/tst-execstack
+fbtl/tst-execstack
 elf/tst-execstack-prog
 #
-# needs newer kernel - see #716746
+# fbtl
 #
-rt/tst-cpuclock1
-rt/tst-cpuclock2
-rt/tst-cputimer1
-rt/tst-cputimer2
-rt/tst-cputimer3
-#
-# new in 2.19:
-#
-#   AT_EXECFN is unsupported
-elf/tst-auxv
-#   probably due to kernel
-rt/tst-shm
-#
-# fbtl, mainly unsupported PP, PI, ROBUST mutexes
-#
-nptl/tst-attr2
-nptl/tst-attr3
-nptl/tst-cancel24-static
-nptl/tst-cancel7
-nptl/tst-cancelx7
-nptl/tst-cond-except
-nptl/tst-cond24
-nptl/tst-cond25
-nptl/tst-default-attr
-nptl/tst-getpid1
-nptl/tst-getpid2
-nptl/tst-mutexpi1
-nptl/tst-mutexpi2
-nptl/tst-mutexpi3
-nptl/tst-mutexpi4
-nptl/tst-mutexpi5
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi5a
-nptl/tst-mutexpi6
-nptl/tst-mutexpi7
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi7a
-nptl/tst-mutexpi8
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi8-static
-nptl/tst-mutexpi9
-nptl/tst-pthread-attr-affinity
-nptl/tst-robust1
-nptl/tst-robust2
-nptl/tst-robust3
-nptl/tst-robust4
-nptl/tst-robust5
-nptl/tst-robust6
-nptl/tst-robust7
-nptl/tst-robust8
-nptl/tst-robust9
-nptl/tst-robustpi1
-nptl/tst-robustpi2
-nptl/tst-robustpi3
-nptl/tst-robustpi4
-nptl/tst-robustpi5
-nptl/tst-robustpi6
-nptl/tst-robustpi7
-nptl/tst-robustpi8
-nptl/tst-robustpi9
-elf/tst-tls6
-nptl/tst-tls6
+fbtl/tst-attr2
+fbtl/tst-attr3
+fbtl/tst-cancel7
+fbtl/tst-cancelx7
+fbtl/tst-default-attr
+fbtl/tst-getpid1
+fbtl/tst-getpid2


Reply to: