Re: [PATCH 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

From: Behan Webster
Date: Thu Jul 17 2014 - 00:17:53 EST


On 07/13/14 02:10, Nicolas Pitre wrote:
On Tue, 8 Jul 2014, behanw@xxxxxxxxxxxxxxxxxx wrote:

From: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>

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.
You verified that the compiled code is identical on gcc?
Yes. Identical.

If so:

Acked-by: Nicolas Pitre <nico@xxxxxxxxxx>
Thanks,

Behan

--
Behan Webster
behanw@xxxxxxxxxxxxxxxxxx

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/