ObjFW  Check-in [add1755e4e]

Overview
Comment:lookup-asm-riscv64-elf.S: Fix PIC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: add1755e4ee6c8cdeaba54634aca04fc8e38d40787db960ce2274654639efaaa
User & Date: js on 2024-05-24 22:26:31
Other Links: manifest | tags
Context
2024-05-27
22:11
forwardingTargetForSelector: for MIPS64-N64/ELF check-in: 1786dab1c0 user: js tags: trunk
2024-05-24
22:26
lookup-asm-riscv64-elf.S: Fix PIC check-in: add1755e4e user: js tags: trunk
21:17
Add RISC-V 64/ELF assembly lookup implementation check-in: bcff3f8c7a user: js tags: trunk
Changes

Modified src/runtime/lookup-asm/lookup-asm-riscv64-elf.S from [d38e7921bf] to [d040844ff8].

58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

	beqz	t0, 0f

	move	a0, t0
	ret

0:
	j	\notFound

.LtaggedPointer_\name:
	la	t1, objc_taggedPointerSecret
	ld	t1, (t1)
	xor	t1, a0, t1
	andi	t1, t1, 0xE
	slli	t1, t1, 2







|







58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

	beqz	t0, 0f

	move	a0, t0
	ret

0:
	tail	\notFound@plt

.LtaggedPointer_\name:
	la	t1, objc_taggedPointerSecret
	ld	t1, (t1)
	xor	t1, a0, t1
	andi	t1, t1, 0xE
	slli	t1, t1, 2