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: Patch to do reorder text and data sections according to a user specified sequence.


On 06/30/2010 04:00 PM, Sriraman Tallam wrote:
On Wed, Jun 30, 2010 at 3:31 PM, Taras Glek<tglek@mozilla.com> wrote:
Hi,
I noticed weird "** fill"ing behavior while looking at mapfiles. Ian says
this is a bug, so I'm sending this to the list.

When compiling with -ffunction-sections, many sections usually have some
fill after them. I'm not sure why that's needed..but a more interesting
problem is that once you order those sections, the remaining fill gets
lumped together like this:
Does this lumping happen when you re-order with linker scripts or with
--section-ordering-file, or both ? Could this fill be for alignment
purposes ?
I've abandoned the linker script approach, so I've only tried this with --section-ordering-file.

I doubt there is a purpose for 50K of fill.

Taras


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