mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
8f12cd980d
The longjmp relocation in the master boot record coincidentally had a quote character in it, which caused the master boot record to be used when interpreter by the shell. The solution, is to move the grub stub below the long mode loader so the real mode loader relocation is near the master boot record. This change includes a regression test. |
||
---|---|---|
.. | ||
ape.lds | ||
ape.mk | ||
ape.S | ||
apeinstall.sh | ||
config.h | ||
idata.internal.h | ||
loader-elf.S | ||
loader-macho.lds | ||
loader-macho.S | ||
loader.c | ||
loader.h | ||
loader.lds | ||
macros.internal.h | ||
mz.ansi | ||
notice.inc | ||
relocations.h |