ObjFW  Check-in [c4f88f560a]

Overview
Comment:Fix super lookup of missing methods on MIPS64
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c4f88f560ad4b1fb1c15df51c2eba671db122c7e21a2eb1dee5a055e5a25706f
User & Date: js on 2016-05-21 21:11:40
Other Links: manifest | tags
Context
2016-05-21
21:31
Rename PropertiesTests to RuntimeTests check-in: f2deed0464 user: js tags: trunk
21:11
Fix super lookup of missing methods on MIPS64 check-in: c4f88f560a user: js tags: trunk
2016-05-16
13:47
OFZIP: Do not try to open archive if path is nil check-in: 4ac59d558b user: js tags: trunk
Changes

Modified src/runtime/lookup-asm/lookup-asm-mips64-elf.S from [2bfd1071b2] to [60c3ff7459].

89
90
91
92
93
94
95

96
97


98
99

100
101

102
103
104
105
106
107
108
89
90
91
92
93
94
95
96


97
98
99

100
101
102
103
104
105
106
107
108
109
110







+
-
-
+
+

-
+


+







	j	$ra
.type \name, %function
.size \name, .-\name
.endm

.macro generate_lookup_super name lookup
\name:
	move	$t0, $a0
	ld	$t0, 0($a0)
	beqz	$t0, 0f
	ld	$a0, 0($a0)
	beqz	$a0, 0f

	ld	$t0, 8($a0)
	ld	$t0, 8($t0)
	ld	$t0, 64($t0)

	addiu	$t9, $t9, \lookup-\name
	b	.Lmain_\lookup

0:
	lui	$v0, %hi(%neg(%gp_rel(\name)))
	daddu	$v0, $v0, $t9
	daddiu	$v0, $v0, %lo(%neg(%gp_rel(\name)))
	ld	$v0, %got_disp(nil_method)($v0)