Arm64: correct "sha3" arch-extension directive handling
authorJan Beulich <jbeulich@suse.com>
Thu, 5 Dec 2019 07:43:03 +0000 (08:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 5 Dec 2019 07:43:03 +0000 (08:43 +0100)
commitd4340f89eccb0b0a0811e142ce365efc48beb064
tree2e3ac1e1b452d904a065a48cf2ceb15e3d041f8d
parent6e9ed99753f0730e85bd45eabb63f499e4d0eca3
Arm64: correct "sha3" arch-extension directive handling

SHA2 is a prereq to SHA3, not part of it aiui. Hence disabling the
latter should not also disable the former.

In the course of adding respective tests also do away with the
duplication of crypto.d's contents in crypto-directive.d.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/crypto-directive.d
gas/testsuite/gas/aarch64/crypto-directive2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/crypto-directive3.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/crypto.s
gas/testsuite/gas/aarch64/illegal-crypto-nofp.l