aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-10 16:40:20 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-10 16:40:20 -0700
commitabe63b54e8136ac4c7d97fa138940ae6fd96e67e (patch)
tree14bdeee904e6c3709f31c7ef4c766522d50556f1
parent01915b5e8e6cf01c0ed18debdad743d45659200a (diff)
downloadpxelinux-abe63b54e8136ac4c7d97fa138940ae6fd96e67e.tar.gz
pxelinux-abe63b54e8136ac4c7d97fa138940ae6fd96e67e.tar.xz
pxelinux-abe63b54e8136ac4c7d97fa138940ae6fd96e67e.zip
dos: add pointer to PE header in binary
Explicitly add the pointer to the PE header in the binary. That way we might be eventually able to create a merged DOS/Win32 binary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--dos/header.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/dos/header.S b/dos/header.S
index c0698b7f..e7504471 100644
--- a/dos/header.S
+++ b/dos/header.S
@@ -20,6 +20,21 @@ __header_start:
.short 0 /* Overlay number */
.short 0 /* Unknown/pad? */
.short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .short 0 /* Unknown/pad? */
+ .long 0 /* Pointer to Windows PE header */
__reloc:
.balign 512
__header_end: