summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-03-29 22:57:07 +0000
committermiod <miod@openbsd.org>2013-03-29 22:57:07 +0000
commit07d9c00f0cc9b191771b52c81995a432b368c56c (patch)
tree5c3ca4ff7bbf2209228ed42f2a7e04810c330bc6
parentres_querydomain()'s code to terminate the domain with '.' had the assignment (diff)
downloadwireguard-openbsd-07d9c00f0cc9b191771b52c81995a432b368c56c.tar.xz
wireguard-openbsd-07d9c00f0cc9b191771b52c81995a432b368c56c.zip
Enable lazy binding by default.
-rw-r--r--libexec/ld.so/sh/rtld_machine.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libexec/ld.so/sh/rtld_machine.c b/libexec/ld.so/sh/rtld_machine.c
index 9e11c8a9370..d41e4ba3866 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.16 2013/03/26 18:53:47 miod Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.17 2013/03/29 22:57:07 miod Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
@@ -773,9 +773,6 @@ _dl_md_reloc_got(elf_object_t *object, int lazy)
int i, num;
Elf_RelA *rel;
- /* XXX - lazy binding not supported yet */
- lazy = 0;
-
if (object->Dyn.info[DT_PLTREL] != DT_RELA)
return (0);