mirror of git://sourceware.org/git/glibc.git
parent
dec126b41a
commit
7e281477f1
|
|
@ -1,5 +1,7 @@
|
||||||
2000-06-07 Ulrich Drepper <drepper@redhat.com>
|
2000-06-07 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* elf/do-lookup.h: Add some __builtin_expect.
|
||||||
|
|
||||||
* dlfcn/dlfcn.h: Pretty print dladdr declaraction.
|
* dlfcn/dlfcn.h: Pretty print dladdr declaraction.
|
||||||
|
|
||||||
* elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
|
* elf/rtld.c (process_envvars): Recognize LD_DYNAMIC_WEAK.
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ FCT (const char *undef_name, struct link_map *undef_map,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
#if VERSIONED
|
#if VERSIONED
|
||||||
if (verstab == NULL)
|
if (__builtin_expect (verstab == NULL, 0))
|
||||||
{
|
{
|
||||||
/* We need a versioned symbol but haven't found any. If
|
/* We need a versioned symbol but haven't found any. If
|
||||||
this is the object which is referenced in the verneed
|
this is the object which is referenced in the verneed
|
||||||
|
|
@ -184,7 +184,7 @@ FCT (const char *undef_name, struct link_map *undef_map,
|
||||||
/* If this current map is the one mentioned in the verneed entry
|
/* If this current map is the one mentioned in the verneed entry
|
||||||
and we have not found a weak entry, it is a bug. */
|
and we have not found a weak entry, it is a bug. */
|
||||||
if (symidx == STN_UNDEF && version->filename != NULL
|
if (symidx == STN_UNDEF && version->filename != NULL
|
||||||
&& _dl_name_match_p (version->filename, map))
|
&& __builtin_expect (_dl_name_match_p (version->filename, map), 0))
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue