Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc Add more sanity check.



details:   https://anonhg.NetBSD.org/src/rev/ecbff7bd9ada
branches:  trunk
changeset: 472464:ecbff7bd9ada
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Fri Apr 30 04:35:35 1999 +0000

description:
Add more sanity check.

diffstat:

 sys/arch/macppc/macppc/locore.S |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 5809dfcc7157 -r ecbff7bd9ada sys/arch/macppc/macppc/locore.S
--- a/sys/arch/macppc/macppc/locore.S   Fri Apr 30 04:33:51 1999 +0000
+++ b/sys/arch/macppc/macppc/locore.S   Fri Apr 30 04:35:35 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.14 1999/04/29 05:15:30 tsubai Exp $       */
+/*     $NetBSD: locore.S,v 1.15 1999/04/30 04:35:35 tsubai Exp $       */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -134,6 +134,8 @@
        addi    8,8,_C_LABEL(end)@l
 #ifdef DDB
        /* skip symbol table */
+       cmpwi   6,0
+       beq     1f
        add     9,6,7                   /* r9 = args + l */
        lwz     9,-8(9)                 /* esym */
        cmpwi   9,0



Home | Main Index | Thread Index | Old Index