summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-01-05 11:20:57 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-01-05 11:20:57 +0000
commit34fe484bd1ebda2a0a3be6925defcca214148624 (patch)
treee109e53aac9f159240d7bd2f6d81eb65a3a3bd78 /libexec
parent7d77ce8ae17a2d60c0c384747a1dfb8dabfca904 (diff)
Switch m88k ports to ELF.
Diffstat (limited to 'libexec')
-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 a90cc4d49b1..952042860ef 100644
--- a/libexec/ld.so/ldconfig/prebind.c
+++ b/libexec/ld.so/ldconfig/prebind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prebind.c,v 1.15 2012/03/21 04:28:45 matthew Exp $ */
+/* $OpenBSD: prebind.c,v 1.16 2013/01/05 11:20:55 miod Exp $ */
/*
* Copyright (c) 2006 Dale Rahn <drahn@dalerahn.com>
*
@@ -66,6 +66,9 @@ char *shstrtab;
#ifdef __mips64__
#define RELOC_JMP_SLOT 0 /* XXX mips64 doesnt have PLT reloc */
#endif
+#ifdef __m88k__
+#define RELOC_JMP_SLOT 0 /* XXX no PIC support yet */
+#endif
/* powerpc uses RELOC_JMP_SLOT */
/* sparc uses RELOC_JMP_SLOT */
/* sparc64 uses RELOC_JMP_SLOT */