Clang currently does not define __ABICALLS__ for NetBSD or for FreeBSD. Additionally, the target independant macro __mips_abicalls is not defined for all mips targets.
Also OpenBSD needs __ABICALLS__.
Understood, I'll add OpenBSD to the patch I will post. Thanks for informing me.
Resolved by r295728.