diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-07 02:59:28 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-08-07 02:59:28 +0000 |
commit | c40eb1df912be0089b4182c56570f89dc56af0a6 (patch) | |
tree | e9599efcba67b1cf3fcf06748c7602ac5b91625f /libexec | |
parent | 1eb48fdce182f80a2d4b12cfb7d923ddad144f9e (diff) |
hahahah: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for
*149 months*
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ld.so/boot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/boot.c b/libexec/ld.so/boot.c index 89c42ebfb13..3216bdffcc3 100644 --- a/libexec/ld.so/boot.c +++ b/libexec/ld.so/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.8 2016/08/07 02:57:19 guenther Exp $ */ +/* $OpenBSD: boot.c,v 1.9 2016/08/07 02:59:27 guenther Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -129,7 +129,7 @@ _dl_boot_bind(const long sp, long *dl_data, Elf_Dyn *dynamicp) #if defined(__alpha__) dynp = (Elf_Dyn *)((long)_DYNAMIC); -#elif defined(__amd64__) || defined(__arm__) || defined(__i386__) || defined(__mips64__) +#elif defined(__arm__) || defined(__i386__) || defined(__mips64__) dynp = (Elf_Dyn *)((long)_DYNAMIC + loff); #else dynp = dynamicp; |