]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: aarch64: Make chericap and capinit auto-align
authorMatthew Malcomson <matthew.malcomson@arm.com>
Thu, 29 Jul 2021 13:23:24 +0000 (14:23 +0100)
committerMatthew Malcomson <matthew.malcomson@arm.com>
Thu, 29 Jul 2021 15:16:39 +0000 (16:16 +0100)
commitfdbf441869630f386839dbfdadeaf1c35e1a5d4a
treeaa36ffd58f25d2ec48b1229a3a46fed486cdee9a
parent1fe7bc059eb23ec2c3b7dee19f12beb3256e6ce7
gas: aarch64: Make chericap and capinit auto-align

Morello LLVM assumes that these directives should auto-align, it emits
assembly that does not explicitly align these directives.

Fix and testcases added.

gas/ChangeLog:

2021-07-29  Matthew Malcomson  <matthew.malcomson@arm.com>

* config/tc-aarch64.c (s_aarch64_capinit, s_aarch64_chericap):
Automatically align to 16 bytes.
* testsuite/gas/aarch64/morello-capinit-align.s: New.
* testsuite/gas/aarch64/morello-capinit-align.d: New.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/morello-capinit-align.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/morello-capinit-align.s [new file with mode: 0644]