summaryrefslogtreecommitdiff
path: root/libexec/ld.so/boot.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-07-15 09:25:48 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-07-15 09:25:48 +0000
commit4ccc00d7e9c79308c12f84aba74016ab3b61d463 (patch)
tree62c800b593cb7eeb79c054d09bc89f488cc2f1f5 /libexec/ld.so/boot.c
parentb4d2b85e1a53dfc01e1db9d2784538e7829a5987 (diff)
Switch m88k to pass &_DYNAMIC to _dl_boot_bind()
probably works: this ASM pattern is already used for _dl_dtors
Diffstat (limited to 'libexec/ld.so/boot.c')
-rw-r--r--libexec/ld.so/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/boot.c b/libexec/ld.so/boot.c
index 30e646cb22f..8271e386717 100644
--- a/libexec/ld.so/boot.c
+++ b/libexec/ld.so/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.6 2015/12/06 23:36:12 guenther Exp $ */
+/* $OpenBSD: boot.c,v 1.7 2016/07/15 09:25:47 guenther Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -130,7 +130,7 @@ _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynamicp)
#if defined(__alpha__)
dynp = (Elf_Dyn *)((long)_DYNAMIC);
#elif defined(__sparc__) || defined(__sparc64__) || defined(__powerpc__) || \
- defined(__hppa__) || defined(__sh__)
+ defined(__hppa__) || defined(__sh__) || defined(__m88k__)
dynp = dynamicp;
#else
dynp = (Elf_Dyn *)((long)_DYNAMIC + loff);