diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-15 20:01:45 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-15 20:01:45 +0000 |
commit | 8642108eae6cbb08930c10a883407a7ec2b2be1f (patch) | |
tree | d07f274152fd85a060cb72bf31ac70951804a79d /user/llvm6/musl-ppc64-elfv2.patch | |
parent | de7967e51d8a8b525054bca4dd72dae1b32a48dd (diff) | |
download | packages-8642108eae6cbb08930c10a883407a7ec2b2be1f.tar.gz packages-8642108eae6cbb08930c10a883407a7ec2b2be1f.tar.bz2 packages-8642108eae6cbb08930c10a883407a7ec2b2be1f.tar.xz packages-8642108eae6cbb08930c10a883407a7ec2b2be1f.zip |
Bump LLVM and Clang to 6.0.1, move to user/
Diffstat (limited to 'user/llvm6/musl-ppc64-elfv2.patch')
-rw-r--r-- | user/llvm6/musl-ppc64-elfv2.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/user/llvm6/musl-ppc64-elfv2.patch b/user/llvm6/musl-ppc64-elfv2.patch new file mode 100644 index 000000000..6fa65526b --- /dev/null +++ b/user/llvm6/musl-ppc64-elfv2.patch @@ -0,0 +1,13 @@ +--- llvm-6.0.1.src/lib/Target/PowerPC/PPCTargetMachine.cpp.orig 2018-09-13 03:51:11.900000000 +0000 ++++ llvm-6.0.1.src/lib/Target/PowerPC/PPCTargetMachine.cpp 2018-09-13 03:56:10.740000000 +0000 +@@ -191,6 +191,10 @@ + if (TT.isMacOSX()) + return PPCTargetMachine::PPC_ABI_UNKNOWN; + ++ // musl uses ELFv2 ABI on both endians. ++ if (TT.getEnvironment() == Triple::Musl) ++ return PPCTargetMachine::PPC_ABI_ELFv2; ++ + switch (TT.getArch()) { + case Triple::ppc64le: + return PPCTargetMachine::PPC_ABI_ELFv2; |