diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-07-04 21:15:08 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-07-04 21:15:08 +0000 |
commit | c8dea68425800f4f9dccc43c2c462ac801558d0f (patch) | |
tree | 9cf09bf02f392d85c44eea00d7737e6d83f7b55f /libexec/ld.so/resolve.c | |
parent | 2fa1b9a766208be2a20696f44039dcd4005094fa (diff) |
Remove prebind support: binding to symbol table indices is too fragile
for our development process.
ok kettenis@ deraadt@
Diffstat (limited to 'libexec/ld.so/resolve.c')
-rw-r--r-- | libexec/ld.so/resolve.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/resolve.c b/libexec/ld.so/resolve.c index 345fbcd2d7c..d6c2e525c6e 100644 --- a/libexec/ld.so/resolve.c +++ b/libexec/ld.so/resolve.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolve.c,v 1.72 2016/03/20 02:29:51 guenther Exp $ */ +/* $OpenBSD: resolve.c,v 1.73 2016/07/04 21:15:06 guenther Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -37,7 +37,6 @@ #include "archdep.h" #include "path.h" #include "resolve.h" -#include "dl_prebind.h" /* substitution types */ typedef enum { @@ -498,8 +497,6 @@ _dl_find_symbol_bysym(elf_object_t *req_obj, unsigned int symidx, *this = _dl_symcache[symidx].sym; if (pobj) *pobj = sobj; - if (_dl_prebind_validate) /* XXX */ - prebind_validate(req_obj, symidx, flags, ref_sym); return sobj->obj_base; } |