repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/protocols - sync with NetBSD-8
[minix.git]
/
tests
/
lib
/
csu
/
arch
/
x86_64
/
h_initfini_align.S
blob
fbc1e56a6354a08453545189ce5eb015837d145f
1
/* $NetBSD: h_initfini_align.S,v 1.2 2010/12/12 18:21:21 joerg Exp $ */
2
3
#include <machine/asm.h>
4
5
RCSID("$NetBSD: h_initfini_align.S,v 1.2 2010/12/12 18:21:21 joerg Exp $")
6
7
_ENTRY(check_stack_alignment)
8
movl %esp, %eax
9
andl $15, %eax
10
subl $8, %eax
11
sete %al
12
movzbl %al, %eax
13
ret