diff options
author | Heinrich Schuchardt | 2021-03-23 12:37:47 +0100 |
---|---|---|
committer | Simon Glass | 2021-03-27 16:26:48 +1300 |
commit | e5021221db3faf7e90a295d6eb045fbf5c6a908b (patch) | |
tree | 1bab411fe047542ab69342a90fba6110f4dbe124 /arch/sandbox | |
parent | 346df7d4fa62afc578d820b3a18815eec765074f (diff) |
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 <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/cpu/u-boot.lds | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/u-boot.lds b/arch/sandbox/cpu/u-boot.lds index 936da5e1402..a1f509c9ab0 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; |