glibc/sysdeps
H.J. Lu f607047668 Update HP_TIMING_NOW for _ISOMAC in sysdeps/generic/hp-timing.h
commit e9698175b0
Author: Lukasz Majewski <lukma@denx.de>
Date:   Mon Mar 16 08:31:41 2020 +0100

    y2038: Replace __clock_gettime with __clock_gettime64

breaks benchtests with sysdeps/generic/hp-timing.h:

In file included from ./bench-timing.h:23,
                 from ./bench-skeleton.c:25,
                 from
/export/build/gnu/tools-build/glibc-gitlab/build-x86_64-linux/benchtests/bench-rint.c:45:
./bench-skeleton.c: In function ‘main’:
../sysdeps/generic/hp-timing.h:37:23: error: storage size of ‘tv’ isn’t known
   37 |   struct __timespec64 tv;      \
      |                       ^~

Define HP_TIMING_NOW with clock_gettime in sysdeps/generic/hp-timing.h
if _ISOMAC is defined.  Don't define __clock_gettime in bench-timing.h
since it is no longer needed.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2020-06-05 09:44:06 -07:00
..
aarch64 aarch/fpu: use generic builtins based math functions 2020-06-03 10:23:33 -07:00
alpha Update alpha libm-test-ulps 2020-04-08 13:52:45 -03:00
arm arm: XFAIL string/tst-memmove-overflow due to bug 25620 2020-05-13 16:48:26 +02:00
csky semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
generic Update HP_TIMING_NOW for _ISOMAC in sysdeps/generic/hp-timing.h 2020-06-05 09:44:06 -07:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
htl htl: Fix gsync_wait symbol exposition 2020-06-01 22:22:03 +02:00
hurd Hurd: Move <hurd/sigpreempt.h> internals into wrapper header 2020-05-28 11:40:13 +02:00
i386 i386: Remove NO_TLS_DIRECT_SEG_REFS handling 2020-05-28 11:53:08 +02:00
ia64 semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
ieee754 ieee754: provide gcc builtins based generic fma functions 2020-06-03 10:23:28 -07:00
m68k math: Remove inline math tests 2020-03-19 11:45:44 -03:00
mach htl: Make pthread_cond_destroy wait for threads to be woken 2020-06-01 17:38:31 +00:00
microblaze semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
mips Rename __LONG_DOUBLE_USES_FLOAT128 to __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 2020-04-30 08:52:08 -05:00
nios2 semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
nptl nptl: Add pthread_attr_setsigmask_np, pthread_attr_getsigmask_np 2020-06-02 11:59:18 +02:00
posix linux: Use internal DIR locks when accessing filepos on telldir 2020-05-27 11:55:00 -03:00
powerpc powerpc: Fix powerpc64le due a7a3435c9a 2020-06-04 09:05:41 -03:00
pthread htl: Make pthread_cond_destroy wait for threads to be woken 2020-06-01 17:38:31 +00:00
riscv semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
s390 ieee754: provide gcc builtins based generic fma functions 2020-06-03 10:23:28 -07:00
sh semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
sparc semaphore: consolidate arch headers into a generic one 2020-05-06 13:07:12 -07:00
unix Linux: Use __pthread_attr_setsigmask_internal for timer helper thread 2020-06-02 11:59:26 +02:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 x86: Update Intel Atom processor family optimization 2020-05-21 13:36:54 -07:00
x86_64 Linux: Remove remnants of the getcpu cache 2020-05-16 15:47:51 +02:00