Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/hpcmips Fix symbol names, Elf_e_indet and E...



details:   https://anonhg.NetBSD.org/src/rev/40116bd425f0
branches:  trunk
changeset: 477664:40116bd425f0
user:      takemura <takemura%NetBSD.org@localhost>
date:      Wed Oct 27 02:22:21 1999 +0000

description:
Fix symbol names, Elf_e_indet and Elf_e_siz because sys/exec_elf.h was changed.

diffstat:

 sys/arch/hpcmips/hpcmips/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d97d47410ae9 -r 40116bd425f0 sys/arch/hpcmips/hpcmips/machdep.c
--- a/sys/arch/hpcmips/hpcmips/machdep.c        Wed Oct 27 00:48:36 1999 +0000
+++ b/sys/arch/hpcmips/hpcmips/machdep.c        Wed Oct 27 02:22:21 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.1.1.1 1999/09/16 12:23:20 takemura Exp $ */
+/*     $NetBSD: machdep.c,v 1.2 1999/10/27 02:22:21 takemura Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.1.1.1 1999/09/16 12:23:20 takemura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.2 1999/10/27 02:22:21 takemura Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -194,7 +194,7 @@
 
        /* clear the BSS segment */
 #ifdef DDB
-       if (!strncmp(end,Elf_e_ident,Elf_e_siz)) {
+       if (!strncmp(end, ELFMAG, SELFMAG)) {
                esym = end;
                esym += ((Elf_Ehdr *)end)->e_entry;
                kernend = (caddr_t)mips_round_page(esym);



Home | Main Index | Thread Index | Old Index