This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: offseting DATA_ADDR


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]