[PATCH v2] sandbox: Fix LTO to work with STACKPROTECTOR
Simon Glass
sjg at chromium.org
Fri Jul 26 14:59:22 CEST 2024
On Tue, 2 Jul 2024 at 18:00, Andrew Goodbody <andrew.goodbody at linaro.org> wrote:
>
> Add the STACKPROTECTOR symbols to the script that generates the
> symbols that should not be removed by the use of LTO when linking
> a shared object. This prevents a fail to build due to link errors.
>
> https://source.denx.de/u-boot/u-boot/-/issues/35
>
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> ---
>
> Changes in v2:
> - Made the new match more specific and added it to the grep run rather
> than run grep twice
>
> scripts/gen_ll_addressable_symbols.sh | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list