From e5021221db3faf7e90a295d6eb045fbf5c6a908b Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Tue, 23 Mar 2021 12:37:47 +0100 Subject: [PATCH] sandbox: define __dyn_sym_start, dyn_sym_end On RISC-V the symbols __dyn_sym_start, dyn_sym_end are referenced in efi_runtime_relocate(). Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- arch/sandbox/cpu/u-boot.lds | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/sandbox/cpu/u-boot.lds b/arch/sandbox/cpu/u-boot.lds index 936da5e140..a1f509c9ab 100644 --- a/arch/sandbox/cpu/u-boot.lds +++ b/arch/sandbox/cpu/u-boot.lds @@ -44,6 +44,13 @@ SECTIONS { *(.__efi_runtime_rel_stop) } + + .dynsym : + { + __dyn_sym_start = .; + *(.dynsym) + __dyn_sym_end = .; + } } INSERT BEFORE .data; -- 2.39.5