mirror of
https://github.com/limine-bootloader/limine
synced 2025-02-12 23:24:02 +03:00
elf: Fix bug where slide was not added to entry point address
This commit is contained in:
parent
4bebeba64b
commit
fcd3848a22
BIN
limine-pxe.bin
BIN
limine-pxe.bin
Binary file not shown.
BIN
limine.bin
BIN
limine.bin
Binary file not shown.
BIN
stage2.map
BIN
stage2.map
Binary file not shown.
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user