summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@nil.im>2020-07-26 21:09:42 +0000
committerJonathan Schleifer <js@nil.im>2020-07-26 21:09:42 +0000
commit81e1408d3d16d86e456975f2ad3b56363e5971ea (patch)
tree4d0ae4d5e0af5f44b7451ec4fb6b20556d90a5c6
parent68e2a033000fa09b43558cd4f33d4e5fa437e3bc (diff)
lookup-asm-x86_64-macho.S: Fix missing @GOTPCRELtagged-pointers
FossilOrigin-Name: 4cf68586947f0ba646f2448625659be800d15ff48f1fc6a4cf04a06b09f5e144
-rw-r--r--src/runtime/lookup-asm/lookup-asm-x86_64-macho.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/lookup-asm/lookup-asm-x86_64-macho.S b/src/runtime/lookup-asm/lookup-asm-x86_64-macho.S
index f0209652..8e9d3f83 100644
--- a/src/runtime/lookup-asm/lookup-asm-x86_64-macho.S
+++ b/src/runtime/lookup-asm/lookup-asm-x86_64-macho.S
@@ -59,7 +59,7 @@ Ltagged_pointer_$0:
and dil, 0xE
movzx r8, dil
- mov rax, [rip+_objc_tagged_pointer_classes]
+ mov rax, [rip+_objc_tagged_pointer_classes@GOTPCREL]
mov r8, [rax+r8*4]
mov r8, [r8+64]