This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [REINSTATED] Re: [PATCH,trunk+2.20.1] Extend COFF .section directive syntax to specify alignment.
- From: Alan Modra <amodra at gmail dot com>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Tristan Gingold <gingold at adacore dot com>
- Date: Fri, 22 Jan 2010 15:04:51 +1030
- Subject: Re: [REINSTATED] 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> <4B587BF5.4090602@gmail.com>
On Thu, Jan 21, 2010 at 04:08:21PM +0000, Dave Korn wrote:
> What I should have said was: There is currently no way to specify an
> alignment *less than the default section alignment* for a section:
I see.
> or should I revive this patch?
Possibly. Another option would be to invent a new assembler directive
that resets alignment, or extend existing alignment directives to do
the same. eg. ".p2align -1" could align to 2 bytes even if previous
section alignment was higher.
--
Alan Modra
Australia Development Lab, IBM