aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/lib1funcs.asm
blob: acf22f8153c2389e71faa3ff697bb7b7593d9200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# APPLE LOCAL file 4099000
#define THUNK(REG)				\
.private_extern ___i686.get_pc_thunk.REG	;\
___i686.get_pc_thunk.REG:			;\
	movl    (%esp,1),%REG			;\
	ret					;
	
#ifdef L_get_pc_thunk_ax
THUNK(ax)
#endif
#ifdef L_get_pc_thunk_dx
THUNK(dx)
#endif
#ifdef L_get_pc_thunk_cx
THUNK(cx)
#endif
#ifdef L_get_pc_thunk_bx
THUNK(bx)
#endif
#ifdef L_get_pc_thunk_si
THUNK(si)
#endif
#ifdef L_get_pc_thunk_di
THUNK(di)
#endif
#ifdef L_get_pc_thunk_bp
THUNK(bp)
#endif