LibOS: syscallas.S should use GOTPCREL call instead of absolute call

libsysdb.so is complied as pic so GOT should be used.
This commit is contained in:
Isaku Yamahata
2019-02-11 15:23:01 -05:00
committed by Don Porter
parent 36d243a045
commit 6e0d803285
+1 -1
View File
@@ -100,7 +100,7 @@ ret:
isundef:
#ifdef DEBUG
mov %rax, %rdi
call debug_unsupp
call *debug_unsupp@GOTPCREL(%rip)
#endif
movq $-38, %rax
jmp ret