[PATCH RFC 04/10] [UNTESTED] image: Add support for relocating crypto_algos in linker lists

Simon Glass sjg at chromium.org
Sat May 15 17:20:14 CEST 2021


On Fri, 14 May 2021 at 13:46, Alexandru Gagniuc <mr.nuke.me at gmail.com> wrote:
>
> Function pointers from crypto_algos array are relocated, when
> NEEDS_MANUAL_RELOC is set. This relocation doesn't happen if the algo
> is placed in a linker list. Implement this relocation.
>
> Signed-off-by: Alexandru Gagniuc <mr.nuke.me at gmail.com>
> ---
>  common/image-sig.c | 7 +++++++
>  1 file changed, 7 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>

I don't normally bother with this, since it is due to a toolchain
failure, that really should have been fixed years ago. But I am sure
someone will be happy.

+Michal Simek


More information about the U-Boot mailing list