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:51:04 +0000 (10:51 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 30 Oct 2014 10:51:04 +0000 (10:51 +0000)
commitb70e4c0e608e3b150ece1e77ffe272fea7eb4f9b
tree809b24c8ddf9ab9fc9e6b2234598211c761b8d49
parente8817f20b9847bdf923c6bf7d857e09875397516
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.
binutils/readelf.c
gas/ChangeLog
gas/config/tc-aarch64.c
gas/config/tc-aarch64.h