Page MenuHomeFreeBSD

D50252.diff
No OneTemporary

D50252.diff

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

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)

Event Timeline