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: [1/6][PATCH] Fix PE-COFF bug in orphan section alignment handling.


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


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