about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* benchtests: Switch string benchmarks to use bench-timing.h.Will Newton2013-09-0428-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.
* benchtests/Makefile: Use LDLIBS instead of LDFLAGS.Will Newton2013-09-042-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.
* Add country_car field to LC_ADDRESScjl2013-09-041-0/+3
|
* Add country_car field to LC_ADDRESScjl2013-09-041-0/+146
|
* Add country_car field to LC_ADDRESScjl2013-09-04143-32/+436
|
* Add FSF statement to ayc_PE locale.cjl2013-09-031-3/+3
|
* Add FSF statement to ayc_PE locale.cjl2013-09-031-4/+4
|
* Add FSF statement to ayc_PE locale.cjl2013-09-032-21/+29
|
* Fix lgammaf spurious underflow (bug 15427).Joseph Myers2013-09-036-4/+176
|
* Add unaligned strcmp.Ondřej Bílka2013-09-035-2/+231
|
* Update ht_HT localeChris Leonard2013-09-033-111/+151
| | | | | | | 2013-09-03 Chris Leonard <cjl@sugarlabs.org> [BZ#15886] * locales/ht_HT: 1.1 revision of ht_HT locale.
* Add quz_PE localeChris Leonard2013-09-034-2/+179
| | | | | | | | 2013-09-03 Chris Leonard <cjl@sugarlabs.org> [BZ#15887] * locales/quz_PE: New locale for quz_PE. * SUPPORTED: Add quz_PE.
* Mark success return value as volatile to work around reschedulingSiddhesh Poyarekar2013-09-033-2/+14
| | | | | | | | | | | | | Resolves #15921 The test case nptl/tst-cleanup2 fails on s390x and power6 due to instruction sheduling in gcc. This was reported in gcc: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58034 but it was concluded that gcc is allowed to assume that the first argument to sprintf is a character array - NULL not being a valid character array.
* hppa: add fanotify_markMike Frysinger2013-09-025-0/+16
| | | | | | | | | | | | | | | | | | | Another example of all the 64bit arches getting the definition via a common file, but the 32bit ones all adding it by themselves and hppa was missed. I'm not entirely sure about the usage of GLIBC_2.19 symbols here. We'd like to backport this so people can use it, but it means we'd be releasing a glibc-2.17/glibc-2.18 with a GLIBC_2.19 symbol in it. But maybe it won't be a big deal since you'd only get that 2.19 ref if you actually used the symbol ? There hasn't been a glibc release where hppa worked w/out a bunch of patches, so in reality there's only two distros that matter -- Gentoo and Debian. Reported-by: Jeroen Roovers <jer@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tst-fanotify: new simple testMike Frysinger2013-09-023-1/+62
| | | | | | Basic test for the fanotify functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix spurious jnf underflows (bug 14155).Joseph Myers2013-09-026-10/+68
|
* Fix typo.Ondřej Bílka2013-09-022-1/+5
|
* Use sfi_* macros in armv6t2 strlen.Roland McGrath2013-08-302-9/+16
|
* Make armv6t2 strlen work in ARM mode too.Roland McGrath2013-08-302-2/+30
|
* Fix then/than typos.Ondřej Bílka2013-08-3018-39/+63
|
* Fix typos.Ondřej Bílka2013-08-3047-45/+107
|
* ARM: Fix clone code when built for Thumb.Will Newton2013-08-303-3/+9
| | | | | | | | | | | | | The mov lr, pc instruction will lose the Thumb bit from the return address so use blx lr instead. ports/ChangeLog.arm: 2013-08-30 Will Newton <will.newton@linaro.org> [BZ #15909] * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Use blx instead of mov lr, pc.
* sysdeps/arm/armv6t2/strlen.S: strlen implementation for armv6t2.Will Newton2013-08-302-0/+145
| | | | | | | | | | | This implementation of strlen is faster than the armv6 version for all string lengths greater than 1 on a Cortex-A15. ports/ChangeLog.arm: 2013-08-09 Will Newton <will.newton@linaro.org> * sysdeps/arm/armv6t2/strlen.S: New file.
* Fix rawmemchr regression on bulldozer.Ondřej Bílka2013-08-303-109/+5
|
* Fix up ChangeLog formatting.Roland McGrath2013-08-291-4/+6
|
* Remove aix specific files.Ondřej Bílka2013-08-2910-869/+13
|
* Hurd: Add ESUCCESS error_t value.Thomas Schwinge2013-08-293-1/+23
|
* Hurd: Use __executable_start symbol instead of _start.Samuel Thibault2013-08-292-2/+7
| | | | | _start points to the first instruction, not to the ELF header. __executable_start does point on the ELF header.
* Support ELFOSABI_GNU on all GNU systems.Thomas Schwinge2013-08-293-23/+53
|
* Use ELFOSABI_GNU instead of ELFOSABI_LINUX.Thomas Schwinge2013-08-296-9/+24
|
* [BZ #15522] strtod ("nan(N)") returning a sNaN in some casesThomas Schwinge2013-08-2910-32/+87
|
* math: Additional type conversion testsThomas Schwinge2013-08-292-7/+24
| | | | | | These have helped me find and fix type conversion issues in QEMU's MIPS hardware emulation. While certainly glibc is not the best place for such tests, they're just an enhancement of tests already present.
* Fix typos.Ondřej Bílka2013-08-2933-75/+118
|
* ARM: Pass dl_hwcap to IFUNC resolver.Carlos O'Donell2013-08-293-2/+9
| | | | | For REL relocs pass dl_hwcap to the IFUNC resolver as is required by the IFUNC API (bug 15905).
* Use __glibc_unlikely instead of __builtin_expect (..., 0)Siddhesh Poyarekar2013-08-283-2/+7
|
* [BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functionsMike Frysinger2013-08-277-6/+160
| | | | | | | | | | | | | Since the dlopen funcs might invoke a constructor that calls a func that is in the same compilation unit as the caller, we cannot mark them as leaf funcs. Similarly, dlclose might invoke a destructor that calls a func that is in the same compilation unit as the caller. URL: https://sourceware.org/bugzilla/show_bug.cgi?id=15897 Reportedy-by: Fabrice Bauzac <libnoon@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Clean up h_errno declaration to use __thread unconditionally.Roland McGrath2013-08-272-10/+10
|
* Clean up _res declaration to use __thread unconditionally.Roland McGrath2013-08-273-16/+13
|
* Cope without sunrpc.Roland McGrath2013-08-272-2/+11
|
* Don't try to use ioctl unless [FIONREAD].Roland McGrath2013-08-272-1/+6
|
* Mild decrufting in resolv code.Roland McGrath2013-08-273-0/+8
|
* True stub __ifreq.Roland McGrath2013-08-273-57/+87
|
* Clean up __libc_sa_len helper.Roland McGrath2013-08-276-67/+131
|
* Replace generic bits/socket.h with 4.4 file.Roland McGrath2013-08-273-373/+126
|
* Flesh out 4.4 bits/socket.h with SOCK_CLOEXEC, SOCK_NONBLOCK.Roland McGrath2013-08-272-1/+23
|
* Fix missing declaration of LC_CTYPE nonascii-case elementAndreas Schwab2013-08-276-9/+58
|
* Fix handling LC_CTYPE nonascii-case fallback in i686 SSE4.2 and SSSE3 ↵Andreas Schwab2013-08-273-0/+32
| | | | strcasecmp/strncasecmp
* Make stub lxstat64 call xstat64, like stub lxstat calls xstat.Roland McGrath2013-08-262-10/+5
|
* Use proper #include for xdecrypt declarations.Roland McGrath2013-08-263-4/+8
|
* Initialize res_hconf in nscdSiddhesh Poyarekar2013-08-263-1/+11
| | | | Fixes BZ #15890.