xref: /freebsd/contrib/netbsd-tests/lib/csu/arch/sparc/h_initfini_align.S (revision 9268022b74279434ed6300244e3f977e56a8ceb5)
1/*	$NetBSD: h_initfini_align.S,v 1.1 2013/12/12 11:22:26 martin Exp $	*/
2
3#include <machine/asm.h>
4
5RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/12/12 11:22:26 martin Exp $")
6
7_ENTRY(check_stack_alignment)
8	and	%sp, 7, %o1
9	retl
10	 not	%o1, %o0
11