summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_runtime.c
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2024-04-04 09:35:35 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-04-08 13:05:42 +0200
commitc16248464f93be2254f32f67aaa24c7aa821136a (patch)
tree61e81cd36731ae9a1a8aaffa06726a3474f94c9d /lib/efi_loader/efi_runtime.c
parent92f4cb6f9ac36242826186593fddec3c53ef1dbe (diff)
efi_loader: access __efi_runtime_start/stop without &
A symbol defined in a linker script (e.g. __efi_runtime_start = .;) is only a symbol, not a variable and should not be dereferenced. The common practice is either define it as extern uint32_t __efi_runtime_start or extern char __efi_runtime_start[] and access it as &__efi_runtime_start or __efi_runtime_start respectively. So let's access it properly since we define it as an array Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/efi_runtime.c')
0 files changed, 0 insertions, 0 deletions