Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1416d1c4 authored by Greg Hackmann's avatar Greg Hackmann Committed by Amit Pundir
Browse files

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: default avatarGreg Hackmann <ghackmann@google.com>
Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>

[AmitP: Refactored the changes to align with changes from upstream commit
        bbb56c27 ("arm64: Add detection code for broken .inst support in binutils")]
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent b9b96462
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment