This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH,trunk+2.20.1] Extend COFF .section directive syntax to specify alignment.
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>, Tristan Gingold <gingold at adacore dot com>
- Date: Mon, 18 Jan 2010 09:43:29 +0000
- Subject: Re: [PATCH,trunk+2.20.1] Extend COFF .section directive syntax to specify alignment.
- References: <4B535907.2010904@gmail.com> <20100117234125.GG8112@bubble.grove.modra.org>
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.
cheers,
DaveK