We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Seems like all related armclang options (-fpic, -fropi, -frwpi) are not supported in aarch64 state, so is it possible to generate position independent code for aarch64 target?
Thanks
-Oscar
Hi Vignesh, thank you for reopening this thread.
The latest Arm Compiler for Embedded 6.17 adds support for bare metal PIE code in AArch64 (and AArch32):https://developer.arm.com/documentation/100748/0617/Mapping-Code-and-Data-to-the-Target/Bare-metal-Position-Independent-Executables
The compiler is provided as part of Development Studio 2021.2 or can be downloaded separately
https://developer.arm.com/tools-and-software/embedded/arm-development-studio/downloads
https://developer.arm.com/tools-and-software/embedded/arm-compiler/downloads/version-6
Hi Ronan,
Thanks a lot for the info, really appreciate that.
Regards
Vignesh