Fix the Intel x64 PIC 'call' test, adding correct addend.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
850896f05e
commit
df210bfdea
@@ -27,7 +27,7 @@ function %I64() {
|
||||
ebb0:
|
||||
|
||||
; asm: call foo@PLT
|
||||
call fn0() ; bin: e8 PLTRel4(%foo) 00000000
|
||||
call fn0() ; bin: e8 PLTRel4(%foo-4) 00000000
|
||||
|
||||
; asm: mov 0x0(%rip), %rax
|
||||
[-,%rax] v0 = func_addr.i64 fn0 ; bin: 48 8b 05 GOTPCRel4(%foo-4) 00000000
|
||||
|
||||
Reference in New Issue
Block a user