clang/LLVM on a bare metal system

I've been doing a little side project to test the feasibility of using the musl standard C library (used by my ELLCC embedded compiler project based on clang/LLVM) on a bare metal system by handling selected Linux system calls. I've spend a few days prototyping it for the ARM:

After I have it handling interrupts I'll start on pthread_create().

More project info: