Preliminary mips16

From Dmz-portal

Jump to: navigation, search

to compile and execute helloworld.c
a lot of things work and a lot of things don't work so this is just here for people working on direct object emitter, assembler, disasembler that need an early look.
the programs run correctly in qemu but currently there is an abort when it returns to linux. I have not investigated yet.

/home/rkotler/llvm/install/bin/clang -target mipsel-unknown-linux -ccc-clang-archs mipsel helloworld.c -S -fPIC -emit-llvm -o helloworld.ll


/home/rkotler/llvmpb/install/bin/llc -mcpu=mips16 helloworld.ll -march=mipsel -relocation-model=pic -o helloworld.s -O3 -debug >& helloworld



/home/rkotler/llvmpb/install/bin/llc -mcpu=mips16 helloworld.ll -march=mipsel -relocation-model=pic -o helloworld.s -O3 -debug >& helloworld


/mips/arch/overflow/codesourcery/mips-linux-gnu/pro/release/2012.03-67/Linux/mips-linux-gnu/libc/el/usr/lib/bin/sysroot-qemu sub1.out

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox