aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-04benchtests: Switch string benchmarks to use bench-timing.h.Will Newton
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 Newton
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_ADDRESScjl
2013-09-04Add country_car field to LC_ADDRESScjl
2013-09-04Add country_car field to LC_ADDRESScjl
2013-09-03Add FSF statement to ayc_PE locale.cjl
2013-09-03Add FSF statement to ayc_PE locale.cjl
2013-09-03Add FSF statement to ayc_PE locale.cjl
2013-09-03Fix lgammaf spurious underflow (bug 15427).Joseph Myers
2013-09-03Add unaligned strcmp.Ondřej Bílka
2013-09-03Update ht_HT localeChris Leonard
2013-09-03 Chris Leonard <cjl@sugarlabs.org> [BZ#15886] * locales/ht_HT: 1.1 revision of ht_HT locale.
2013-09-03Add quz_PE localeChris Leonard
2013-09-03 Chris Leonard <cjl@sugarlabs.org> [BZ#15887] * locales/quz_PE: New locale for quz_PE. * SUPPORTED: Add quz_PE.
2013-09-03Mark success return value as volatile to work around reschedulingSiddhesh Poyarekar
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.
2013-09-02hppa: add fanotify_markMike Frysinger
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>
2013-09-02tst-fanotify: new simple testMike Frysinger
Basic test for the fanotify functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-02Fix spurious jnf underflows (bug 14155).Joseph Myers
2013-09-02Fix typo.Ondřej Bílka
2013-08-30Use sfi_* macros in armv6t2 strlen.Roland McGrath
2013-08-30Make armv6t2 strlen work in ARM mode too.Roland McGrath
2013-08-30Fix then/than typos.Ondřej Bílka
2013-08-30Fix typos.Ondřej Bílka
2013-08-30ARM: Fix clone code when built for Thumb.Will Newton
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.
2013-08-30sysdeps/arm/armv6t2/strlen.S: strlen implementation for armv6t2.Will Newton
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.
2013-08-30Fix rawmemchr regression on bulldozer.Ondřej Bílka
2013-08-29Fix up ChangeLog formatting.Roland McGrath
2013-08-29Remove aix specific files.Ondřej Bílka
2013-08-29Hurd: Add ESUCCESS error_t value.Thomas Schwinge
2013-08-29Hurd: Use __executable_start symbol instead of _start.Samuel Thibault
_start points to the first instruction, not to the ELF header. __executable_start does point on the ELF header.
2013-08-29Support ELFOSABI_GNU on all GNU systems.Thomas Schwinge
2013-08-29Use ELFOSABI_GNU instead of ELFOSABI_LINUX.Thomas Schwinge
2013-08-29[BZ #15522] strtod ("nan(N)") returning a sNaN in some casesThomas Schwinge
2013-08-29math: Additional type conversion testsThomas Schwinge
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.
2013-08-29Fix typos.Ondřej Bílka
2013-08-29ARM: Pass dl_hwcap to IFUNC resolver.Carlos O'Donell
For REL relocs pass dl_hwcap to the IFUNC resolver as is required by the IFUNC API (bug 15905).
2013-08-28Use __glibc_unlikely instead of __builtin_expect (..., 0)Siddhesh Poyarekar
2013-08-27[BZ #15897] dlfcn: do not mark dlopen/dlclose as leaf functionsMike Frysinger
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>
2013-08-27Clean up h_errno declaration to use __thread unconditionally.Roland McGrath
2013-08-27Clean up _res declaration to use __thread unconditionally.Roland McGrath
2013-08-27Cope without sunrpc.Roland McGrath
2013-08-27Don't try to use ioctl unless [FIONREAD].Roland McGrath
2013-08-27Mild decrufting in resolv code.Roland McGrath
2013-08-27True stub __ifreq.Roland McGrath
2013-08-27Clean up __libc_sa_len helper.Roland McGrath
2013-08-27Replace generic bits/socket.h with 4.4 file.Roland McGrath
2013-08-27Flesh out 4.4 bits/socket.h with SOCK_CLOEXEC, SOCK_NONBLOCK.Roland McGrath
2013-08-27Fix missing declaration of LC_CTYPE nonascii-case elementAndreas Schwab
2013-08-27Fix handling LC_CTYPE nonascii-case fallback in i686 SSE4.2 and SSSE3 ↵Andreas Schwab
strcasecmp/strncasecmp
2013-08-26Make stub lxstat64 call xstat64, like stub lxstat calls xstat.Roland McGrath
2013-08-26Use proper #include for xdecrypt declarations.Roland McGrath
2013-08-26Initialize res_hconf in nscdSiddhesh Poyarekar
Fixes BZ #15890.