Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 595834 | Differences between
and this patch

Collapse All | Expand All

(-)a/lib/Driver/Tools.cpp (-3 / +6 lines)
Lines 838-845 arm::FloatABI arm::getARMFloatABI(const ToolChain &TC, const ArgList &Args) { Link Here
838
      case llvm::Triple::GNUEABI:
838
      case llvm::Triple::GNUEABI:
839
      case llvm::Triple::MuslEABI:
839
      case llvm::Triple::MuslEABI:
840
      case llvm::Triple::EABI:
840
      case llvm::Triple::EABI:
841
        // EABI is always AAPCS, and if it was not marked 'hard', it's softfp
841
        // Gentoo puts "hardfloat" in vendor field instead of using *hf
842
        ABI = FloatABI::SoftFP;
842
        // environment variant.
843
        if (Triple.getVendorName() == "hardfloat")
844
          ABI = FloatABI::Hard;
845
        else // EABI is always AAPCS, and if it was not marked 'hard', it's softfp
846
          ABI = FloatABI::SoftFP;
843
        break;
847
        break;
844
      case llvm::Triple::Android:
848
      case llvm::Triple::Android:
845
        ABI = (SubArch == 7) ? FloatABI::SoftFP : FloatABI::Soft;
849
        ABI = (SubArch == 7) ? FloatABI::SoftFP : FloatABI::Soft;
846
- 

Return to bug 595834