Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include Handle 64 bit kernels.
details: https://anonhg.NetBSD.org/src/rev/65f79517c375
branches: trunk
changeset: 357344:65f79517c375
user: christos <christos%NetBSD.org@localhost>
date: Mon Nov 06 19:17:43 2017 +0000
description:
Handle 64 bit kernels.
diffstat:
sys/arch/mips/include/elf_machdep.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r afc425ca70b1 -r 65f79517c375 sys/arch/mips/include/elf_machdep.h
--- a/sys/arch/mips/include/elf_machdep.h Mon Nov 06 19:12:23 2017 +0000
+++ b/sys/arch/mips/include/elf_machdep.h Mon Nov 06 19:17:43 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elf_machdep.h,v 1.19 2017/11/06 03:47:47 christos Exp $ */
+/* $NetBSD: elf_machdep.h,v 1.20 2017/11/06 19:17:43 christos Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -28,10 +28,11 @@
#ifndef _MIPS_ELF_MACHDEP_H_
#define _MIPS_ELF_MACHDEP_H_
-#define KERN_ELFSIZE 32
#ifdef _LP64
+#define KERN_ELFSIZE 64
#define ARCH_ELFSIZE 64 /* MD native binary size */
#else
+#define KERN_ELFSIZE 32
#define ARCH_ELFSIZE 32 /* MD native binary size */
#endif
Home |
Main Index |
Thread Index |
Old Index