aboutsummaryrefslogtreecommitdiffstats
path: root/localboot.inc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-05-28 22:11:57 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-05-28 22:11:57 -0700
commit3ec40a0119587f63411475c76c69f9db24c7598e (patch)
treef0365e546f3cf24966936f8e3a59b6673f8ccdf4 /localboot.inc
parent4ba801edb01acae7281fe09f6225c38390033817 (diff)
downloadsyslinux-elf-3ec40a0119587f63411475c76c69f9db24c7598e.tar.gz
syslinux-elf-3ec40a0119587f63411475c76c69f9db24c7598e.tar.xz
syslinux-elf-3ec40a0119587f63411475c76c69f9db24c7598e.zip
Fix localboot stack bug; cleanup section handling in the ELF universesyslinux-3.70-pre11
Fix and clean up section handling in ELF; fix stack reset in localboot directive (for non-pxelinux, that is.)
Diffstat (limited to 'localboot.inc')
-rw-r--r--localboot.inc5
1 files changed, 1 insertions, 4 deletions
diff --git a/localboot.inc b/localboot.inc
index 288d390a..b6b31deb 100644
--- a/localboot.inc
+++ b/localboot.inc
@@ -26,10 +26,7 @@
local_boot:
call vgaclearmode
- lss sp,[cs:Stack] ; Restore stack pointer
- xor dx,dx
- mov ds,dx
- mov es,dx
+ RESET_STACK_AND_SEGS dx ; dx <- 0
mov fs,dx
mov gs,dx
mov si,localboot_msg