summaryrefslogtreecommitdiffstats
path: root/loader/stubs.S
blob: dac38b0fdf72d1c07c452b66f64072c3c253fcde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#if defined(__APPLE__)
# define SYM(x) _ ## x
#else
# define SYM(x) x
#endif
	.data
.globl SYM(exp_EH_prolog)
SYM(exp_EH_prolog):
	pushl $0xff
	pushl %eax
	pushl %fs:0
	movl  %esp, %fs:0
	movl  12(%esp), %eax
	movl  %ebp, 12(%esp)
	leal  12(%esp), %ebp
	pushl %eax
	ret