Is it possible to change the process base address? For example, a process typically loads at 0x08048000. Is it possible to offset the process base address to something like 0x08049000 and guarantee that it will load at that address every time the process runs?
Hi Willard, What version of QNX do you use? It seems that your question is about QNX Neutrino (or QNX 6) the next version of QNX 4. If so then please ask your question in appropriate discussion board. Thank you for your understanding. Respectfully, Oleg 2 февр. 2017 г., в 22:22:46, Willard Williamson <community-noreply@qnx.com> написал: > Is it possible to change the process base address? For example, a process typically loads at 0x08048000. Is it possible to offset the process base address to something like 0x08049000 and guarantee that it will load at that address every time the process runs? > > > > _______________________________________________ > > General > http://community.qnx.com/sf/go/post117389 > To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com
Answered my own question - one can change the process base address by passing a custom linker script to the linker using the -T option.