[PATCH] D136203: [ARM] Support -mexecute-only with -mlong-calls.

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 18:14:14 PDT 2022


efriedma added a comment.

The construct you want is pretty similar to a GOT. if you compile with -fPIE -fsemantic-interposition, you get basically the code you want, except that the compiler uses a plt by default instead of a got.  If we supported -fno-plt for ARM, it would be almost exactly what you want.  That said, that won't work with -frwpi... maybe we need some new kind of relocation to represent that.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136203/new/

https://reviews.llvm.org/D136203



More information about the cfe-commits mailing list