57718be8fa
minus the vendor Makefiles Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
17 lines
346 B
ArmAsm
17 lines
346 B
ArmAsm
/* $NetBSD: h_initfini_align.S,v 1.1 2013/12/11 17:31:55 matt Exp $ */
|
|
|
|
#include <machine/asm.h>
|
|
|
|
RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/12/11 17:31:55 matt Exp $")
|
|
|
|
/*
|
|
* LINTSTUB: bool check_stack_alignment(void);
|
|
*/
|
|
|
|
LEAF_NOPROFILE(check_stack_alignment, 0)
|
|
ldiq v0, 0
|
|
and sp, 7, t0
|
|
cmoveq t0, 1, v0
|
|
ret
|
|
END(check_stack_alignment)
|