On Sun, 1 Jun 2014 23:21:10 +0200 Sébastien Bourdeauducq <[email protected]> wrote:
> one feature that would be nice is the ability to compile the OpenRISC > CRT using the clang/llvm toolchain alone. Right now it fails due to > some missing features in the integrated assembler: > > clang -target or1k-elf- -integrated-as -c -Os -mhard-mul -mhard-div > -Wall -fno-builtin -nostdinc -DMSC_GIT_ID=0x4c2a2090 > -I../../software/include/base > -I../../software/include -I../../common -Wstrict-prototypes > -Wold-style-definition -Wmissing-prototypes -o crt0-or1k.o crt0-or1k.S > crt0-or1k.S:73:19: error: unknown operand > l.mtspr r0, r21, ((0<< (11)) + 17) > ^ > crt0-or1k.S:73:19: error: unexpected token at start of statement > l.mtspr r0, r21, ((0<< (11)) + 17) > ^ > crt0-or1k.S:74:15: error: unknown operand > l.movhi r21, hi(_reset_handler) > ^ > crt0-or1k.S:74:17: error: unknown operand > l.movhi r21, hi(_reset_handler) Hi, as we mentioned in a previous e-mail [1], we've been working on the LLVM backend for OpenRISC, and we fixed these issues. In the next few days we'll set up a git repo with our tree. Keep an eye on this ML ;) -- Ale [1] http://lists.openrisc.net/pipermail/openrisc/2014-May/002178.html _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
