summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-efi/elf_x86_64_efi.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mach-efi/elf_x86_64_efi.lds.S')
-rw-r--r--arch/x86/mach-efi/elf_x86_64_efi.lds.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/mach-efi/elf_x86_64_efi.lds.S b/arch/x86/mach-efi/elf_x86_64_efi.lds.S
index ed79118a36..ab4a9e815c 100644
--- a/arch/x86/mach-efi/elf_x86_64_efi.lds.S
+++ b/arch/x86/mach-efi/elf_x86_64_efi.lds.S
@@ -42,6 +42,7 @@ SECTIONS
*(.got.plt)
*(.got)
*(.data*)
+ __bss_start = .;
*(.sdata)
/* the EFI loader doesn't seem to like a .bss section, so we stick
* it all into .data: */
@@ -51,7 +52,9 @@ SECTIONS
*(.bss)
*(COMMON)
*(.rel.local)
+ __bss_stop = .;
}
+ _edata = .;
. = ALIGN(4096);
.dynamic : { *(.dynamic) }