This patch ensures that 64-bit PowerPC musl targets use ELFv2 ABI on both endians. source stating musl uses ELFv2 on both endians
I've tested this on multiple ppc64 hosts running musl and it works fine. I am unsure whether there should be any unit tests added (what would they test?), but if there is a need for that, I will be happy to add it.
All expected tests passed when applied to LLVM 6.0.1 and trunk.
I am also unsure if this affects 32-bit PowerPC or not. It did not seem to in my testing, and it shouldn't; however, if I need to add a TT.getArch() check to this, I will.