aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/dl-sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.c')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index e1bab501a5..12591167a3 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -54,6 +54,10 @@ int __libc_multiple_libcs = 0; /* Defining this here avoids the inclusion
/* This variable containts the lowest stack address ever used. */
void *__libc_stack_end;
+#if HP_TIMING_AVAIL
+hp_timing_t _dl_cpuclock_offset;
+#endif
+
struct hurd_startup_data *_dl_hurd_data;
@@ -249,6 +253,10 @@ unfmh(); /* XXX */
/* Initialize frequently used global variable. */
GL(dl_pagesize) = __getpagesize ();
+#if HP_TIMING_AVAIL
+ HP_TIMING_NOW (_dl_cpuclock_offset);
+#endif
+
fmh(); /* XXX */
/* See hurd/hurdstartup.c; this deals with getting information