summaryrefslogtreecommitdiffstats
path: root/xpcom/reflect/xptcall/md/unix/xptcstubs_asm_x86_solaris_SUNW.s
blob: 76bdcf925b79f600b4000c50f1a942f0a7132b3d (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#define STUB_ENTRY1(nn)	\
 	.globl __1cOnsXPTCStubBaseFStub/**/nn/**/6M_I_; \
	.type __1cOnsXPTCStubBaseFStub/**/nn/**/6M_I_, @function; \
__1cOnsXPTCStubBaseFStub/**/nn/**/6M_I_: \
	push       %ebp; \
	movl       %esp,%ebp; \
	andl       $-16,%esp; \
	push       %ebx;	\
	call       .CG4./**/nn/**/; \
.CG4./**/nn/**/: \
	pop        %ebx;	 \
	addl       $_GLOBAL_OFFSET_TABLE_+0x1,%ebx; \
	leal	0xc(%ebp), %ecx; \
	pushl	%ecx; \
	pushl	$/**/nn/**/; \
	movl	0x8(%ebp), %ecx; \
	pushl	%ecx; \
	call	__1cSPrepareAndDispatch6FpnOnsXPTCStubBase_IpI_I_; \
	addl	$0xc , %esp; \
	pop        %ebx; \
	movl       %ebp,%esp; \
	pop        %ebp; \
	ret        ; \
	.size __1cOnsXPTCStubBaseFStub/**/nn/**/6M_I_, . - __1cOnsXPTCStubBaseFStub/**/nn/**/6M_I_ \

#define STUB_ENTRY2(nn)	\
 	.globl __1cOnsXPTCStubBaseGStub/**/nn/**/6M_I_; \
	.type __1cOnsXPTCStubBaseGStub/**/nn/**/6M_I_, @function; \
__1cOnsXPTCStubBaseGStub/**/nn/**/6M_I_: \
	push       %ebp; \
	movl       %esp,%ebp; \
	andl       $-16,%esp; \
	push       %ebx;	\
	call       .CG4./**/nn/**/; \
.CG4./**/nn/**/: \
	pop        %ebx;	 \
	addl       $_GLOBAL_OFFSET_TABLE_+0x1,%ebx; \
	leal	0xc(%ebp), %ecx; \
	pushl	%ecx; \
	pushl	$/**/nn/**/; \
	movl	0x8(%ebp), %ecx; \
	pushl	%ecx; \
	call	__1cSPrepareAndDispatch6FpnOnsXPTCStubBase_IpI_I_; \
	addl	$0xc , %esp; \
	pop        %ebx; \
	movl       %ebp,%esp; \
	pop        %ebp; \
	ret        ; \
	.size __1cOnsXPTCStubBaseGStub/**/nn/**/6M_I_, . - __1cOnsXPTCStubBaseGStub/**/nn/**/6M_I_ \

#define STUB_ENTRY3(nn)	\
 	.globl __1cOnsXPTCStubBaseHStub/**/nn/**/6M_I_; \
	.type __1cOnsXPTCStubBaseHStub/**/nn/**/6M_I_, @function; \
__1cOnsXPTCStubBaseHStub/**/nn/**/6M_I_: \
	push       %ebp; \
	movl       %esp,%ebp; \
	andl       $-16,%esp; \
	push       %ebx;	\
	call       .CG4./**/nn/**/; \
.CG4./**/nn/**/: \
	pop        %ebx;	 \
	addl       $_GLOBAL_OFFSET_TABLE_+0x1,%ebx; \
	leal	0xc(%ebp), %ecx; \
	pushl	%ecx; \
	pushl	$/**/nn/**/; \
	movl	0x8(%ebp), %ecx; \
	pushl	%ecx; \
	call	__1cSPrepareAndDispatch6FpnOnsXPTCStubBase_IpI_I_; \
	addl	$0xc , %esp; \
	pop        %ebx; \
	movl       %ebp,%esp; \
	pop        %ebp; \
	ret        ; \
	.size __1cOnsXPTCStubBaseHStub/**/nn/**/6M_I_, . - __1cOnsXPTCStubBaseHStub/**/nn/**/6M_I_ \

#define SENTINEL_ENTRY(nn)

#include "xptcstubsdef_asm.solx86"