mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Update.
2001-05-17 Ulrich Drepper <drepper@redhat.com> * elf/dl-profile.c (_dl_mcount): Check whether state is GMON_PROF_ON before doing anything.
This commit is contained in:
parent
8d88a16405
commit
7f81ac7007
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -439,6 +439,9 @@ _dl_mcount (ElfW(Addr) frompc, ElfW(Addr) selfpc)
|
||||
/* 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
|
||||
|
Loading…
Reference in New Issue
Block a user