This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ARM - gas: Maximum alignment size augmented to 64
- From: Richard Earnshaw <Richard dot Earnshaw at buzzard dot freeserve dot co dot uk>
- To: Daniel Gutson <dgutson at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 17 Jun 2009 19:27:42 +0100
- Subject: Re: [PATCH] ARM - gas: Maximum alignment size augmented to 64
- References: <4A3933BF.5020402@codesourcery.com>
On Wed, 2009-06-17 at 15:19 -0300, Daniel Gutson wrote:
> Hi,
> in the attached patch, the maximum allowed code alignment has been increased from
> 32 to 64 bytes. This change affects the .p2align and .align directives in GAS and the
> -falign-functions GCC option.
>
> I tested the code by running the gas testsuite, including the new test case I added.
>
> Please review it, and commit it for me if accepted since I don't have write access.
>
> Thanks,
> Daniel.
>
> --
> 2009-06-17 Daniel Gutson <dgutson@codesourcery.com>
>
> gas/
> * config/tc-arm.c (arm_frag_align_code): Fixed the string message.
> * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): New macro.
> (MAX_MEM_FOR_RS_ALIGN_CODE): Macro changed to use the above.
>
> gas/testsuite/
> * gas/arm/align64.d: New file.
> * gas/arm/align64.s: New file.
>
This is OK as far as it goes, but why is there a limit at all? Other
architectures don't seem to be restricted in this way.
R.