mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
* elf/rtld.c: Correct use of __builtin_expect. * elf/dl-close.c: Remove commented-out code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user