summaryrefslogtreecommitdiff
path: root/elf_x86_64_efi.lds
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2021-03-23 23:49:46 +0000
committerSteve McIntyre <steve@einval.com>2021-03-23 23:49:46 +0000
commit031e5cce385d3f96b1caa1d53495332a7eb03749 (patch)
treeb4988dfbd191b2242b9294e24075b39a608b1155 /elf_x86_64_efi.lds
parent7bf7a6d0852382bb645119b18df3ff461aaba247 (diff)
downloadefi-boot-shim-upstream/15.3.tar.gz
efi-boot-shim-upstream/15.3.zip
New upstream version 15.3upstream/15.3
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) }