ObjFW  Check-in [3695e89467]

Overview
Comment:Make section .ctors "aw".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3695e894671299e8cbee28e43e65ab14ecd6bab362bfb3ab055a219877781811
User & Date: js on 2013-12-25 00:01:08
Other Links: manifest | tags
Context
2013-12-25
14:34
PLATFORMS.md: Add a section about forwarding. check-in: 5f2b90222e user: js tags: trunk
00:01
Make section .ctors "aw". check-in: 3695e89467 user: js tags: trunk
2013-12-24
23:23
Get rid of a stupid warning when using (old) GCC. check-in: 55c9063260 user: js tags: trunk
Changes

Modified src/forwarding/forwarding-amd64-elf.S from [2ec536dc20] to [6c6e2ed7b7].

137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.type of_forward_stret, %function
.size of_forward_stret, .-of_forward_stret

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

.section .ctors, "a", %progbits
	.quad init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data







|







137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.type of_forward_stret, %function
.size of_forward_stret, .-of_forward_stret

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

.section .ctors, "aw", %progbits
	.quad init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data

Modified src/forwarding/forwarding-arm-elf.S from [35b02bf9ed] to [78ba43410f].

84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
sel_forwardingTargetForSelector_$indirect_L0:
	.long sel_forwardingTargetForSelector_-(.L0+8)
sel_forwardingTargetForSelector_$indirect_L1:
	.long sel_forwardingTargetForSelector_-(.L1+8)
module_indirect_L2:
	.long module-(.L2+8)

.section .ctors, "a", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data







|







84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
sel_forwardingTargetForSelector_$indirect_L0:
	.long sel_forwardingTargetForSelector_-(.L0+8)
sel_forwardingTargetForSelector_$indirect_L1:
	.long sel_forwardingTargetForSelector_-(.L1+8)
module_indirect_L2:
	.long module-(.L2+8)

.section .ctors, "aw", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data

Modified src/forwarding/forwarding-mips-elf.S from [f89a8ca2f8] to [ee8ef78a0b].

253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
	jr	$t9
#else
	lui	$a0, %hi(module)
	addiu	$a0, $a0, %lo(module)
	j	__objc_exec_class
#endif

.section .ctors, "a", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data







|







253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
	jr	$t9
#else
	lui	$a0, %hi(module)
	addiu	$a0, $a0, %lo(module)
	j	__objc_exec_class
#endif

.section .ctors, "aw", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data

Modified src/forwarding/forwarding-ppc-elf.S from [f65f7f6307] to [8b57a5618e].

156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.size of_forward_stret, .-of_forward_stret

init:
	lis	%r3, module@ha
	la	%r3, module@l(%r3)
	b	__objc_exec_class@plt

.section .ctors, "a", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data







|







156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
.size of_forward_stret, .-of_forward_stret

init:
	lis	%r3, module@ha
	la	%r3, module@l(%r3)
	b	__objc_exec_class@plt

.section .ctors, "aw", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data

Modified src/forwarding/forwarding-x86-elf.S from [160600a487] to [79691a7caf].

115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
	popl	%ebp
	ret

get_eip:
	movl	(%esp), %ebx
	ret

.section .ctors, "a", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data







|







115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
	popl	%ebp
	ret

get_eip:
	movl	(%esp), %ebx
	ret

.section .ctors, "aw", %progbits
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data

Modified src/forwarding/forwarding-x86-win32.S from [de84be08d5] to [972226c4ef].

111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
	popl	%ebp
	ret

get_eip:
	movl	(%esp), %ebx
	ret

.section .ctors, "a"
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data







|







111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
	popl	%ebp
	ret

get_eip:
	movl	(%esp), %ebx
	ret

.section .ctors, "aw"
	.long init

.section .rodata
str_forwardingTargetForSelector_:
	.asciz "forwardingTargetForSelector:"

.section .data