1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
* elf/rtld.c: Correct use of __builtin_expect.

	* elf/dl-close.c: Remove commented-out code.
This commit is contained in:
Ulrich Drepper
2001-08-04 15:05:57 +00:00
parent 6906cea4cc
commit c2a714f32e
3 changed files with 6 additions and 3 deletions

View File

@@ -823,7 +823,7 @@ of this helper program; chances are you did not intend to run this program.\n\
if (_dl_rtld_map.l_next)
_dl_rtld_map.l_next->l_prev = _dl_rtld_map.l_prev;
if (__builtin_expect (_dl_rtld_map.l_opencount, 2) > 1)
if (__builtin_expect (_dl_rtld_map.l_opencount > 1, 1))
{
/* Some DT_NEEDED entry referred to the interpreter object itself, so
put it back in the list of visible objects. We insert it into the