commit | f7897e0c6bb3803f2603f5ebabeaffdd49b1ab77 | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Fri Aug 05 10:37:57 2016 +0100 |
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | Thu Aug 24 09:47:34 2017 -0300 |
tree | 6b56b357b40f63e7c5b86d3f3fd47435a12774a0 | |
parent | b031c3be16673c41531024f066bcb857be6641cc [diff] |
Fix the generation of alignment frags in code sections for AArch64. PR gas/20364 * config/tc-aarch64.c (s_ltorg): Change the mapping state after aligning the frag. (aarch64_init): Treat rs_align frags in code sections as containing code, not data. * testsuite/gas/aarch64/pr20364.s: New test. * testsuite/gas/aarch64/pr20364.d: New test driver. Cherry-pick of 7ea12e5c3ad54da440c08f32da09534e63e515ca Change-Id: I6bb37f33419cbf54e52c8d54ef0d1c18fdc85878