blob: 79abfb21fdde49e6e7971ac638e27852b23973e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
.file "chkstk.S"
.version "01.01"
.text
/* Function called to loop on the process. */
.align 4
.type __chkstk,@function
.global __chkstk
__chkstk:
testl %eax,%eax
je 0f
subl $4,%eax /* 4 bytes already used by call. */
subl %eax,%esp
jmp *(%esp,%eax)
0:
ret
.size __chkstk, . - __chkstk
.ident "Written by T.Gingold"
|