Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115852159
D45267.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
582 B
Referenced Files
None
Subscribers
None
D45267.diff
View Options
diff --git a/sys/conf/Makefile.arm64 b/sys/conf/Makefile.arm64
--- a/sys/conf/Makefile.arm64
+++ b/sys/conf/Makefile.arm64
@@ -30,7 +30,8 @@
PERTHREAD_SSP_ENABLED!= grep PERTHREAD_SSP opt_global.h || true ; echo
.if !empty(PERTHREAD_SSP_ENABLED)
-. if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 130000
+. if (${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 130000) || \
+ ${COMPILER_TYPE} == "gcc"
ARM64_SSP_CFLAGS = -mstack-protector-guard=sysreg
ARM64_SSP_CFLAGS += -mstack-protector-guard-reg=sp_el0
ARM64_SSP_CFLAGS += -mstack-protector-guard-offset=0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 30, 1:53 PM (16 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17859042
Default Alt Text
D45267.diff (582 B)
Attached To
Mode
D45267: sys: Build arm64 per-thread SSP with GCC
Attached
Detach File
Event Timeline
Log In to Comment