Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/kdump You don't have to be _LP64 to run 32 bit binar...



details:   https://anonhg.NetBSD.org/src/rev/0a669b32c14d
branches:  trunk
changeset: 451113:0a669b32c14d
user:      christos <christos%NetBSD.org@localhost>
date:      Mon May 06 19:20:13 2019 +0000

description:
You don't have to be _LP64 to run 32 bit binaries. You can be mips (64 bit
kernel/32 bit userland).

diffstat:

 usr.bin/kdump/kdump.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r c6a461f00dba -r 0a669b32c14d usr.bin/kdump/kdump.c
--- a/usr.bin/kdump/kdump.c     Mon May 06 17:20:38 2019 +0000
+++ b/usr.bin/kdump/kdump.c     Mon May 06 19:20:13 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kdump.c,v 1.130 2018/04/29 18:00:31 christos Exp $     */
+/*     $NetBSD: kdump.c,v 1.131 2019/05/06 19:20:13 christos Exp $     */
 
 /*-
  * Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)kdump.c    8.4 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: kdump.c,v 1.130 2018/04/29 18:00:31 christos Exp $");
+__RCSID("$NetBSD: kdump.c,v 1.131 2019/05/06 19:20:13 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -568,7 +568,6 @@
                sys_name = emul->sysnames[ktr->ktr_code];
                (void)printf("%s", sys_name);
        }
-#ifdef _LP64
 #define NETBSD32_      "netbsd32_"
        if (cur_emul->flags & EMUL_FLAG_NETBSD32) {
                size_t len = strlen(NETBSD32_);
@@ -576,7 +575,6 @@
                        sys_name += len;
        }
 #undef NETBSD32_
-#endif
 
        ap = (register_t *)((char *)ktr + sizeof(struct ktr_syscall));
        if (argcount) {



Home | Main Index | Thread Index | Old Index