Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/luna68k/include Make loadfile() accept OMAGIC a.out...
details: https://anonhg.NetBSD.org/src/rev/47e892625cdd
branches: trunk
changeset: 784068:47e892625cdd
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Jan 17 14:20:06 2013 +0000
description:
Make loadfile() accept OMAGIC a.out binary.
LUNA's ROM monitor assumes it.
diffstat:
sys/arch/luna68k/include/loadfile_machdep.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 480d4d60abc3 -r 47e892625cdd sys/arch/luna68k/include/loadfile_machdep.h
--- a/sys/arch/luna68k/include/loadfile_machdep.h Thu Jan 17 06:24:44 2013 +0000
+++ b/sys/arch/luna68k/include/loadfile_machdep.h Thu Jan 17 14:20:06 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loadfile_machdep.h,v 1.1 2013/01/05 17:44:24 tsutsui Exp $ */
+/* $NetBSD: loadfile_machdep.h,v 1.2 2013/01/17 14:20:06 tsutsui Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -52,7 +52,7 @@
#define PROGRESS(a) (void) printf a
#define ALLOC(a) alloc(a)
#define DEALLOC(a, b) dealloc(a, b)
-#define OKMAGIC(a) ((a) == NMAGIC)
+#define OKMAGIC(a) ((a) == NMAGIC || (a) == OMAGIC)
#else
Home |
Main Index |
Thread Index |
Old Index