[PATCH,trunk+2.20.1] Extend COFF .section directive syntax to specify alignment.

Dave Korn dave.korn.cygwin@googlemail.com
Mon Jan 18 09:26:00 GMT 2010

Alan Modra wrote:
> On Sun, Jan 17, 2010 at 06:37:59PM +0000, Dave Korn wrote:
>>   There's currently no way to specify the alignment of a section in the
>> assembler;
> Huh?

>  .p2align 7

>   1 .data         00000080  00000000  00000000  00000090  2**7

  Hey, that's neat!  I didn't know that could change the underlying section
alignment, I thought it would just give me a section with a bunch of leading
padding.  Patch is unneeded then, thanks for showing me that.


More information about the Binutils mailing list