]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix the generation of alignment frags in code sections for AArch64.
authorNick Clifton <nickc@redhat.com>
Fri, 5 Aug 2016 09:37:57 +0000 (10:37 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 5 Aug 2016 09:37:57 +0000 (10:37 +0100)
commit7ea12e5c3ad54da440c08f32da09534e63e515ca
tree9c6771899dc6a16b52ba1e4ccb2cc3522bb49b3e
parentcca8e7e482abd37f1e199d7663d26fe8146fb84f
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.
gas/ChangeLog
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]