Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109572803
D6563.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6563.diff
View Options
Index: contrib/llvm/tools/clang/lib/Driver/Tools.cpp
===================================================================
--- contrib/llvm/tools/clang/lib/Driver/Tools.cpp
+++ contrib/llvm/tools/clang/lib/Driver/Tools.cpp
@@ -709,18 +709,6 @@
ABI = FloatABI::Hard;
break;
- case llvm::Triple::FreeBSD:
- switch (Triple.getEnvironment()) {
- case llvm::Triple::GNUEABIHF:
- ABI = FloatABI::Hard;
- break;
- default:
- // FreeBSD defaults to soft float
- ABI = FloatABI::Soft;
- break;
- }
- break;
-
default:
switch (Triple.getEnvironment()) {
case llvm::Triple::GNUEABIHF:
@@ -729,6 +717,11 @@
break;
case llvm::Triple::GNUEABI:
case llvm::Triple::EABI:
+ // FreeBSD defaults to "soft" for pre-ARMv6.
+ if (Triple.getOS() == llvm::Triple::FreeBSD && SubArch < 6) {
+ ABI = FloatABI::Soft;
+ break;
+ }
// EABI is always AAPCS, and if it was not marked 'hard', it's softfp
ABI = FloatABI::SoftFP;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 7, 9:35 PM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16516951
Default Alt Text
D6563.diff (1 KB)
Attached To
Mode
D6563: Remove FreeBSD-specific float ABI selection for arm from Clang
Attached
Detach File
Event Timeline
Log In to Comment