Psych: amd64 has been passing &_DYNAMIC to _dl_boot_bind() for 19 months
authorguenther <guenther@openbsd.org>
Sun, 7 Aug 2016 02:30:04 +0000 (02:30 +0000)
committerguenther <guenther@openbsd.org>
Sun, 7 Aug 2016 02:30:04 +0000 (02:30 +0000)
lib/csu/boot.h

index f892971..da699ef 100644 (file)
@@ -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;