PATCH: Always check section_alignment for output section alignment

Alan Modra amodra@bigpond.net.au
Thu Feb 9 00:06:00 GMT 2006


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



More information about the Binutils mailing list