efi_loader: Rename sections to allow for implicit data
[oweals/u-boot.git] / board / qualcomm / dragonboard410c / u-boot.lds
index dc3f718b0565714b1762dabca260e194cc0f658f..fc1bba8cf08854b5e2be1ed3e2dc66f7b869bc27 100644 (file)
@@ -20,6 +20,19 @@ SECTIONS
                *(.__image_copy_start)
                board/qualcomm/dragonboard410c/head.o (.text*)
                CPUDIR/start.o (.text*)
+       }
+
+       /* This needs to come before *(.text*) */
+       .efi_runtime : {
+                __efi_runtime_start = .;
+               *(.text.efi_runtime*)
+               *(.rodata.efi_runtime*)
+               *(.data.efi_runtime*)
+                __efi_runtime_stop = .;
+       }
+
+       .text_rest :
+       {
                *(.text*)
        }
 
@@ -51,8 +64,8 @@ SECTIONS
 
        .efi_runtime_rel : {
                 __efi_runtime_rel_start = .;
-               *(.relaefi_runtime_text)
-               *(.relaefi_runtime_data)
+               *(.rel*.efi_runtime)
+               *(.rel*.efi_runtime.*)
                 __efi_runtime_rel_stop = .;
        }