https://github.com/smithp35 commented:

Thanks for the update, I'm happy with the changes. I would like to see more 
options for position independent code in embedded systems.

The other related embedded position independent option for microcontrollers 
that I'm aware of is `-fropi` and `-frwpi` which is already implemented in 
clang. This is relocation free with just one static data area accessed as an 
offset from r9. It works quite well for C code, but doesn't support C++ 
(vtables and RTTI need relocations) and some forms of static initialisation. 


https://github.com/llvm/llvm-project/pull/82187
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to