[LLVMdev] Unknown pseudo-op with -march=arm
Juan Carlos Martinez Santos
juanc.martinez.santos at gmail.com
Thu Jun 18 12:05:35 PDT 2009
Hello,
Running some examples to see how LLVM work, I found that some pseudo
operations are unknown. Details are shown below.
This is the command sequence that I am using:
> llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc
> llc -march=arm hello.bc -o hello-arm.s
> arm-linux-gcc hello-arm.s -o hello-arm
************************
hello.s:6: Error: Unknown pseudo-op: `.eabi_attribute'
hello.s:25: Warning: Unrecognized .section attribute: want a,w,x
hello.s:25: Warning: Unrecognized .section attribute: want a,w,x
hello.s:25: Error: Rest of line ignored. First ignored character is `,'.
************************
Assembly Code - part
************************
.file "hello.bc"
.eabi_attribute 20, 1 *** [line 6]
...
.size main, .-main
.type .str,%object
.section .rodata.str1.1,"aMS",%progbits,1 *** [line 25]
.str: @ .str
.size .str, 12
...
************************
Thanks in advance.
--
Juan Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090618/e8a3d91a/attachment.html>
More information about the llvm-dev
mailing list