]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: define __dyn_sym_start, dyn_sym_end
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 23 Mar 2021 11:37:47 +0000 (12:37 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 03:26:48 +0000 (16:26 +1300)
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>
arch/sandbox/cpu/u-boot.lds

index 936da5e1402f691ae339f76cccc5724eb4f76509..a1f509c9ab021417f0c69215a0fabdba65285922 100644 (file)
@@ -44,6 +44,13 @@ SECTIONS
        {
                *(.__efi_runtime_rel_stop)
        }
+
+       .dynsym :
+       {
+               __dyn_sym_start = .;
+               *(.dynsym)
+               __dyn_sym_end = .;
+       }
 }
 
 INSERT BEFORE .data;