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

Zhiyao Ma via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 18 15:20:02 PDT 2022


ZhiyaoMa98 added a comment.

@efriedma Thank you for your suggestion. I will remove the extra indirection.

I was wondering if you could also provide some insights about the RWPI case. I believe the same optimization also applies to RWPI. However, I actually want to store the function address as a global variable when using RWPI, because I want the address to live in RAM instead of Flash, so that I can redirect the function call at runtime, for dynamic linking purpose.

Should I create a new target feature to indicate that I want to store function address in RAM?


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