gcc arm compiler option -mno-pic-data-is-text-relative doesn't work sometimes
Hi,
I'm working on a cortex-A7 processor using gcc 5.4.0. I've been trying to relocate text and data segment to different addresses, rather than what's in the link map. I found this post https:/
However, I have a test_app.elf built with -fPIE, -mno-pic-
The makefiles for the two libraries are almost identical except for library names, source and, include directories. And they are all statically linked to test_app.elf.
Really appreciate if anyone sheds some light on this.
Thank you,
Yan
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Tejas Belagod
- Solved:
- Last query:
- Last reply: