kumquat-buildroot/boot
Baruch Siach f03ae60451 boot/arm-trusted-firmware: don't enable SSP by default
SSP support requires support in ATF platform code. Not all platforms
implement plat_get_stack_protector_canary() hook. The result is build
failure:

(.text.asm.update_stack_protector_canary+0x4): undefined reference to `plat_get_stack_protector_canary'

Commit cf176128ec ("boot/arm-trusted-firmware: add SSP option")
originally introduces this issue. But then commit ccac9a5bbb
("boot/arm-trusted-firmware: don't force ENABLE_STACK_PROTECTOR") hid
the problem by effectively disabling SSP for all platforms. So only
after commit 09acc7cbc9 ("boot/arm-trusted-firmware: fix SSP
support") the issue showed up.

Make SSP an opt-in for platform that actually provide the
plat_get_stack_protector_canary() hook.

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Cc: Dick Olsson <hi@senzilla.io>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2022-10-28 08:46:15 +02:00
..
afboot-stm32
arm-trusted-firmware boot/arm-trusted-firmware: don't enable SSP by default 2022-10-28 08:46:15 +02:00
at91bootstrap
at91bootstrap3
at91dataflashboot
barebox
beaglev-ddrinit
beaglev-secondboot
binaries-marvell
boot-wrapper-aarch64
edk2
grub2
gummiboot
lpc32xxcdl
mv-ddr-marvell
mxs-bootlets
opensbi
optee-os
s500-bootloader
shim
sun20i-d1-spl
syslinux
uboot
vexpress-firmware
common.mk
Config.in