[PATCH 0/6] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM
Behan Webster
behanw at converseincode.com
Wed Jul 16 21:17:43 PDT 2014
On 07/13/14 02:10, Nicolas Pitre wrote:
> On Tue, 8 Jul 2014, 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.
> You verified that the compiled code is identical on gcc?
Yes. Identical.
> If so:
>
> Acked-by: Nicolas Pitre <nico at linaro.org>
Thanks,
Behan
--
Behan Webster
behanw at converseincode.com
More information about the linux-arm-kernel
mailing list