Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163574111
D40943.id124511.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
942 B
Referenced Files
None
Subscribers
None
D40943.id124511.diff
View Options
diff --git a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp
--- a/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp
+++ b/contrib/llvm-project/clang/lib/Driver/ToolChains/FreeBSD.cpp
@@ -377,8 +377,7 @@
// When targeting 32-bit platforms, look for '/usr/lib32/crt1.o' and fall
// back to '/usr/lib' if it doesn't exist.
- if ((Triple.getArch() == llvm::Triple::x86 || Triple.isMIPS32() ||
- Triple.isPPC32()) &&
+ if (Triple.isArch32Bit() &&
D.getVFS().exists(concat(getDriver().SysRoot, "/usr/lib32/crt1.o")))
getFilePaths().push_back(concat(getDriver().SysRoot, "/usr/lib32"));
else
diff --git a/lib/clang/freebsd_cc_version.h b/lib/clang/freebsd_cc_version.h
--- a/lib/clang/freebsd_cc_version.h
+++ b/lib/clang/freebsd_cc_version.h
@@ -1 +1 @@
-#define FREEBSD_CC_VERSION 1400005
+#define FREEBSD_CC_VERSION 1400006
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 25, 3:29 PM (14 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35478081
Default Alt Text
D40943.id124511.diff (942 B)
Attached To
Mode
D40943: arm64 lib32: change clang to allow -m32 on arm64
Attached
Detach File
Event Timeline
Log In to Comment