spl: Provide a way to mark code needed for relocation
authorSimon Glass <sjg@chromium.org>
Sun, 26 Jan 2025 18:43:20 +0000 (11:43 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 3 Feb 2025 22:01:36 +0000 (16:01 -0600)
commit0741165f3f2f48dfea8bf3e0472208740c5c2d41
treed6c4909bfd6e52dff73876aae1853d4364da52ed
parentfe71ebbea96f585daa35f3429cda7b4cf630a33a
spl: Provide a way to mark code needed for relocation

Add a linker symbol which can be used to mark relocation code, so it can
be collected by the linker and copied into a suitable place and executed
when needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/asm-generic/sections.h