xref: /freebsd/contrib/netbsd-tests/lib/csu/arch/sparc/h_initfini_align.S (revision 7ef62cebc2f965b0f640263e179276928885e33d)
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