Fix building with clang on ARM64/FreeBSD
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 26 Feb 2017 17:55:34 +0000 (19:55 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 27 Feb 2017 18:15:38 +0000 (20:15 +0200)
commitda213db2c6cda6f57e5853e8c591d69bfa1cfa74
tree08a56afd9ba78b4fbcc705ce2a7bb716cc0cac73
parent75d91ffeaf83098ade325bb3b6b2c8a76eb1f6a6
Fix building with clang on ARM64/FreeBSD

* cipher/cipher-gcm-armv8-aarch64-ce.S: Use '.cpu generic+simd+crypto'
instead of '.arch armv8-a+crypto'.
* cipher/rijndael-armv8-aarch64-ce.S: Ditto.
* cipher/sha1-armv8-aarch64-ce.S: Ditto.
* cipher/sha256-armv8-aarch64-ce.S: Ditto.
* configure.ac (gcry_cv_gcc_inline_asm_aarch64_neon): Ditto.
(gcry_cv_gcc_inline_asm_aarch64_crypto): Ditto; and include NEON
instructions to crypto instructions check.
--

GnuPG-bug-id: 2975
Reported-by: Kirill Ponomarev <kp@krion.cc>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/cipher-gcm-armv8-aarch64-ce.S
cipher/rijndael-armv8-aarch64-ce.S
cipher/sha1-armv8-aarch64-ce.S
cipher/sha256-armv8-aarch64-ce.S
configure.ac