Skip to content

GH-115802: Remove no-plt for Linux targets#148238

Open
diegorusso wants to merge 2 commits intopython:mainfrom
diegorusso:drop-no-plt
Open

GH-115802: Remove no-plt for Linux targets#148238
diegorusso wants to merge 2 commits intopython:mainfrom
diegorusso:drop-no-plt

Conversation

@diegorusso
Copy link
Copy Markdown
Contributor

@diegorusso diegorusso commented Apr 8, 2026

Removing -fno-plt makes Linux stencils use more direct call relocations and fewer GOT-indirect call sequences.

  • on x86-64 that means mostly PLT32 plus a few 32S (new!) compare relocations
  • on AArch64 it means CALL26 instead of adrp/ldr/blr GOT calls

This improves code size and some complexity of the JIT stencils. It reduces the amount of GOT-specific patching the JIT has to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant