]> 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)
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>
Mon, 29 Aug 2016 17:29:36 +0000 (14:29 -0300)
commiteb65c97589b3c6a5c2954cea45c068b30c751b51
tree689a14ad7fd85d4e6f048c9862a9b6c02a199ec7
parentcc01982fc972612257bbde27a177d0cf418bf894
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]