8000 Add R_X86_64_PC32 · python/cpython@ca4956f · GitHub
[go: up one dir, main page]

Skip to content

Commit ca4956f

Browse files
committed
Add R_X86_64_PC32
1 parent 092c795 commit ca4956f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/jit/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ def _handle_relocation(
921921
"Addend": int(addend),
922922
"Offset": int(offset),
923923
"Symbol": {"Value": str(symbol)},
924-
"Type": {"Value": "R_X86_64_PLT32"},
924+
"Type": {"Value": "R_X86_64_PC32" | "R_X86_64_PLT32"},
925925
}:
926926
offset += base
927927
where = slice(offset, offset + 4)

0 commit comments

Comments
 (0)
0