We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b4aba6 commit d84cd2dCopy full SHA for d84cd2d
Tools/jit/_stencils.py
@@ -291,6 +291,7 @@ def process_relocations(
291
hole.kind
292
in {"R_AARCH64_CALL26", "R_AARCH64_JUMP26", "ARM64_RELOC_BRANCH26"}
293
and hole.value is HoleValue.ZERO
294
+ and hole.symbol not in self.symbols
295
):
296
hole.func = "patch_aarch64_trampoline"
297
hole.need_state = True
@@ -320,7 +321,6 @@ def process_relocations(
320
321
elif (
322
hole.kind in {"IMAGE_REL_AMD64_REL32"}
323
- and hole.symbol not in self.symbols
324
325
raise ValueError(
326
f"Add PyAPI_FUNC(...) or PyAPI_DATA(...) to declaration of {hole.symbol}!"
0 commit comments