From e3265f5bc52f21b7da063813b4d0134a343e9a28 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Apr 2000 07:09:10 +0000 Subject: Update. 2000-04-17 Ulrich Drepper * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use. --- elf/dl-lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c index 7ac87702a4..16e00b0485 100644 --- a/elf/dl-lookup.c +++ b/elf/dl-lookup.c @@ -102,7 +102,7 @@ add_dependency (struct link_map *undef_map, struct link_map *map) if (list[i] == map) break; - if (__builtin_expect (i, act) == act) + if (__builtin_expect (i == act, 1)) { /* No normal dependency. See whether we already had to add it to the special list of dynamic dependencies. */ -- cgit 1.4.1