aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pxelinux.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/pxelinux.asm b/pxelinux.asm
index 1084a0c6..e1ad103e 100644
--- a/pxelinux.asm
+++ b/pxelinux.asm
@@ -276,6 +276,7 @@ _start:
mov ds,ax
mov es,ax
+%ifndef DEPEND
%if TEXT_START != 0x7c00
; This is uglier than it should be, but works around
; some NASM 0.98.38 bugs.
@@ -287,7 +288,7 @@ _start:
std ; Overlapping areas, copy backwards
rep movsd
%endif
-
+%endif
jmp 0:_start1 ; Canonicalize address
_start1:
mov bp,sp