[llvm-branch-commits] [ARM, MC] Support FDPIC relocations (PR #82187)

Peter Smith via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Feb 20 09:15:30 PST 2024


https://github.com/smithp35 commented:

I've checked over the implementation with binutils. Out of interest are you planning on implementing all of fdpic or just enough to get assembler/linker support working?

If you are there are some other GNU options that may be useful to look at as possible intermediate steps. In particular -mno-pic-data-is-text-relative https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#index-mpic-data-is-text-relative this uses a single static base for the GOT which is sufficient for position independent executables but no shared library support.

https://github.com/llvm/llvm-project/pull/82187


More information about the llvm-branch-commits mailing list