ARM: Add support for aligning with no-ops in code section.

Nick Clifton nickc@cambridge.redhat.com
Tue May 1 10:23:00 GMT 2001


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



More information about the Binutils mailing list