From 768027a456732285abffbddbce3127a29cdacf3e Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 2 Oct 2006 18:25:29 +0000 Subject: * elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK is used. --- elf/rtld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elf/rtld.c') diff --git a/elf/rtld.c b/elf/rtld.c index 718fa13b71..7746377f37 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -2087,7 +2087,8 @@ ERROR: ld.so: object '%s' cannot be loaded as audit interface: %s; ignored.\n", } if (main_map->l_info[ADDRIDX (DT_GNU_LIBLIST)] - && ! __builtin_expect (GLRO(dl_profile) != NULL, 0)) + && ! __builtin_expect (GLRO(dl_profile) != NULL, 0) + && ! __builtin_expect (GLRO(dl_dynamic_weak), 0)) { ElfW(Lib) *liblist, *liblistend; struct link_map **r_list, **r_listend, *l; -- cgit 1.4.1