git: 8b8ae24e08c9 - stable/15 - stand: Force disable RETPOLINE for boot loaders
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Apr 2026 17:44:05 UTC
The branch stable/15 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=8b8ae24e08c97623cfc464394ca85f86db38bdff
commit 8b8ae24e08c97623cfc464394ca85f86db38bdff
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-03-24 14:53:13 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-04-13 17:43:47 +0000
stand: Force disable RETPOLINE for boot loaders
Boot loaders do not require speculative execution protection, and may be
too large if enabled.
Reported by: Shawn Webb
Reviewed by: dim, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56068
(cherry picked from commit 61f78130c2f3a6abaa70bd66d6d6974060fb3d04)
---
stand/defs.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/stand/defs.mk b/stand/defs.mk
index eb4133b604eb..2cf1893a6159 100644
--- a/stand/defs.mk
+++ b/stand/defs.mk
@@ -11,6 +11,7 @@ FORTIFY_SOURCE= 0
MK_CTF= no
MK_SSP= no
MK_PIE= no
+MK_RETPOLINE= no
MK_ZEROREGS= no
MAN=
.if !defined(PIC)