aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-15Add country_car field to LC_ADDRESS.Chris Leonard65-51/+378
2013-09-13Fix some types in localedef.Richard Sandiford2-4/+10
2013-09-13Add CVE-2013-4332 to NEWS.Will Newton1-0/+5
2013-09-11sunrpc/rpc/types.h: fix OS X and FreeBSD build problemsJia Liu2-0/+11
When I build arm-linux-gcc on OS X, I find glibc will get a build error in sunrpc/rpc/types.h, so I add __APPLE_CC__ to make OS X build OK. For FreeBSD, Add __FreeBSD__ to make it build OK, too. URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00155.html URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00217.html URL: http://sourceware.org/ml/libc-alpha/2013-09/msg00240.html Signed-off-by: Jia Liu <proljc@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-11Faster strchr implementation.Ondřej Bílka5-201/+170
2013-09-11benchtests: Rename argument to TIMING_INIT macro.Will Newton3-10/+17
The TIMING_INIT macro currently sets the number of loop iterations to 1000, which limits usefulness. Make the argument a clock resolution value and multiply by 1000 in bench-skeleton.c instead to allow easier reuse. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS parameter to RES. Remove hardcoded 1000 value. * benchtests/bench-skeleton.c (main): Pass RES parameter to TIMING_INIT and multiply result by 1000.
2013-09-11Mention closing 15855, 15856 and 15857 in NEWS.Will Newton1-2/+2
2013-09-11Update powerpc-fpu ULPs.Adhemerval Zanella2-2/+67
2013-09-11Add O_TMPFILE to <fcntl.h>Andreas Schwab7-0/+24
2013-09-11malloc: Check for integer overflow in memalign.Will Newton2-0/+13
A large bytes parameter to memalign could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15857] * malloc/malloc.c (__libc_memalign): Check the value of bytes does not overflow.
2013-09-11malloc: Check for integer overflow in valloc.Will Newton2-0/+13
A large bytes parameter to valloc could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15856] * malloc/malloc.c (__libc_valloc): Check the value of bytes does not overflow.
2013-09-11malloc: Check for integer overflow in pvalloc.Will Newton2-0/+13
A large bytes parameter to pvalloc could cause an integer overflow and corrupt allocator internals. Check the overflow does not occur before continuing with the allocation. ChangeLog: 2013-09-11 Will Newton <will.newton@linaro.org> [BZ #15855] * malloc/malloc.c (__libc_pvalloc): Check the value of bytes does not overflow.
2013-09-10Remove DO_NOT_USE_THIS conditionals.Ondřej Bílka6-97/+8
2013-09-10Clarify documentation cross-referenceAllan McRae3-4/+9
The end of the "Parsing of Floats" subsection currently reads: The GNU C Library also provides '_l' versions of these functions, which take an additional argument, the locale to use in conversion. *Note Parsing of Integers::. Split the final note as it is unrelated to the above comment and reference it with "See also" instead.
2013-09-10Update pt_chown sections of the manualAllan McRae4-18/+19
The pt-chown binary is discussed in the "Running make install" section without clarification of the needed configure option. Clarify this and simplfy the discription which is already covered in the "Configuring and compiling" section.
2013-09-09Fix static-binary lazy FPU context allocationMaciej W. Rozycki8-11/+69
Long ago static startup did not parse the auxiliary vector and therefore could not get at any `AT_FPUCW' tag to check whether upon FPU context allocation the kernel would use a FPU control word setting different to that provided by the `__fpu_control' variable. Static startup therefore always initialized the FPU control word, forcing immediate FPU context allocation even for binaries that otherwise never used the FPU. As from GIT commit f8f900ecb9096ec47f5b7bb7626e29223c69061a static startup supports parsing the auxiliary vector, so now it can avoid explicit initialization of the FPU control word, just as can dynamic startup, in the usual case where the setting written to the FPU control word would be the same as the kernel uses. This defers FPU context allocation until the binary itself actually pokes at the FPU. Note that the `AT_FPUCW' tag is usually absent from the auxiliary vector in which case _FPU_DEFAULT is assumed to be the kernel default.
2013-09-09Fix typo in strcoll exampleAllan McRae3-2/+7
2013-09-09Fix memory leak in stdlib/isomac.cAllan McRae3-1/+6
2013-09-09Fix memory leaks in libio on allocation failureAllan McRae4-4/+13
2013-09-09Fix nesting of ifdefs in netgroupcache.cAllan McRae3-3/+8
Fixes unclosed '{' if HAVE_SENDFILE is defined (BZ #15895).
2013-09-09malloc: Add realloc test.Will Newton3-1/+153
The current tests don't test the functionality of realloc in detail. Add a new test for realloc that exercises some of the corner cases that are not otherwise tested. ChangeLog: 2013-09-09 Will Newton <will.newton@linaro.org> * malloc/Makefile: Add tst-realloc to tests. * malloc/tst-realloc.c: New file.
2013-09-09Update to latest versions of GPL-2.0 and LGPL-2.1Allan McRae4-68/+65
Pull copies of these files directly from the GNU website: http://www.gnu.org/licenses/gpl-2.0.txt http://www.gnu.org/licenses/lgpl-2.1.txt Fixes the address of the Free Software Foundation (BZ #15844). Also includes some minor formatting changes and corrects references to the GNU "Library" General Public License.
2013-09-07Mention --disable-versioning removal in NEWS.Joseph Myers1-0/+3
2013-09-06Update Chinese (traditional) translations.David S. Miller2-941/+980
* po/zh_TW.po: Update Chinese (traditional) translation from translation project.
2013-09-06Make localedef output generation use more logical interfaces.Richard Sandiford16-1611/+738
2013-09-06Fix trailing whitespaceChris Leonard1-1/+1
2013-09-06ChangeLog entry for Deduplicate country_car.Chris Leonard1-0/+9
2013-09-06 Deduplicate country_car.Chris Leonard6-32/+32
2013-09-06benchtests: Add memrchr benchmarkAdhemerval Zanella5-4/+74
2013-09-06benchtests/Makefile: Run benchmark for memcpy.Will Newton2-5/+9
The benchmark for memcpy got disabled accidentally. Re-enable it. ChangeLog: 2013-09-06 Will Newton <will.newton@linaro.org> * benchtests/Makefile (string-bench): Add memcpy.
2013-09-06Coordinate IPv6 definitions for Linux and glibcCarlos O'Donell3-29/+64
This change synchronizes the glibc headers with the Linux kernel headers and arranges to coordinate the definition of structures already defined the Linux kernel UAPI headers. It is now safe to include glibc's netinet/in.h or Linux's linux/in6.h in any order in a userspace application and you will get the same ABI. The ABI is guaranteed by UAPI and glibc.
2013-09-05PowerPC: fix POWER7 memrchr for some large inputsAdhemerval Zanella3-4/+10
2013-09-05Add memrchr testcaseAdhemerval Zanella4-1/+196
2013-09-05tst-fanotify: skip when we get back EPERMMike Frysinger2-5/+13
Since fanotify_init requires CAP_SYS_ADMIN in order to work (which usually means running as root), we need to handle that error case too. Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-04Define MMAP2_PAGE_SHIFT to -1 for m68k.Joseph Myers2-0/+9
2013-09-04conformtest: Fix namespace testing.Joseph Myers4-3/+17
2013-09-04Update iso-1427.def and related occurrences.Chris Leonard28-221/+85
2013-09-04Update iso-1427.def and related occurrences.Chris Leonard8-20/+31
2013-09-04Remove --disable-versioning.Joseph Myers28-221/+85
2013-09-04benchtests: Switch string benchmarks to use bench-timing.h.Will Newton28-502/+368
Switch the string benchmarks to using bench-timing.h instead of hp-timing.h directly. This allows the string benchmarks to be run usefully on architectures such as ARM that do not have support for hp-timing.h. In order to do this the tests have been changed from timing each individual call and picking the lowest execution time recorded to timing a number of calls and taking the mean execution time. ChangeLog: 2013-09-04 Will Newton <will.newton@linaro.org> * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro. * benchtests/bench-string.h: Include bench-timing.h instead of including hp-timing.h directly. (INNER_LOOP_ITERS): New define. (HP_TIMING_BEST): Delete macro. (test_init): Remove call to HP_TIMING_DIFF_INIT. * benchtests/bench-memccpy.c: Use bench-timing.h macros instead of hp-timing.h macros. * benchtests/bench-memchr.c: Likewise. * benchtests/bench-memcmp.c: Likewise. * benchtests/bench-memcpy.c: Likewise. * benchtests/bench-memmem.c: Likewise. * benchtests/bench-memmove.c: Likewise. * benchtests/bench-memset.c: Likewise. * benchtests/bench-rawmemchr.c: Likewise. * benchtests/bench-strcasecmp.c: Likewise. * benchtests/bench-strcasestr.c: Likewise. * benchtests/bench-strcat.c: Likewise. * benchtests/bench-strchr.c: Likewise. * benchtests/bench-strcmp.c: Likewise. * benchtests/bench-strcpy.c: Likewise. * benchtests/bench-strcpy_chk.c: Likewise. * benchtests/bench-strlen.c: Likewise. * benchtests/bench-strncasecmp.c: Likewise. * benchtests/bench-strncat.c: Likewise. * benchtests/bench-strncmp.c: Likewise. * benchtests/bench-strncpy.c: Likewise. * benchtests/bench-strnlen.c: Likewise. * benchtests/bench-strpbrk.c: Likewise. * benchtests/bench-strrchr.c: Likewise. * benchtests/bench-strspn.c: Likewise. * benchtests/bench-strstr.c: Likewise.
2013-09-04benchtests/Makefile: Use LDLIBS instead of LDFLAGS.Will Newton2-16/+20
LDFLAGS puts the library too early in the command line if --as-needed is being used. Use LDLIBS instead. ChangeLog: 2013-09-04 Will Newton <will.newton@linaro.org> * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2013-09-04Add country_car field to LC_ADDRESScjl1-0/+3
2013-09-04Add country_car field to LC_ADDRESScjl1-0/+146
2013-09-04Add country_car field to LC_ADDRESScjl143-32/+436
2013-09-03Add FSF statement to ayc_PE locale.cjl1-3/+3
2013-09-03Add FSF statement to ayc_PE locale.cjl1-4/+4
2013-09-03Add FSF statement to ayc_PE locale.cjl2-21/+29
2013-09-03Fix lgammaf spurious underflow (bug 15427).Joseph Myers6-4/+176
2013-09-03Add unaligned strcmp.Ondřej Bílka5-2/+231
2013-09-03Update ht_HT localeChris Leonard3-111/+151
2013-09-03 Chris Leonard <cjl@sugarlabs.org> [BZ#15886] * locales/ht_HT: 1.1 revision of ht_HT locale.