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

Hi, 

I am using ARM DS-5 version 5.21.1 and trying to develop a Position Independent Executable project. So far, compilation with --bare_metal_pie looks OK. Next, I would like to place a function (so called an entry-function to this PIE) at the top (or beginning) of the executable.

May I know how can I achieve this? 

Thanks.