diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2005-09-19 21:08:44 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2005-09-19 21:08:44 +0000 |
commit | ff0cd4e2c0bae34a5978e9b5e35d7a023c8468bb (patch) | |
tree | 6c1eca93c69c287d05e80b9ce76f49fd74e06db6 /libexec | |
parent | 5554a5165f80f7ce5614da5542069c9c2fc95e89 (diff) |
stop searching after first matching symbol is found. okay drahn@
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ld.so/resolve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/resolve.c b/libexec/ld.so/resolve.c index 62dd3bffe4b..d79362cf0de 100644 --- a/libexec/ld.so/resolve.c +++ b/libexec/ld.so/resolve.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolve.c,v 1.30 2005/09/19 02:31:04 drahn Exp $ */ +/* $OpenBSD: resolve.c,v 1.31 2005/09/19 21:08:43 kurt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -342,7 +342,7 @@ _dl_find_symbol(const char *name, const Elf_Sym **ref, ref, &weak_sym, &weak_object)) { object = m->data; found = 1; - break; + goto found; } } } |