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