]> git.baikalelectronics.ru Git - uboot.git/commit
image: Add support for relocating crypto_algos in linker lists
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 14 Jul 2021 22:05:46 +0000 (17:05 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 16 Jul 2021 19:39:29 +0000 (15:39 -0400)
commitb4c16cec9c66f13dfd5470928fce90e64bd21efb
tree8bb0fb5a707f666b93b31f4e5cfd6081ba8b05cd
parenta089fae1de8f196b036d32caecf02b5ff31641e9
image: Add support for relocating crypto_algos in linker lists

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
common/image-sig.c