+2000-04-20 Andreas Jaeger <aj@suse.de>
+
+ * elf/rtld.c (print_statistics): Move ifndef further up.
+ (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings.
+ (dl_main): Likewise.
+
2000-04-18 Ulrich Drepper <drepper@redhat.com>
* gmon/gmon.c: Add weak alias moncontrol for __moncontrol.
of the dynamic linker, and then unwind our frame and run the user
entry point on the same stack we entered on. */
*start_addr = _dl_sysdep_start (arg, &dl_main);
-
+#ifndef HP_TIMING_NONAVAIL
if (HP_TIMING_AVAIL)
{
hp_timing_t end_time;
/* Compute the difference. */
HP_TIMING_DIFF (rtld_total_time, start_time, end_time);
}
+#endif
if (__builtin_expect (_dl_debug_statistics, 0))
print_statistics ();
struct link_map *l;
int consider_profiling = _dl_profile != NULL;
+#ifndef HP_TIMING_NONAVAIL
hp_timing_t start;
hp_timing_t stop;
hp_timing_t add;
+#endif
/* If we are profiling we also must do lazy reloaction. */
_dl_lazy |= consider_profiling;
print_statistics (void)
{
char buf[200];
+#ifndef HP_TIMING_NONAVAIL
char *cp;
char *wp;
}
/* Print relocation statistics. */
-#ifndef HP_TIMING_NONAVAIL
if (HP_TIMING_AVAIL)
{
HP_TIMING_PRINT (buf, sizeof (buf), relocate_time);