This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Always check section_alignment for output section alignment
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 9 Feb 2006 09:23:38 +1030
- Subject: Re: PATCH: Always check section_alignment for output section alignment
- References: <20060208192422.GA13304@lucon.org>
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