This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Positioning a function in a Position Independent Executable for ARMV8

Hi,

I am using ARM DS-5 version 5.29.1 and trying to develop a baremetal Position Independent Executable project for Cortex-A72.
But most pic/pid compiler option and linker option dose not support for arch64,I do not know where can I find related documents and example.


Thanks

Parents
  • HI:

        Thanks for your reply,but the above https link refer to PIE for arch32,however I need some example for arch64. Arm ® Compiler Version 6.13 Reference Guide  says it does not support for aarch64 ("  B1.7  -fbare-metal-pie:    Note: • This option is unsupported for AArch64 state.
    • The bare-metal PIE feature is deprecated").Can you help me for another example for aarch64?Thanks.

    Best Regard!

Reply
  • HI:

        Thanks for your reply,but the above https link refer to PIE for arch32,however I need some example for arch64. Arm ® Compiler Version 6.13 Reference Guide  says it does not support for aarch64 ("  B1.7  -fbare-metal-pie:    Note: • This option is unsupported for AArch64 state.
    • The bare-metal PIE feature is deprecated").Can you help me for another example for aarch64?Thanks.

    Best Regard!

Children