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: Always check section_alignment for output section alignment


On Wed, Feb 08, 2006 at 11:24:22AM -0800, H. J. Lu wrote:
> Hi Alan,
> 
> lang_size_sections_1 used to always check section_alignment for section
> alignment. Your patch:
> 
> http://sourceware.org/ml/binutils/2005-11/msg00235.html
> 
> moved the check to init_os. I have some local changes where some
> targets may update section_alignment after init_os is called. This
> patch restores the old behavior.

Let's leave this until you submit the changes that need this hack.
Unnecessary code can be confusing.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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