11.1Smatt/*	$NetBSD: h_initfini_align.S,v 1.1 2013/12/11 17:31:56 matt Exp $	*/
21.1Smatt
31.1Smatt#include <machine/asm.h>
41.1Smatt
51.1SmattRCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/12/11 17:31:56 matt Exp $")
61.1Smatt
71.1Smatt/*
81.1Smatt * LINTSTUB: bool check_stack_alignment(void);
91.1Smatt */
101.1Smatt
111.1Smatt_ENTRY(check_stack_alignment, 0)
121.1Smatt	clrl	%r0
131.1Smatt	bitl	$3,%sp
141.1Smatt	bneq	1f
151.1Smatt	incl	%r0
161.1Smatt1:	ret
171.1SmattEND(check_stack_alignment)
18