offseting DATA_ADDR
Daniel Jacobowitz
drow@false.org
Mon Sep 21 18:21:00 GMT 2009
On Mon, Sep 21, 2009 at 11:12:22AM -0700, Matt Thomas wrote:
> Why isn't DATA_ADDR/SHLIB_DATA_ADDR defined by default to start on a
> segment boundary?
> Why is it defined to start at about the same offset as where text
> ends by default?
It may waste *address* space, but it saves *disk* space. Recent LD
has a threshold on how big a gap to allow; see COMMONPAGESIZE in the
manual.
--
Daniel Jacobowitz
CodeSourcery
More information about the Binutils
mailing list