The EFI symbols are collected in subsections of the .text, .rodata,
.data and .rel sections. Use those when creating EFI runtime sections.

Fixes: 7bf07cf872 (Partially revert "efi_loader: Rename sections to allow for 
implicit data")
Signed-off-by: Andrew Scull <asc...@google.com>
Cc: Heinrich Schuchardt <xypron.g...@gmx.de>
Cc: Simon Glass <s...@chromium.org>
---
 arch/sandbox/cpu/u-boot.lds | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/arch/sandbox/cpu/u-boot.lds b/arch/sandbox/cpu/u-boot.lds
index 6d710618f5..64db801018 100644
--- a/arch/sandbox/cpu/u-boot.lds
+++ b/arch/sandbox/cpu/u-boot.lds
@@ -24,8 +24,9 @@ SECTIONS
        }
 
        .efi_runtime : {
-               *(efi_runtime_text)
-               *(efi_runtime_data)
+               *(.text.efi_runtime*)
+               *(.rodata.efi_runtime*)
+               *(.data.efi_runtime*)
        }
 
        .__efi_runtime_stop : {
@@ -38,8 +39,8 @@ SECTIONS
        }
 
        .efi_runtime_rel : {
-               *(.relefi_runtime_text)
-               *(.relefi_runtime_data)
+               *(.rel*.efi_runtime)
+               *(.rel*.efi_runtime.*)
        }
 
        .efi_runtime_rel_stop :
-- 
2.35.1.1178.g4f1659d476-goog

Reply via email to