aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.2.1-5666.3/gcc/config/i386/lib1funcs.asm
blob: c672024bbddeb5fdfdeba9d2da40bbbaed9aa1aa (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
29
30
# APPLE LOCAL file 4099000
#ifndef __x86_64__
#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(eax)
#endif
#ifdef L_get_pc_thunk_dx
THUNK(edx)
#endif
#ifdef L_get_pc_thunk_cx
THUNK(ecx)
#endif
#ifdef L_get_pc_thunk_bx
THUNK(ebx)
#endif
#ifdef L_get_pc_thunk_si
THUNK(esi)
#endif
#ifdef L_get_pc_thunk_di
THUNK(edi)
#endif
#ifdef L_get_pc_thunk_bp
THUNK(ebp)
#endif
#endif