summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2008-06-27 17:27:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2008-06-27 17:27:59 +0000
commit187cf2801d94a1831969999fb1efa651e3c22667 (patch)
tree176024dd19cebafcf509f1a9dc327e521135a439 /libexec/ld.so
parent6fc02c748fa12f4ac914c66083502503d300ddff (diff)
Remove again the old _dl_md_reloc() calls-through-plt workaround: it is
no longer necessary now that libgcc is built correctly, and it caused the elfbug regress test to fail.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/sh/rtld_machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/sh/rtld_machine.c b/libexec/ld.so/sh/rtld_machine.c
index dee90ab1b8d..432efa9a691 100644
--- a/libexec/ld.so/sh/rtld_machine.c
+++ b/libexec/ld.so/sh/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.11 2008/04/09 21:45:26 kurt Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.12 2008/06/27 17:27:58 miod Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
@@ -666,7 +666,7 @@ _dl_md_reloc(elf_object_t *object, int rel, int relasz)
value += loff;
} else {
this = NULL;
-#if 0
+#if 1
ooff = _dl_find_symbol_bysym(object,
ELF_R_SYM(rels->r_info), &this,
SYM_SEARCH_ALL|SYM_WARNNOTFOUND|