Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102196168
D45469.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
359 B
Referenced Files
None
Subscribers
None
D45469.diff
View Options
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -143,6 +143,9 @@
CFLAGS += -ffixed-x18
# Build with BTI+PAC
CFLAGS += -mbranch-protection=standard
+.if ${LINKER_TYPE} == "lld"
+LDFLAGS += -Wl,-zbti-report=error
+.endif
# TODO: support outline atomics
CFLAGS += -mno-outline-atomics
INLINE_LIMIT?= 8000
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 7:41 PM (18 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
11145312
Default Alt Text
D45469.diff (359 B)
Attached To
Mode
D45469: conf: Enable BTI checking in the arm64 kernel
Attached
Detach File
Event Timeline
Log In to Comment