This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: output section ALIGN and relocatable links
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Sterling Augustine <sterling at tensilica dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 16 Nov 2005 17:00:40 +1030
- Subject: Re: output section ALIGN and relocatable links
- References: <437A2AB7.8010401@tensilica.com>
On Tue, Nov 15, 2005 at 10:36:39AM -0800, Sterling Augustine wrote:
> The output section's alignment is only copied to the output bfd's
> alignment in lang_add_section, which is only called when an input
> section goes into the output section.
I'll look into it. The right place to set the alignment is in init_os.
Hmm, I also think HJ's patch should have made this sort of ALIGN
set the minimum output section alignment, not override input sections.
--
Alan Modra
IBM OzLabs - Linux Technology Centre