Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/sparc/sparc Pull up following revision(s) (reque...



details:   https://anonhg.NetBSD.org/src/rev/6d945ec82a34
branches:  netbsd-8
changeset: 434439:6d945ec82a34
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Nov 27 10:31:33 2017 +0000

description:
Pull up following revision(s) (requested by maya in ticket #392):
        sys/arch/sparc/sparc/locore.s: revision 1.269
Avoid an instruction requiring a higher alignment than we are guaranteed
Fixes PR port-sparc/52721: ddb errors on ps command
Thanks to mlelstv.

diffstat:

 sys/arch/sparc/sparc/locore.s |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 304519db29bd -r 6d945ec82a34 sys/arch/sparc/sparc/locore.s
--- a/sys/arch/sparc/sparc/locore.s     Mon Nov 27 10:21:26 2017 +0000
+++ b/sys/arch/sparc/sparc/locore.s     Mon Nov 27 10:31:33 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.268 2012/11/04 00:32:47 chs Exp $ */
+/*     $NetBSD: locore.s,v 1.268.30.1 2017/11/27 10:31:33 martin Exp $ */
 
 /*
  * Copyright (c) 1996 Paul Kranenburg
@@ -6288,8 +6288,9 @@
        cmp     %fp, %g7        ! compare against desired frame
        bl,a    1b              ! if below,
         restore                !    pop frame and loop
-       be,a    2f              ! if there,
-        ldd    [%g1+0], %o2    !    fetch return %sp and pc, and get out
+       ld      [%g1+0], %o2    ! fetch return %sp
+       be,a    2f              ! we're there, get out
+        ld     [%g1+4], %o3    ! fetch return pc
 
 Llongjmpbotch:
                                ! otherwise, went too far; bomb out



Home | Main Index | Thread Index | Old Index