Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142198806
D50252.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
D50252.diff
View Options
diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile
--- a/stand/i386/loader/Makefile
+++ b/stand/i386/loader/Makefile
@@ -90,7 +90,8 @@
CFLAGS+= -Wall
LDFLAGS+= -static ${LDFLAGS_ORG} -Wl,--gc-sections
-.if ${LINKER_TYPE} == "lld" && ${LINKER_VERSION} >= 130000
+.if (${LINKER_TYPE} == "lld" && ${LINKER_VERSION} >= 130000) || \
+ (${LINKER_TYPE} == "bfd" && ${LINKER_VERSION} >= 23700)
# lld 13 and higher default to garbage collecting start/stop symbols,
# completely ruining our linker sets. For now, work around it by
# disabling this un-feature.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 18, 3:20 AM (13 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27703750
Default Alt Text
D50252.diff (579 B)
Attached To
Mode
D50252: loader: i386: use -z nostart-stop-gc for bfd as well
Attached
Detach File
Event Timeline
Log In to Comment