elf: Fix bug where slide was not added to entry point address
diff --git a/limine-pxe.bin b/limine-pxe.bin
index f1eb7f88..ef724351 100644
Binary files a/limine-pxe.bin and b/limine-pxe.bin differ
diff --git a/limine.bin b/limine.bin
index 46a1c9e9..54053b03 100644
Binary files a/limine.bin and b/limine.bin differ
diff --git a/stage2.map b/stage2.map
index 2c6f8729..dc020fa9 100644
Binary files a/stage2.map and b/stage2.map differ
diff --git a/stage2/lib/elf.c b/stage2/lib/elf.c
index b9bcae46..55042ceb 100644
--- a/stage2/lib/elf.c
+++ b/stage2/lib/elf.c
@@ -324,7 +324,7 @@ int elf64_load(struct file_handle *fd, uint64_t *entry_point, uint64_t *top, uin
return -1;
}
- *entry_point = hdr.entry;
+ *entry_point = hdr.entry + slide;
return 0;
}
