Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2026 17:44:05 +0000
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8b8ae24e08c9 - stable/15 - stand: Force disable RETPOLINE for boot loaders
Message-ID:  <69dd2b65.35f35.76c14434@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dd2b65.35f35.76c14434>