summaryrefslogtreecommitdiff
path: root/distrib/common
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-02-04 14:28:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-02-04 14:28:23 +0000
commitc156a6bed878e416e924cf5627d47cef7f4ed4f8 (patch)
tree9ed3ec7b001d40de511a9e7835e036aedfe7770f /distrib/common
parente047980b322fe42e119d8e82d3b63b8ccad196f9 (diff)
hand craft elf size for amd64
Diffstat (limited to 'distrib/common')
-rw-r--r--distrib/common/elfrdsetroot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/common/elfrdsetroot.c b/distrib/common/elfrdsetroot.c
index 67f857cfe0f..3c276077e15 100644
--- a/distrib/common/elfrdsetroot.c
+++ b/distrib/common/elfrdsetroot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elfrdsetroot.c,v 1.4 2003/10/27 20:58:46 millert Exp $ */
+/* $OpenBSD: elfrdsetroot.c,v 1.5 2004/02/04 14:28:22 mickey Exp $ */
/* $NetBSD: rdsetroot.c,v 1.2 1995/10/13 16:38:39 gwr Exp $ */
/*
@@ -44,7 +44,8 @@
#include <unistd.h>
#include <nlist.h>
-#if defined(__alpha__) || defined(__sparc64__) /* XXXXXX */
+#if defined(__alpha__) || defined(__sparc64__) || \
+ defined(__x86_64__) /* XXXXXX */
#define ELFSIZE 64
#else
#define ELFSIZE 32