User: Password:
|
|
Subscribe / Log in / New account

Memory part 6: More things programmers can do

Memory part 6: More things programmers can do

Posted Nov 1, 2007 15:42 UTC (Thu) by madscientist (subscriber, #16861)
In reply to: Memory part 6: More things programmers can do by cruff
Parent article: Memory part 6: More things programmers can do

Not sure exactly which part of the article you're talking about, but Ulrich does say:

> If the programmer marks the variables correctly with const, the tool chain
> will move the variables away from the normal variables into the .rodata
> (read-only data) or .data.rel.ro (read-only after relocation) section [...]
> No other special action is required. If, for some reason, variables cannot
> be marked correctly with const, the programmer can influence their
> placement by assigning them to a special section.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds