Juan Carlos Martinez Santos
2009-Jun-18 19:05 UTC
[LLVMdev] Unknown pseudo-op with -march=arm
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>
Hello> hello.s:6: Error: Unknown pseudo-op: `.eabi_attribute'How old is your arm toolchain? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Juan Carlos Martinez Santos
2009-Jun-18 19:49 UTC
[LLVMdev] Unknown pseudo-op with -march=arm
I am using SimpleScalar cross-compiler 2.95.2 ( http://www.simplescalar.com/v4test.html) On Thu, Jun 18, 2009 at 3:30 PM, Anton Korobeynikov <anton at korobeynikov.info> wrote:> Hello > > > hello.s:6: Error: Unknown pseudo-op: `.eabi_attribute' > How old is your arm toolchain? > > -- > With best regards, Anton Korobeynikov > Faculty of Mathematics and Mechanics, Saint Petersburg State University > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Juan Carlos Martínez Santos 242 Foster Drive Apt H Colonial Townhouse Apartments Willimantic, CT 06226-1538 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090618/f3146d69/attachment.html>