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.lds15
1 files changed, 13 insertions, 2 deletions
diff --git a/elf_x86_64_efi.lds b/elf_x86_64_efi.lds
index 1f561b25..bcc65270 100644
--- a/elf_x86_64_efi.lds
+++ b/elf_x86_64_efi.lds
@@ -8,8 +8,8 @@ SECTIONS
ImageBase = .;
.hash : { *(.hash) } /* this MUST come first! */
. = ALIGN(4096);
- .eh_frame :
- {
+ .eh_frame :
+ {
*(.eh_frame)
}
. = ALIGN(4096);
@@ -17,6 +17,8 @@ SECTIONS
{
_text = .;
*(.text)
+ *(.text.*)
+ *(.gnu.linkonce.t.*)
_etext = .;
}
. = ALIGN(4096);
@@ -69,6 +71,15 @@ SECTIONS
}
_edata = .;
_data_size = . - _data;
+ . = ALIGN(4096);
+ .sbat :
+ {
+ _sbat = .;
+ *(.sbat)
+ *(.sbat.*)
+ }
+ _esbat = .;
+ _sbat_size = . - _sbat;
. = ALIGN(4096);
.dynsym : { *(.dynsym) }