]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix the generation of alignment frags in code sections for AArch64. users/linaro/binutils-2_25-branch
authorNick Clifton <nickc@redhat.com>
Fri, 5 Aug 2016 09:37:57 +0000 (10:37 +0100)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 24 Aug 2017 12:47:34 +0000 (09:47 -0300)
commitf7897e0c6bb3803f2603f5ebabeaffdd49b1ab77
tree6b56b357b40f63e7c5b86d3f3fd47435a12774a0
parentb031c3be16673c41531024f066bcb857be6641cc
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
gas/ChangeLog.linaro
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/pr20364.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/pr20364.s [new file with mode: 0644]