The addend for a PLTRel4 reloc should be -4.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
1e49431804
commit
850896f05e
@@ -899,7 +899,7 @@ call_plt_id = TailRecipe(
|
||||
PUT_OP(bits, BASE_REX, sink);
|
||||
sink.reloc_external(Reloc::IntelPLTRel4,
|
||||
&func.dfg.ext_funcs[func_ref].name,
|
||||
0);
|
||||
-4);
|
||||
sink.put4(0);
|
||||
''')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user