Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 450580 Details for
Bug 595834
sys-devel/clang: arm keywording (was: does not detect arm hardfloat)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-Driver-Support-hardfloat-vendor-triples-used-by-Gent.patch (for clang)
0001-Driver-Support-hardfloat-vendor-triples-used-by-Gent.patch (text/plain), 1.20 KB, created by
Michał Górny
on 2016-10-17 16:34:24 UTC
(
hide
)
Description:
0001-Driver-Support-hardfloat-vendor-triples-used-by-Gent.patch (for clang)
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2016-10-17 16:34:24 UTC
Size:
1.20 KB
patch
obsolete
>From 857225d3324ebc6e9869eaf50301bf24b282a8f9 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> >Date: Mon, 17 Oct 2016 18:22:43 +0200 >Subject: [PATCH] [Driver] Support "hardfloat" vendor triples used by Gentoo > >--- > lib/Driver/Tools.cpp | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > >diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp >index b7a323f..ba123c9 100644 >--- a/lib/Driver/Tools.cpp >+++ b/lib/Driver/Tools.cpp >@@ -838,8 +838,12 @@ arm::FloatABI arm::getARMFloatABI(const ToolChain &TC, const ArgList &Args) { > case llvm::Triple::GNUEABI: > case llvm::Triple::MuslEABI: > case llvm::Triple::EABI: >- // EABI is always AAPCS, and if it was not marked 'hard', it's softfp >- ABI = FloatABI::SoftFP; >+ // Gentoo puts "hardfloat" in vendor field instead of using *hf >+ // environment variant. >+ if (Triple.getVendorName() == "hardfloat") >+ ABI = FloatABI::Hard; >+ else // EABI is always AAPCS, and if it was not marked 'hard', it's softfp >+ ABI = FloatABI::SoftFP; > break; > case llvm::Triple::Android: > ABI = (SubArch == 7) ? FloatABI::SoftFP : FloatABI::Soft; >-- >2.10.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 595834
:
449958
|
450002
|
450004
|
450580
|
454920
|
454922