This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ARM: Add support for aligning with no-ops in code section.
- To: Richard dot Earnshaw at arm dot com
- Subject: Re: ARM: Add support for aligning with no-ops in code section.
- From: Nick Clifton <nickc at cambridge dot redhat dot com>
- Date: 01 May 2001 19:15:46 +0100
- Cc: binutils at sources dot redhat dot com
- References: <200105011614.RAA16476@cam-mail2.cambridge.arm.com>
Hi Richard,
> + if (max > 31)
> + as_fatal (_("alignments in code section > 32 not supported."));
>
> So which is it to be? >31 or >32 ?
It is "> 32", but the test is correct, since this is the maximum
number of padding bytes to insert in order to obtain the desired
alignment. So for an alignment of 32 you will have to insert at most
31 bytes... :-)
(Well, always assuming that you are trying to align something, and not
just skip to the next 32 byte boundary for some weird reason.)
Cheers
Nick