Add stack alignement test for sparc
This commit is contained in:
parent
f11ea73cc4
commit
714f2fc9c2
|
@ -0,0 +1,10 @@
|
|||
/* $NetBSD: h_initfini_align.S,v 1.1 2013/12/12 11:22:26 martin Exp $ */
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
||||
RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/12/12 11:22:26 martin Exp $")
|
||||
|
||||
_ENTRY(check_stack_alignment)
|
||||
and %sp, 7, %o1
|
||||
retl
|
||||
not %o1, %o0
|
Loading…
Reference in New Issue