diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-07-26 03:08:17 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-07-26 03:08:17 +0000 |
commit | d12026722c5beef719ae2bf363d84b33c2beae75 (patch) | |
tree | d6e371911e739265772bf0c0b6528142871fb70f /libexec/ld.so/sparc | |
parent | 3978754afd4470887e8583ad9c32d8df12985681 (diff) |
Copy relocations can't be jump-slot relocations, so delete the test for that.
ok miod@
Diffstat (limited to 'libexec/ld.so/sparc')
-rw-r--r-- | libexec/ld.so/sparc/rtld_machine.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/ld.so/sparc/rtld_machine.c b/libexec/ld.so/sparc/rtld_machine.c index e743d7c8381..d3806a9dad6 100644 --- a/libexec/ld.so/sparc/rtld_machine.c +++ b/libexec/ld.so/sparc/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.38 2014/04/16 10:52:59 guenther Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.39 2015/07/26 03:08:16 guenther Exp $ */ /* * Copyright (c) 1999 Dale Rahn @@ -290,8 +290,7 @@ resolve_failed: Elf_Addr soff; soff = _dl_find_symbol(symn, &srcsym, - SYM_SEARCH_OTHER|SYM_WARNNOTFOUND| - ((type == R_TYPE(JMP_SLOT)) ? SYM_PLT : SYM_NOTPLT), + SYM_SEARCH_OTHER|SYM_WARNNOTFOUND|SYM_NOTPLT, dstsym, object, NULL); if (srcsym == NULL) goto resolve_failed; |