[PATCH] ARM - gas: Maximum alignment size augmented to 64
Richard Earnshaw
Richard.Earnshaw@buzzard.freeserve.co.uk
Wed Jun 17 21:59:00 GMT 2009
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.
More information about the Binutils
mailing list