aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-06-03Fixed pthread_spin_lock on sparc32/64 (bug 16882)release/2.16/masterGuo Yixuan6-6/+126
[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.
2014-05-16SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)Aurelien Jarno3-1/+34
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 <pochu@debian.org> (cherry picked from commit d16e6ec7ca2c861ba681e3a2fbd431725774292e)
2014-05-07SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)Aurelien Jarno3-1/+9
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)
2014-05-01NEWS: Add 16885 to fixed bug list.David S. Miller1-1/+1
2014-05-01Fix v9/64-bit strcmp when string ends in multiple zero bytes.David S. Miller3-0/+69
[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 <aurelien@aurel32.net> * string/test-strcmp.c (check): Add explicit test for situations where there are multiple zero bytes after the first.
2014-01-29Disable x87 inline functions for SSE2 mathH.J. Lu3-4/+11
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
2014-01-05Fix race in free() of fastbin chunk: BZ #15073Maxim Kuvyrkov3-9/+20
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
2013-03-17Add BZ#11261 to 2.16 fixed bug list.Carlos O'Donell1-17/+17
2012-11-28Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"Andreas Schwab3-26/+2
This reverts commit 68b6636fdc3d5b940d9be060e1f429b6eaa93709. The issue has been fixed in the kernel.
2012-11-27sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.Thomas Schwinge2-2/+7
Cherry-pick commit d072f3f7724d85ceaf230806660235f0cf2f9c3b Conflicts: ChangeLog
2012-11-27Skip audit if l_reloc_result is NULLH.J. Lu5-3/+41
Cherry-pick commit 2e64d2659d3edaebc792ac596a9863f1626e5c25 Conflicts: ChangeLog NEWS
2012-11-132012-11-07 Andreas Jaeger <aj@suse.de>Jeff Law3-2/+26
[BZ #14809] * sysdeps/unix/sysv/linux/sys/sysctl.h (_UAPI_LINUX_KERNEL_H) (_UAPI_LINUX_TYPES_H): Starting with Linux 3.7, the include header guards are changed. Only define if not yet defined, #undef back after including linux/sysctl.h if defined here. (cherry picked from commit 01f34a3bd8c087ca4be0bd24857e454c8d29f20b) Conflicts: NEWS
2012-10-23Fix missing _mcount@GLIBC_2.0 on powerpc32Andreas Schwab5-3/+28
(cherry picked from commit 261f485936b283f4327fc1f2fc8fd1705d805c12)
2012-10-04Define HAS_FMA with bit_FMA_UsableH.J. Lu4-3/+23
cherry-pick 0569936773c861c791f10bba5e2f4cac5fbb4e78 Conflicts: ChangeLog NEWS
2012-10-03Don't parse %s format argument as multibyte stringJeff Law5-37/+32
(cherry picked from commit 715a900c9085907fa749589bf738b192b1a2bda5) 2012-09-28 Andreas Schwab <schwab@linux-m68k.org> [BZ #6530] * stdio-common/vfprintf.c (process_string_arg): Revert 2000-07-22 change. 2011-09-28 Jonathan Nieder <jrnieder@gmail.com> * stdio-common/Makefile (tst-sprintf-ENV): Set environment for testcase. * stdio-common/tst-sprintf.c: Include <locale.h> (main): Test sprintf's handling of incomplete multibyte characters.
2012-09-27Use size_t instead of int for internal variables in glob (bug 14621).Joseph Myers3-6/+14
(cherry picked from commit b87c4b24d97321ef2f2da357f8fcf11f1f61e3dc) Conflicts: ChangeLog
2012-09-26Properly handle fencepost with MALLOC_ALIGN_MASKH.J. Lu3-4/+14
Cherry-pick commit ced6f16ee919d12725840d43d007f1cfd67118df. Conflicts: ChangeLog NEWS
2012-08-29Use LD_SO to set $ld_so_name/$ld_so_versionH.J. Lu4-2/+17
cherry-pick d22e28b070d3d1572d39a463d711c6f223078552 Conflicts: ChangeLog NEWS
2012-08-27Fix strtod integer/buffer overflow (bug 14459).Joseph Myers5-33/+179
(cherry picked from commit d6e70f4368533224e66d10b7f2126b899a3fd5e4) Conflicts: ChangeLog NEWS stdlib/Makefile
2012-08-16Fix segmentation fault in strncasecmp for i686Liubov Dmitrieva4-5/+31
2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com> [BZ #14195] * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix segmentation fault for a case of two empty input strings. * string/test-strncasecmp.c (check1): Renamed to... (bz12205): ...this. (bz14195): Add new testcase for two empty input strings and N > 0. (test_main): Call new testcase, adapt for renamed function. (cherry picked from commit b3f479a85a3e191befbe821d787d7f71c0f64e79)
2012-08-12sunrpc: fix rpc bootstrap buildsMike Frysinger2-1/+5
If you build & install glibc w/rpc disabled, you no longer have headers in /usr/include/rpc/ (this is expected). But if you try to build glibc w/rpc enabled, this gets into a bad state due to the new rpc helpers that get cross-compiled: $ make ... x86_64-pc-linux-gnu-gcc -m32 -D_RPC_THREAD_SAFE_ -D_GNU_SOURCE -DIS_IN_build \ -include $objdir/config.h rpc_clntout.c -o $objdir/sunrpc/cross-rpc_clntout.o \ -MMD -MP -MF $objdir/sunrpc/cross-rpc_clntout.o.dt -MT $objdir/sunrpc/cross-rpc_clntout.o -c rpc_clntout.c:34:23: fatal error: rpc/types.h: No such file or directory compilation terminated. make: *** [$objdir/sunrpc/cross-rpc_clntout.o] Error 1 Signed-off-by: Mike Frysinger <vapier@gentoo.org> (cherry picked from commit fb21f89b75d0152aa42efb6b620843799a4cd76b)
2012-07-16Update from translation teamAndreas Jaeger2-1217/+1397
(cherry picked from commit dd31893430a76e81cbd8b5412c5894f27bab39c7)
2012-07-13Update from french translation teamAndreas Jaeger2-2/+6
(cherry picked from commit b637d46e7a900f516849487a5c4de734d4b3020d)
2012-07-11Translation team update for fr.po/sv.poAndreas Jaeger3-1239/+1391
(cherry picked from commit 71220acad5c72ecae8679e48502ab706bd908cc5)
2012-07-11Update from translation team: fr.poAndreas Jaeger2-1200/+1379
(cherry picked from commit 608404ebf64fa02c8aaf2778b1bf00d5a0292d1a)
2012-07-07Adapt tst-catgets to changes in tst-gettextAndreas Schwab4-105/+81
(cherry picked from commit 704bc4594dc1fad46831823627749fa10924b41d)
2012-07-07Fix tst-gettext testAndreas Schwab4-53/+55
(cherry picked from commit 70d35b6769c1739719101957de77387e48192f74)
2012-07-03Update from translation teamsAndreas Jaeger8-11249/+13324
(cherry picked from commit 9d63d37d08b9fea0b664c80829bd8f9e3e0edc48)
2012-06-30Release 2.16glibc-2.16.0Carlos O'Donell2-3/+3
Update version.h and include/features.h for 2.16 release.
2012-06-30Update NEWS and README.glibc-2.16Carlos O'Donell3-6/+25
Final update for 2.16 release.
2012-06-28manual/contrib.texi (Contributors): Sort alphabetically by last name.Thomas Schwinge2-17/+21
2012-06-27Add Samuel Thibault to manual/contrib.texiAndreas Jaeger2-0/+7
2012-06-25Update s390 ULPs fileAndreas Jaeger2-4/+358
2012-06-23SH can do fanotify_mark, too.glibc-2.16-tpsAndreas Schwab4-0/+14
2012-06-23Some missing bits from sysdeps/*/elf dismissal.Thomas Schwinge5-107/+9
This fixes up commits 735095ae9566b2b14e8210e5ed44b3d5b51495f1, 09ae94c11b4309b425fbbfaa095e64cac2ae8cb8, and ff962fb6a10c46052535d482c889b3a9e5236637.
2012-06-23SH: __lll_robust_timedlock_wait: Simplify CFI directives.Thomas Schwinge2-6/+9
2012-06-23SH: Preserve more registers for frame unwinding purposes, add CFI directives.Thomas Schwinge5-7/+57
2012-06-23SH: Optimize assembler code in context of call to __fortify_fail.Thomas Schwinge3-17/+13
__fortify_fail has »__attribute__ ((__noreturn__))«.
2012-06-23SH: ____longjmp_chk for GNU/Linux with sigaltstack support.Thomas Schwinge4-0/+137
debug/tst-longjmp_chk2 now passes.
2012-06-23SH: ABORT_INSTRUCTION.Thomas Schwinge3-3/+11
2012-06-23SH: makecontext/.Lexitcode: Always initialize the GOT register before use.Thomas Schwinge2-4/+11
This is only relevant when returning from a context with »uc_link == NULL«, which is not exercised in the testsuite.
2012-06-23SH: makecontext: Fix calculation of ARGC > 4.Thomas Schwinge2-1/+4
stdlib/tst-setcontext and stdlib/tst-makecontext3 now pass.
2012-06-23SH: makecontext: Improve understandability.Thomas Schwinge2-29/+34
2012-06-23Fix gUSA sequence in SH atomic functions inKaz Kojima2-93/+107
sysdeps/unix/sysv/linux/sh/bits/atomic.h.
2012-06-22Fix invalid memory access in do_lookup_x.Andreas Schwab7-34/+43
[BZ #13579] Do not free l_initfini and allow it to be reused on subsequent dl_open calls for the same library. This fixes the invalid memory access in do_lookup_x when the previously free'd l_initfini was accessed through l_searchlist when a library had been opened for the second time.
2012-06-22Use AC_LANG_SOURCE to fix autoconf warnings.Carlos O'Donell2-2/+7
2012-06-22Use tab not spaces.Carlos O'Donell1-1/+1
2012-06-22Respect --localstatedir for /var/db parent directory.Roland McGrath7-3/+32
2012-06-21Update copyright yearsJeff Law1-1/+1
2012-06-21 [BZ #14277]Jeff Law3-7/+14
* intl/dcigettext.c (_nl_find_msg): Avoid use after potential free. Simplify list management for _LIBC case.