ANDROID: HACK: arm64: use -mno-implicit-float instead of -mgeneral-regs-only
authorGreg Hackmann <ghackmann@google.com>
Mon, 10 Apr 2017 18:23:25 +0000 (11:23 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit1416d1c4396e660bb23ab6d1b71fa72d36b45254
treec84d1437108e2656b07869ce868ae95b8479f8fc
parentb9b964626ea839d4a93a47625c74d29a67aa926e
ANDROID: HACK: arm64: use -mno-implicit-float instead of -mgeneral-regs-only

LLVM bug 30792 causes clang's AArch64 backend to crash compiling
arch/arm64/crypto/aes-ce-cipher.c.  Replacing -mgeneral-regs-only with
-mno-implicit-float is the suggested workaround.

Drop this patch once the clang bug has been fixed.

Change-Id: I89fda12d826783ffe18142ba048ff10bd769e240
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
[AmitP: Refactored the changes to align with changes from upstream commit
        bbb56c27228d ("arm64: Add detection code for broken .inst support in binutils")]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
arch/arm64/Makefile