News for hackers. Stuff that matters.
Re:Restricting program memory by maguirre on Tuesday November 25, 2014 @01:18PM (#8658876)
Where did the addresses used in the linker (.text and data) script come from? I work mostly in bare-metal embedded world and I use linker scripts but in my world the micro architecture defines where FLASH and RAM are located. How does it work when the application runs inside an OS?
Re:Restricting program memory by lgeek on Tuesday November 25, 2014 @02:08PM (#8659117)
It's virtual addressing, the loader maps the image at whatever address is specified (with some restrictions).