2001-05-17 Ulrich Drepper <drepper@redhat.com>
* elf/dl-profile.c (_dl_mcount): Check whether state is
GMON_PROF_ON before doing anything.
+2001-05-17 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/dl-profile.c (_dl_mcount): Check whether state is
+ GMON_PROF_ON before doing anything.
+
2001-05-17 H.J. Lu <hjl@gnu.org>
* elf/sprof.c (read_symbols): Move "++symtab" into the while loop.
/* XXX I think this is now not necessary anymore. */
if (! compare_and_swap (&state, GMON_PROF_ON, GMON_PROF_BUSY))
return;
+#else
+ if (state != GMON_PROF_ON)
+ return;
#endif
/* Compute relative addresses. The shared object can be loaded at