1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-27 05:21:16 +02:00
Files
u-boot-megous/lib
Ilias Apalodimas 3f8d13044b efi_loader: access __efi_runtime_rel_start/stop without &
A symbol defined in a linker script (e.g. __efi_runtime_rel_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_rel_start or
extern char __efi_runtime_rel_start[] and access it as
&__efi_runtime_rel_start or __efi_runtime_rel_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>
2024-04-08 13:05:50 +02:00
..
2024-03-27 09:15:39 +01:00
2022-01-18 08:31:02 -05:00
2024-01-13 18:17:46 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-18 09:55:32 -05:00
2019-12-06 16:44:20 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2024-03-27 09:23:30 +01:00
2020-08-24 14:11:31 -04:00
2022-01-19 18:11:34 +01:00