diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-05 11:20:57 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-01-05 11:20:57 +0000 |
commit | 34fe484bd1ebda2a0a3be6925defcca214148624 (patch) | |
tree | e109e53aac9f159240d7bd2f6d81eb65a3a3bd78 /libexec | |
parent | 7d77ce8ae17a2d60c0c384747a1dfb8dabfca904 (diff) |
Switch m88k ports to ELF.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ld.so/ldconfig/prebind.c | 5 |
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 */ |