From 3eeab3822d6a9cf73b402c8f8e1d92429aad2140 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 16 Aug 2000 08:16:58 +0000 Subject: [PATCH] deal with 64 bit ELF --- sys/arch/sparc/include/loadfile_machdep.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc/include/loadfile_machdep.h b/sys/arch/sparc/include/loadfile_machdep.h index 8662c80e2d9c..46ee3d740de6 100644 --- a/sys/arch/sparc/include/loadfile_machdep.h +++ b/sys/arch/sparc/include/loadfile_machdep.h @@ -1,4 +1,4 @@ -/* $NetBSD: loadfile_machdep.h,v 1.2 1999/04/30 13:28:58 christos Exp $ */ +/* $NetBSD: loadfile_machdep.h,v 1.3 2000/08/16 08:16:58 mrg Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -38,7 +38,11 @@ #define BOOT_AOUT #define BOOT_ELF +#ifdef __sparc_v9__ +#define ELFSIZE 64 +#else #define ELFSIZE 32 +#endif #define LOAD_KERNEL LOAD_ALL #define COUNT_KERNEL COUNT_ALL