From d8e2317ddac9db2b4c902c37772b1c166deb2e90 Mon Sep 17 00:00:00 2001 From: Holger Assmann Date: Tue, 5 Apr 2022 15:14:40 +0200 Subject: syslinux: add all hardening flags to blacklist By not blacklisting TARGET_COMPILER_RECORD_SWITCHES parts of the bootloader become too big, with objcopy results then having the wrong size. Since we are handling a bootloader here, we should further disable any hardening option whatsoever. Signed-off-by: Marc Kleine-Budde Signed-off-by: Holger Assmann Message-Id: <20220405131440.3230553-1-h.assmann@pengutronix.de> Signed-off-by: Michael Olbrich --- rules/syslinux.make | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rules/syslinux.make b/rules/syslinux.make index 550fa35a8..0d17470d3 100644 --- a/rules/syslinux.make +++ b/rules/syslinux.make @@ -32,8 +32,7 @@ SYSLINUX_MAKE_ENV := \ ICECC=no SYSLINUX_WRAPPER_BLACKLIST := \ - TARGET_HARDEN_STACKCLASH \ - TARGET_HARDEN_PIE + $(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST) SYSLINUX_MAKE_OPT := $(CROSS_ENV_PROGS) SYSLINUX_INSTALL_OPT := install INSTALLROOT=$(SYSLINUX_PKGDIR) -- cgit v1.2.3