From 295125c54256c6df5599aa23029cb3eb6e2f2e33 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 24 Apr 2001 05:18:27 +0000 Subject: Update. * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing. * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3. * sysdeps/ia64/hp-timing.c: New file. * sysdeps/ia64/hp-timing.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test using #ifdef whether the clock is available. * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore. * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move it into data section. --- sysdeps/generic/dl-sysdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/generic/dl-sysdep.c') diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 114ec8be4e..1880084c6e 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -62,7 +62,7 @@ void *__libc_stack_end; static ElfW(auxv_t) *_dl_auxv; unsigned long int _dl_hwcap_mask = HWCAP_IMPORTANT; #if HP_TIMING_AVAIL -hp_timing_t _dl_cpuclock_offset; +hp_timing_t _dl_cpuclock_offset = 0; #endif #ifndef DL_FIND_ARG_COMPONENTS -- cgit v1.2.1