This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [1/6][PATCH] Fix PE-COFF bug in orphan section alignment handling.
- From: Alan Modra <amodra at gmail dot com>
- To: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Sat, 26 Feb 2011 19:43:47 +1030
- Subject: Re: [1/6][PATCH] Fix PE-COFF bug in orphan section alignment handling.
- References: <4D684CB8.6020106@gmail.com> <4D684D00.70803@gmail.com> <4D684D1C.9090002@gmail.com>
On Sat, Feb 26, 2011 at 12:45:16AM +0000, Dave Korn wrote:
> + if (link_info.relocatable)
> + os->bfd_section->alignment_power = os->section_alignment
> + = s->alignment_power;
Style and formatting issues here. Better written as
if (link_info.relocatable)
{
os->section_alignment = s->alignment_power;
os->bfd_section->alignment_power = s->alignment_power;
}
--
Alan Modra
Australia Development Lab, IBM