Fix an assertion failure in the AArch64 assembler triggered by incorrect instruction...
authorNick Clifton <nickc@redhat.com>
Thu, 17 Jun 2021 15:19:20 +0000 (16:19 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 17 Jun 2021 15:19:20 +0000 (16:19 +0100)
commit96cbfd9f0488e9536bfc27550ebf90cb1ecac93b
tree2d75526de617b2ed608ca7f6d115c675087183dc
parentbcf8470303e06cb6cd5294608aad913fe5580f45
Fix an assertion failure in the AArch64 assembler triggered by incorrect instruction syntax.

PR 27904
* config/tc-aarch64.c (ldst_lo12_determine_real_reloc_type):
Generate a syntax error message if the reloc qualifier does not
match the instruction's size.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/pr27904.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/pr27904.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/pr27904.s [new file with mode: 0644]