Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171582558
D14228.id38965.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
871 B
Referenced Files
None
Subscribers
None
D14228.id38965.diff
View Options
Index: share/mk/bsd.linker.mk
===================================================================
--- share/mk/bsd.linker.mk
+++ share/mk/bsd.linker.mk
@@ -12,7 +12,9 @@
# LINKER_FEATURES may contain one or more of the following, based on
# linker support for that feature:
#
-# - build-id : support for generating a Build-ID note
+# - build-id: support for generating a Build-ID note
+# - retpolineplt: support for generating PLT with retpoline speculative
+# execution vulnerability mitigation
#
# These variables with an X_ prefix will also be provided if XLD is set.
#
@@ -70,6 +72,9 @@
.if ${${X_}LINKER_TYPE} != "bfd" || ${${X_}LINKER_VERSION} > 21750
${X_}LINKER_FEATURES+= build-id
.endif
+.if ${${X_}LINKER_TYPE} == "lld" && ${${X_}LINKER_VERSION} >= 60000
+${X_}LINKER_FEATURES+= retpoline
+.endif
.endif
.else
# Use LD's values
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 12, 9:55 PM (4 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38821320
Default Alt Text
D14228.id38965.diff (871 B)
Attached To
Mode
D14228: bsd.linker.mk: add retpolineplt linker feature
Attached
Detach File
Event Timeline
Log In to Comment