Skip to content

Commit e11315d

Browse files
authored
GH-115802: Remove no-plt for Linux AArch64 (#148238)
1 parent 6e08161 commit e11315d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Improve JIT code generation on Linux AArch64 by reducing the indirect call to external symbols. Patch by Diego Russo.

Tools/jit/_targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ def get_target(host: str) -> _COFF32 | _COFF64 | _ELF | _MachO:
594594
host = "aarch64-unknown-linux-gnu"
595595
condition = "defined(__aarch64__) && defined(__linux__)"
596596
# -mno-outline-atomics: Keep intrinsics from being emitted.
597-
args = ["-fpic", "-mno-outline-atomics", "-fno-plt"]
597+
args = ["-fpic", "-mno-outline-atomics"]
598598
optimizer = _optimizers.OptimizerAArch64
599599
target = _ELF(
600600
host, condition, args=args, optimizer=optimizer, frame_pointers=True

0 commit comments

Comments
 (0)