This is the mail archive of the
mailing list for the binutils project.
Re: Possible bug in ld with NOLOAD sections.
On Fri, Nov 20, 2009 at 02:58:22PM +1100, Tony Breeds wrote:
> For my education, in this context what is an overlay?
Overlays allow different parts of a program to be loaded into the same
address space at different times, where the program decides to load and
unload parts of itself.
Normally, these parts are arranged in a tree, where siblings occupy the
same address space and may not reference each other's symbols, children
can safely assume that their parents are loaded, and parents need to
keep track of which children are currently accessible.
Back in the old days, this was a lot more common, now it's usually
cheaper to just stick more memory in, and people also sort of expect to
have different functionality of a program available in separate windows
rather than switching views.