Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/csu/arch/powerpc check the lower bits of the stack...



details:   https://anonhg.NetBSD.org/src/rev/4bf050891859
branches:  trunk
changeset: 822059:4bf050891859
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Feb 27 20:22:32 2017 +0000

description:
check the lower bits of the stack pointer,
not the lower bits of the upper half of the stack pointer.

diffstat:

 tests/lib/csu/arch/powerpc/h_initfini_align.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 6ebc7757f8b0 -r 4bf050891859 tests/lib/csu/arch/powerpc/h_initfini_align.S
--- a/tests/lib/csu/arch/powerpc/h_initfini_align.S     Mon Feb 27 18:30:42 2017 +0000
+++ b/tests/lib/csu/arch/powerpc/h_initfini_align.S     Mon Feb 27 20:22:32 2017 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: h_initfini_align.S,v 1.1 2013/12/11 17:31:56 matt Exp $        */
+/*     $NetBSD: h_initfini_align.S,v 1.2 2017/02/27 20:22:32 chs Exp $ */
 
 #include <machine/asm.h>
 
-RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/12/11 17:31:56 matt Exp $")
+RCSID("$NetBSD: h_initfini_align.S,v 1.2 2017/02/27 20:22:32 chs Exp $")
 
 /*
  * LINTSTUB: bool check_stack_alignment(void);
@@ -10,7 +10,7 @@
 
 _ENTRY(check_stack_alignment)
        li      %r3,0
-       andis.  %r0,%r1,15
+       andi.   %r0,%r1,15
        bnelr   %cr0
        li      %r3,1
        blr



Home | Main Index | Thread Index | Old Index