1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2004-03-06  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-open.c: No need to pass any parameter to _dl_start_profile.
	They are the same in both places.
	* elf/dl-profile.c: Likewise.
	* elf/rtld.c: Likewise.
	* sysdeps/generic/ldsodefs.h: Likewise.
	* elf/dl-support.c: Define _dl_profile_output variable.  Initialize it.
This commit is contained in:
Ulrich Drepper
2004-03-06 09:07:56 +00:00
parent 154d10bdf1
commit 53bfdc1cf6
6 changed files with 27 additions and 14 deletions

View File

@ -305,7 +305,7 @@ dl_open_worker (void *a)
return;
/* It was already open. */
if (new->l_searchlist.r_list != NULL)
if (__builtin_expect (new->l_searchlist.r_list != NULL, 0))
{
/* Let the user know about the opencount. */
if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0))
@ -362,8 +362,7 @@ dl_open_worker (void *a)
if (old_profile_map == NULL && GL(dl_profile_map) != NULL)
/* We must prepare the profiling. */
GLRO(dl_start_profile) (GL(dl_profile_map),
GLRO(dl_profile_output));
GLRO(dl_start_profile) ();
}
else
#endif