summaryrefslogtreecommitdiff
path: root/libexec/ld.so/dl_prebind.c
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2006-05-05 04:45:03 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2006-05-05 04:45:03 +0000
commit16456b7c6e5df4f3ecad9aa7e38cef219bdc850c (patch)
tree42c227f0fcad9b5d126487802d9813bea0301b13 /libexec/ld.so/dl_prebind.c
parentb1ce35673e26a55251fd2e6e0e4eb50fab101c4c (diff)
Make certain that it doesn't try to load prelink info once the primary link
is finished. prelink on dlopen cannot work, the symbol cache still works, just cannot be preloaded. fixes xchm.
Diffstat (limited to 'libexec/ld.so/dl_prebind.c')
-rw-r--r--libexec/ld.so/dl_prebind.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ld.so/dl_prebind.c b/libexec/ld.so/dl_prebind.c
index e1627676f93..870e33972f0 100644
--- a/libexec/ld.so/dl_prebind.c
+++ b/libexec/ld.so/dl_prebind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dl_prebind.c,v 1.2 2006/05/04 15:03:31 drahn Exp $ */
+/* $OpenBSD: dl_prebind.c,v 1.3 2006/05/05 04:45:02 drahn Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@dalerahn.com>
*
@@ -383,6 +383,7 @@ prebind_free(elf_object_t *object)
ELF_TRUNC((long)object->prebind_data, _dl_pagesz));
object->prebind_data = NULL;
+ _dl_prog_prebind_map = NULL;
}
}