glibc:release/2.16/master

Last commit made on 2014-06-03
Get this branch:
git clone -b release/2.16/master https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
release/2.16/master
Repository:
lp:glibc

Recent commits

02b1a8f... by Guo Yixuan

Fixed pthread_spin_lock on sparc32/64 (bug 16882)

 [BZ #16882]
 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
 (pthread_spin_lock): Branch out of spin loop to proper location.
 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
 (pthread_spin_lock): Likewise.

 * nptl/tst-spin4.c: New test.
 * nptl/Makefile (tests): Add tst-spin4.

c3e44c4... by Aurelien Jarno <email address hidden>

SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)

prlimit and prlimit64 have been added in the main <bits/resource.h>, but
not in the SPARC specific version. Fix that.

Note: this is Debian bug#703559, reported by Emilio Pozuelo Monfort
<email address hidden>

(cherry picked from commit d16e6ec7ca2c861ba681e3a2fbd431725774292e)

add6d67... by Aurelien Jarno <email address hidden>

SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)

EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in
the SPARC specific version. Fix that.

(cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c)

7d68c74... by DaveM

NEWS: Add 16885 to fixed bug list.

6427ccf... by DaveM

Fix v9/64-bit strcmp when string ends in multiple zero bytes.

 [BZ #16885]
 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
 multiple zero bytes exist at the end of a string.
 Reported by Aurelien Jarno <email address hidden>

 * string/test-strcmp.c (check): Add explicit test for situations where
 there are multiple zero bytes after the first.

e9586e5... by "H.J. Lu" <email address hidden>

Disable x87 inline functions for SSE2 math

When i386 and x86-64 mathinline.h was merged into a single mathinline.h,
"gcc -m32" enables x87 inline functions on x86-64 even when -mfpmath=sse
and SSE2 is enabled. It is a regression on x86-64. We should check
__SSE2_MATH__ instead of __x86_64__ when disabling x87 inline functions.

(cherry picked from commit 409e00bd69b8d8dd74d7327085351d26769ea6fc)

Conflicts:
 ChangeLog
 NEWS
 sysdeps/x86/fpu/bits/mathinline.h

c972bcc... by Maxim Kuvyrkov <email address hidden>

Fix race in free() of fastbin chunk: BZ #15073

Perform sanity check only if we have_lock. Due to lockless nature of fastbins
we need to be careful derefencing pointers to fastbin entries (chunksize(old)
in this case) in multithreaded environments.

The fix is to add have_lock to the if-condition checks. The rest of the patch
only makes code more readable.

 * malloc/malloc.c (_int_free): Perform sanity check only if we
 have_lock.

Conflicts:

 ChangeLog
 NEWS

02eff8c... by Carlos-0

Add BZ#11261 to 2.16 fixed bug list.

043c748... by Andreas Schwab <email address hidden>

Revert "2012-11-07 Andreas Jaeger <email address hidden>"

This reverts commit 68b6636fdc3d5b940d9be060e1f429b6eaa93709.

The issue has been fixed in the kernel.

14b77c0... by Thomas Schwinge

sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.

Cherry-pick commit d072f3f7724d85ceaf230806660235f0cf2f9c3b

Conflicts:
 ChangeLog