diff --git a/debian/changelog b/debian/changelog index a243ea88..3f321578 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +llvm-toolchain-snapshot (1:3.9~svn273256-1~exp1) UNRELEASED; urgency=medium + + [ YunQiang Su ] + * Enable FPXX by default on mips/mipsel (Closes: #826749) + + -- Sylvestre Ledru Tue, 21 Jun 2016 11:25:02 +0200 + llvm-toolchain-snapshot (1:3.9~svn272513-1) unstable; urgency=medium * Remove the autoconf section diff --git a/debian/patches/mips-fpxx-enable.diff b/debian/patches/mips-fpxx-enable.diff new file mode 100644 index 00000000..ba119c02 --- /dev/null +++ b/debian/patches/mips-fpxx-enable.diff @@ -0,0 +1,14 @@ +--- a/clang/lib/Driver/Tools.cpp ++++ b/clang/lib/Driver/Tools.cpp +@@ -7172,11 +7172,6 @@ + + bool mips::isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName, + StringRef ABIName, mips::FloatABI FloatABI) { +- if (Triple.getVendor() != llvm::Triple::ImaginationTechnologies && +- Triple.getVendor() != llvm::Triple::MipsTechnologies && +- !Triple.isAndroid()) +- return false; +- + if (ABIName != "32") + return false; + diff --git a/debian/patches/series b/debian/patches/series index 0029d226..8df0d7ef 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -29,5 +29,5 @@ llvm25468-lldb-swig-format-security.diff silent-test-transforms.diff install-scan-build-py.diff #scan-build-py-default.diff - scan-view-fix-path.diff +mips-fpxx-enable.diff