ObjFW  Diff

Differences From Artifact [1a13549dcf]:

To Artifact [b8c0737017]:


11
12
13
14
15
16
17
18
19


20
21
22

23
24
25
26
27
28
29
11
12
13
14
15
16
17


18
19
20
21

22
23
24
25
26
27
28
29







-
-
+
+


-
+







 * Public License, either version 2 or 3, which can be found in the file
 * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this
 * file.
 */

#include "config.h"

.globl of_forward
.globl of_forward_stret
.globl OFForward
.globl OFForward_stret

.section .text
of_forward:
OFForward:
	pushq	%rbp
	movq	%rsp, %rbp

	/* Save all arguments */
	subq	$0x90, %rsp	/* 16-byte alignment */
	movq	%rax, -0x28(%rbp)
	movq	%rcx, -0x30(%rbp)
84
85
86
87
88
89
90
91
92


93
94
95
96
97

98
99
100
101
102
103
104
84
85
86
87
88
89
90


91
92
93
94
95
96

97
98
99
100
101
102
103
104







-
-
+
+




-
+







0:
	movq	-0x30(%rbp), %rcx
	movq	-0x38(%rbp), %rdx

	movq	%rbp, %rsp
	popq	%rbp

	jmp	of_method_not_found
.def of_forward
	jmp	OFMethodNotFound
.def OFForward
.scl 2
.type 32
.endef

of_forward_stret:
OFForward_stret:
	pushq	%rbp
	movq	%rsp, %rbp

	/* Save all arguments */
	subq	$0x90, %rsp	/* 16-byte alignment */
	movq	%rax, -0x28(%rbp)
	movq	%rcx, -0x30(%rbp)
161
162
163
164
165
166
167
168
169


170
171
172
173
174
175
176
161
162
163
164
165
166
167


168
169
170
171
172
173
174
175
176







-
-
+
+







	movq	-0x30(%rbp), %rcx
	movq	-0x38(%rbp), %rdx
	movq	-0x40(%rbp), %r8

	movq	%rbp, %rsp
	popq	%rbp

	jmp	of_method_not_found_stret
.def of_forward_stret
	jmp	OFMethodNotFound_stret
.def OFForward_stret
.scl 2
.type 32
.endef

init:
	leaq	module(%rip), %rcx
	jmp	__objc_exec_class