summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2006-11-13 13:13:14 +0000
committerdrahn <drahn@openbsd.org>2006-11-13 13:13:14 +0000
commitf3941a30e31f01c6943e1ca1b7d41107da71f402 (patch)
tree4c8c986575ac663dc4cb99975f289dff0473099c
parentAdd server-side bits for admin command. (diff)
downloadwireguard-openbsd-f3941a30e31f01c6943e1ca1b7d41107da71f402.tar.xz
wireguard-openbsd-f3941a30e31f01c6943e1ca1b7d41107da71f402.zip
Let this build on landisk.
-rw-r--r--libexec/ld.so/ldconfig/prebind.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/ld.so/ldconfig/prebind.c b/libexec/ld.so/ldconfig/prebind.c
index a81f8792e85..c4d2080fddc 100644
--- a/libexec/ld.so/ldconfig/prebind.c
+++ b/libexec/ld.so/ldconfig/prebind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prebind.c,v 1.7 2006/06/26 23:26:12 drahn Exp $ */
+/* $OpenBSD: prebind.c,v 1.8 2006/11/13 13:13:14 drahn Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@dalerahn.com>
*
@@ -60,6 +60,9 @@ char *shstrtab;
#ifdef __i386__
#define RELOC_JMP_SLOT RELOC_JUMP_SLOT
#endif
+#ifdef __sh__
+#define RELOC_JMP_SLOT R_SH_JMP_SLOT
+#endif
#ifdef __mips64__
#define RELOC_JMP_SLOT 0 /* XXX mips64 doesnt have PLT reloc */
#endif