OSDN Git Service

arm64: lse: remove -fcall-used-x0 flag
authorTri Vo <trong@android.com>
Wed, 19 Sep 2018 19:27:50 +0000 (12:27 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 24 Sep 2018 09:56:24 +0000 (10:56 +0100)
commit2a6c7c367de82951c98a290a21156770f6f82c84
treea7a15358e5ae45545538622a1030f9c6083c5ead
parent0b8af74549c2f985bfc3d2a983961b2a66882890
arm64: lse: remove -fcall-used-x0 flag

x0 is not callee-saved in the PCS. So there is no need to specify
-fcall-used-x0.

Clang doesn't currently support -fcall-used flags. This patch will help
building the kernel with clang.

Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Tri Vo <trong@android.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/lib/Makefile