summaryrefslogtreecommitdiff
path: root/tools/elf2efi.lds
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2023-02-28 17:44:05 +0100
committerJan Janssen <medhefgo@web.de>2023-03-10 11:41:08 +0100
commitc4ad9b23cafd67e87abbcdcb186db470a5a487e4 (patch)
tree4c67c539749c8dfe1653173793644a6181b015e0 /tools/elf2efi.lds
parent2afeaf1675a6a68636be493a9461e72ce067db19 (diff)
downloadsystemd-c4ad9b23cafd67e87abbcdcb186db470a5a487e4.tar.gz
boot: Fix debug experience
Diffstat (limited to 'tools/elf2efi.lds')
-rw-r--r--tools/elf2efi.lds2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/elf2efi.lds b/tools/elf2efi.lds
index eed9e279e9..805efc156d 100644
--- a/tools/elf2efi.lds
+++ b/tools/elf2efi.lds
@@ -1,4 +1,6 @@
SECTIONS {
+ __ImageBase = .;
+
/* We skip the first page because the space will be occupied by the PE headers after conversion. */
. = CONSTANT(MAXPAGESIZE);
.text ALIGN(CONSTANT(MAXPAGESIZE)) : {