aboutsummaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-04 15:05:57 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-04 15:05:57 +0000
commitc2a714f32e6c56358f6dc9400de882753e966d22 (patch)
tree1b89401522a1b171f3f11ea77f41571fe126aefc /elf/rtld.c
parent6906cea4cc14c72110dc35c625491d482d4caef1 (diff)
downloadglibc-c2a714f32e6c56358f6dc9400de882753e966d22.tar
glibc-c2a714f32e6c56358f6dc9400de882753e966d22.tar.gz
glibc-c2a714f32e6c56358f6dc9400de882753e966d22.tar.bz2
glibc-c2a714f32e6c56358f6dc9400de882753e966d22.zip
Update.
* elf/rtld.c: Correct use of __builtin_expect. * elf/dl-close.c: Remove commented-out code.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 36dbc6f94c..2eddb5a40a 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -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