h_initfini_align.S revision 1.1
1/*	$NetBSD: h_initfini_align.S,v 1.1 2010/12/03 20:51:21 joerg Exp $	*/
2
3#include <machine/asm.h>
4
5RCSID("$NetBSD: h_initfini_align.S,v 1.1 2010/12/03 20:51:21 joerg Exp $")
6
7_ENTRY(check_stack_alignment)
8	movl	%esp, %eax
9	andl	$3, %eax
10	jz 1f
11	xorl	%eax, %eax
12	ret
131:
14	incl	%eax
15	ret
16