Remove the artificial limit on code alignment through the use of the
authorDr Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 30 Oct 2014 10:53:09 +0000 (10:53 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Oct 2014 10:53:09 +0000 (10:53 +0000)
commitf803aa8eadb24ea7152057584c47648fb02e4716
tree21f2c7a08b5e6faa1dac08dc88eb14e89ef4ea2e
parent76ca31c09f629e670ffd57e79c0604db7ddecc9e
Remove the artificial limit on code alignment through the use of the
fixed part of a fragment for output generation only, which required
MAX_MEM_FOR_RS_ALIGN_CODE to be large enough to hold the maximum pad.

* config/tc-aarch64.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define to 7.
* config/tc-aarch64.c (aarch64_handle_align): Rewrite to handle
large alignments with a constant fragment size of
MAX_MEM_FOR_RS_ALIGN_CODE.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/config/tc-aarch64.h