about summary refs log tree commit diff
path: root/elf/dl-support.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-07-01 10:30:18 -0700
committerRichard Henderson <rth@twiddle.net>2014-07-03 08:38:41 -0700
commit8c682bb22cb4d81b6bd71caff1248c94ae19f657 (patch)
tree2e18aef5b567a877056d361ab559275c1923ffd4 /elf/dl-support.c
parent05502548e9391dd98c1688929d779d5749730369 (diff)
downloadglibc-8c682bb22cb4d81b6bd71caff1248c94ae19f657.tar.gz
glibc-8c682bb22cb4d81b6bd71caff1248c94ae19f657.tar.xz
glibc-8c682bb22cb4d81b6bd71caff1248c94ae19f657.zip
Rely on HP_TIMING_AVAIL implies HP_SMALL_TIMING_AVAIL
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r--elf/dl-support.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c
index e435436c31..6618dcc7c3 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -129,12 +129,6 @@ void *_dl_random;
 /* Get architecture specific initializer.  */
 #include <dl-procinfo.c>
 
-/* We expect less than a second for relocation.  */
-#ifdef HP_SMALL_TIMING_AVAIL
-# undef HP_TIMING_AVAIL
-# define HP_TIMING_AVAIL HP_SMALL_TIMING_AVAIL
-#endif
-
 /* Initial value of the CPU clock.  */
 #ifndef HP_TIMING_NONAVAIL
 hp_timing_t _dl_cpuclock_offset;
@@ -315,7 +309,7 @@ _dl_non_dynamic_init (void)
   _dl_main_map.l_phdr = GL(dl_phdr);
   _dl_main_map.l_phnum = GL(dl_phnum);
 
-  if (HP_TIMING_AVAIL)
+  if (HP_SMALL_TIMING_AVAIL)
     HP_TIMING_NOW (_dl_cpuclock_offset);
 
   _dl_verbose = *(getenv ("LD_WARN") ?: "") == '\0' ? 0 : 1;