From dcf7e072f0b519e25b00bc36b107e1b650137a8c Mon Sep 17 00:00:00 2001 From: guenther Date: Sun, 7 Aug 2016 02:30:04 +0000 Subject: [PATCH] Psych: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for 19 months --- lib/csu/boot.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/csu/boot.h b/lib/csu/boot.h index f892971133e..da699efb6d2 100644 --- a/lib/csu/boot.h +++ b/lib/csu/boot.h @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.h,v 1.17 2016/08/07 02:28:12 guenther Exp $ */ +/* $OpenBSD: boot.h,v 1.18 2016/08/07 02:30:04 guenther Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -148,7 +148,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(__i386__) || defined(__mips64__) +#elif defined(__i386__) || defined(__mips64__) dynp = (Elf_Dyn *)((long)_DYNAMIC + loff); #else dynp = dynamicp; -- 2.20.1