[PATCH 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM
Will Deacon
will.deacon at arm.com
Wed Jul 9 02:57:18 PDT 2014
On Tue, Jul 08, 2014 at 09:16:10PM +0100, behanw at converseincode.com wrote:
> From: Behan Webster <behanw at converseincode.com>
>
> The LLVMLinux project aims to fully build the Linux kernel using both gcc and
> clang (the C front end for the LLVM compiler infrastructure project).
>
> Clang only supports global named registers for non-allocatable registers like
> the stack pointer. By centralizing the definition of current_stack_pointer, the
> use of named registers for ARM remains largely unchanged while working for both
> gcc and clang.
All looks sane to me. For the series:
Acked-by: Will Deacon <will.deacon at arm.com>
BTW, have you tried building an arm64 kernel with clang?
Will
More information about the linux-arm-kernel
mailing list