Displaying 3 results from an estimated 3 matches for "__asm_offsets_h__".
2008 Sep 28
3
[LLVMdev] compile linux kernel
...~{flags}"( i64 285 )
nounwind
ret i32 0
}
....
However, the build system is trying to generate asm-offset.s from
asm-offset.c and then it populates asm-offsets.h header file for
correct values. Here is the code from Kbuild -
"define cmd_offsets
(set -e; \
echo "#ifndef __ASM_OFFSETS_H__"; \
echo "#define __ASM_OFFSETS_H__"; \
echo "/*"; \
echo " * DO NOT MODIFY."; \
echo " *"; \
echo " * This file was generated by Kbuild"; \
echo " *"; \
echo " */"; \
echo ""...
2008 Sep 28
0
[LLVMdev] compile linux kernel
On Sep 27, 2008, at 4:34 PM, Ashish Bijlani wrote:
> Thanks for the help. I've a couple of questions though:
>
> How does LLVM deal with inline assembly?
It's been implemented piece by piece on an as-needed basis. At this
point most of the things people actually use should work. llvm-gcc
has seen the Linux kernel, so most usages in there ought to work.
The symptoms here
2008 Sep 27
2
[LLVMdev] compile linux kernel
Thanks for the help. I've a couple of questions though:
How does LLVM deal with inline assembly?
I'm trying to compile kernel and I get this error probably because
LLVM is not able to handle inline assembly. I'm using LLVM-2.3
code snippet from "arch/x86_64/kernel/asm-offsets.c"
....
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 "