ObjFW  Diff

Differences From Artifact [95368ab171]:

To Artifact [8ad5ac6701]:


13
14
15
16
17
18
19
20
21


22
23
24

25
26
27
28
29
30
31
13
14
15
16
17
18
19


20
21
22
23

24
25
26
27
28
29
30
31







-
-
+
+


-
+







 * file.
 */

#include "config.h"

#include "platform.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	$0xC0, %rsp	/* 16-byte alignment */
	movq	%rax, -0x8(%rbp)
	movq	%rdi, -0x10(%rbp)
98
99
100
101
102
103
104
105
106
107



108
109

110
111
112
113
114
115
116
98
99
100
101
102
103
104



105
106
107
108

109
110
111
112
113
114
115
116







-
-
-
+
+
+

-
+







0:
	movq	-0x10(%rbp), %rdi
	movq	-0x18(%rbp), %rsi

	movq	%rbp, %rsp
	popq	%rbp

	jmp	of_method_not_found@PLT
.type of_forward, %function
.size of_forward, .-of_forward
	jmp	OFMethodNotFound@PLT
.type OFForward, %function
.size OFForward, .-OFForward

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

	/* Save all arguments */
	subq	$0xC0, %rsp	/* 16-byte alignment */
	movq	%rax, -0x8(%rbp)
	movq	%rdi, -0x10(%rbp)
185
186
187
188
189
190
191
192
193
194



195
196
197
198
199
200
201
185
186
187
188
189
190
191



192
193
194
195
196
197
198
199
200
201







-
-
-
+
+
+







	movq	-0x10(%rbp), %rdi
	movq	-0x18(%rbp), %rsi
	movq	-0x20(%rbp), %rdx

	movq	%rbp, %rsp
	popq	%rbp

	jmp	of_method_not_found_stret@PLT
.type of_forward_stret, %function
.size of_forward_stret, .-of_forward_stret
	jmp	OFMethodNotFound_stret@PLT
.type OFForward_stret, %function
.size OFForward_stret, .-OFForward_stret

init:
	leaq	module(%rip), %rdi
	jmp	__objc_exec_class@PLT

#ifdef OF_SOLARIS
.section .init_array, "aw"