Skip to content

Commit d5071b3

Browse files
Update Tools/jit/_targets.py
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
1 parent 50dd66b commit d5071b3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Tools/jit/_targets.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -537,14 +537,7 @@ def get_target(host: str) -> _COFF | _ELF | _MachO:
537537
args = ["-fms-runtime-lib=dll"]
538538
target = _COFF(host, args=args)
539539
elif re.fullmatch(r"x86_64-.*-linux-gnu", host):
540-
args = [
541-
# Jump tables generate R_X86_64_32S relocations, which assume a
542-
# signed 32-bit address space:
543-
"-fno-jump-tables",
544-
"-fno-pic",
545-
"-mcmodel=medium",
546-
"-mlarge-data-threshold=0",
547-
]
540+
args = ["-fno-pic", "-mcmodel=medium", "-mlarge-data-threshold=0"]
548541
target = _ELF(host, args=args)
549542
else:
550543
raise ValueError(host)

0 commit comments

Comments
 (0)