Overview
Comment: | forwarding-powerpc-elf.S: Use addi instead of ori
Since we use @ha, we need to use addi, not ori (that would be for @h). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6f2c52cfacb6b9756048493e2a18c50d |
User & Date: | js on 2020-11-22 22:05:25 |
Other Links: | manifest | tags |
Context
2020-11-22
| ||
22:11 | forwarding-powerpc-elf.S: Don't use %r0 as tmp reg check-in: bacca956e5 user: js tags: trunk | |
22:05 | forwarding-powerpc-elf.S: Use addi instead of ori check-in: 6f2c52cfac user: js tags: trunk | |
21:28 | forwarding-powerpc-elf.S: Fix missing @ha and @l check-in: 8609f8a62c user: js tags: trunk | |
Changes
Modified src/forwarding/forwarding-powerpc-elf.S from [f08ba03356] to [ebb7423642].
︙ | ︙ | |||
62 63 64 65 66 67 68 | lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) bl class_respondsToSelector+0x8000@plt #else bl object_getClass lis %r4, sel_forwardingTargetForSelector_@ha | | | | | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) bl class_respondsToSelector+0x8000@plt #else bl object_getClass lis %r4, sel_forwardingTargetForSelector_@ha addi %r4, %r4, sel_forwardingTargetForSelector_@l bl class_respondsToSelector #endif cmpwi %r3, 0 beq- 0f lwz %r3, 8(%r1) #ifdef OF_PIC lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) bl objc_msg_lookup+0x8000@plt #else lis %r4, sel_forwardingTargetForSelector_@ha addi %r4, %r4, sel_forwardingTargetForSelector_@l bl objc_msg_lookup #endif mtctr %r3 lwz %r3, 8(%r1) #ifdef OF_PIC lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) #else lis %r4, sel_forwardingTargetForSelector_@ha addi %r4, %r4, sel_forwardingTargetForSelector_@l #endif lwz %r5, 12(%r1) bctrl cmpwi %r3, 0 beq- 0f lwz %r4, 8(%r1) |
︙ | ︙ | |||
141 142 143 144 145 146 147 | 0: lwz %r3, 8(%r1) lwz %r4, 12(%r1) #ifdef OF_PIC lwz %r0, .Lgot_of_method_not_found-.Lbiased_got2(%r30) #else lis %r0, of_method_not_found@ha | | | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | 0: lwz %r3, 8(%r1) lwz %r4, 12(%r1) #ifdef OF_PIC lwz %r0, .Lgot_of_method_not_found-.Lbiased_got2(%r30) #else lis %r0, of_method_not_found@ha addi %r0, %r0, of_method_not_found@l #endif mtctr %r0 #ifdef OF_PIC lwz %r30, 104(%r1) #endif lwz %r0, 116(%r1) |
︙ | ︙ | |||
200 201 202 203 204 205 206 | lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) bl class_respondsToSelector+0x8000@plt #else bl object_getClass lis %r4, sel_forwardingTargetForSelector_@ha | | | | | 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 | lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) bl class_respondsToSelector+0x8000@plt #else bl object_getClass lis %r4, sel_forwardingTargetForSelector_@ha addi %r4, %r4, sel_forwardingTargetForSelector_@l bl class_respondsToSelector #endif cmpwi %r3, 0 beq- 0f lwz %r3, 12(%r1) #ifdef OF_PIC lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) bl objc_msg_lookup+0x8000@plt #else lis %r4, sel_forwardingTargetForSelector_@ha addi %r4, %r4, sel_forwardingTargetForSelector_@l bl objc_msg_lookup #endif mtctr %r3 lwz %r3, 12(%r1) #ifdef OF_PIC lwz %r4, .Lgot_sel_forwardingTargetForSelector_-.Lbiased_got2(%r30) #else lis %r4, sel_forwardingTargetForSelector_@ha addi %r4, %r4, sel_forwardingTargetForSelector_@l #endif lwz %r5, 16(%r1) bctrl cmpwi %r3, 0 beq- 0f lwz %r4, 12(%r1) |
︙ | ︙ | |||
277 278 279 280 281 282 283 | lwz %r3, 8(%r1) lwz %r4, 12(%r1) lwz %r5, 16(%r1) #ifdef OF_PIC lwz %r0, .Lgot_of_method_not_found_stret-.Lbiased_got2(%r30) #else lis %r4, of_method_not_found_stret@ha | | | 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 | lwz %r3, 8(%r1) lwz %r4, 12(%r1) lwz %r5, 16(%r1) #ifdef OF_PIC lwz %r0, .Lgot_of_method_not_found_stret-.Lbiased_got2(%r30) #else lis %r4, of_method_not_found_stret@ha addi %r4, %r4, objc_msg_lookup_stret@l #endif mtctr %r0 #ifdef OF_PIC lwz %r30, 104(%r1) #endif lwz %r0, 116(%r1) |
︙ | ︙ | |||
311 312 313 314 315 316 317 | #endif #ifdef OF_PIC lwz %r3, .Lgot_module-.Lbiased_got2(%r30) bl __objc_exec_class+0x8000@plt #else lis %r3, module@ha | | | 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 | #endif #ifdef OF_PIC lwz %r3, .Lgot_module-.Lbiased_got2(%r30) bl __objc_exec_class+0x8000@plt #else lis %r3, module@ha addi %r3, %r3, module@l bl __objc_exec_class #endif #ifdef OF_PIC lwz %r30, 8(%r1) #endif lwz %r0, 20(%r1) |
︙ | ︙ |