summaryrefslogtreecommitdiff
path: root/elf_x86_64_efi.lds
diff options
context:
space:
mode:
Diffstat (limited to 'elf_x86_64_efi.lds')
-rw-r--r--elf_x86_64_efi.lds17
1 files changed, 9 insertions, 8 deletions
diff --git a/elf_x86_64_efi.lds b/elf_x86_64_efi.lds
index ae2cd911..bcc65270 100644
--- a/elf_x86_64_efi.lds
+++ b/elf_x86_64_efi.lds
@@ -61,14 +61,6 @@ SECTIONS
*(.vendor_cert)
}
. = ALIGN(4096);
- .sbat :
- {
- _sbat = .;
- *(.sbat)
- *(.sbat.*)
- _esbat = .;
- }
- . = ALIGN(4096);
.dynamic : { *(.dynamic) }
. = ALIGN(4096);
.rela :
@@ -79,6 +71,15 @@ SECTIONS
}
_edata = .;
_data_size = . - _data;
+ . = ALIGN(4096);
+ .sbat :
+ {
+ _sbat = .;
+ *(.sbat)
+ *(.sbat.*)
+ }
+ _esbat = .;
+ _sbat_size = . - _sbat;
. = ALIGN(4096);
.dynsym : { *(.dynsym) }