Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157015515
D25210.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
801 B
Referenced Files
None
Subscribers
None
D25210.diff
View Options
Index: head/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
===================================================================
--- head/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
+++ head/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
@@ -426,8 +426,9 @@
if (Args.hasArg(options::OPT_ffixed_x31))
Features.push_back("+reserve-x31");
- // -mrelax is default, unless -mno-relax is specified.
- if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, true))
+ // FreeBSD local, because ld.lld doesn't support relaxations
+ // -mno-relax is default, unless -mrelax is specified.
+ if (Args.hasFlag(options::OPT_mrelax, options::OPT_mno_relax, false))
Features.push_back("+relax");
else
Features.push_back("-relax");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 18, 11:22 PM (12 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33261442
Default Alt Text
D25210.diff (801 B)
Attached To
Mode
D25210: llvm: Default to -mno-relax
Attached
Detach File
Event Timeline
Log In to Comment