aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-05-09 14:24:21 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-05-13 12:08:07 +0100
commit5de984d3f42258fb49cfb713002a2e2aae4b16a4 (patch)
treebbe519a2a9c846954d46330cf2c44e0435a9af0c /com32
parentfe283b78c973268f2d1f0309826ceeb5c9e8978d (diff)
downloadsyslinux-5de984d3f42258fb49cfb713002a2e2aae4b16a4.tar.gz
syslinux-5de984d3f42258fb49cfb713002a2e2aae4b16a4.tar.xz
syslinux-5de984d3f42258fb49cfb713002a2e2aae4b16a4.zip
efi: Fill out MS-DOS header relocs field
The relocs field in the MS-DOS header actually indicates the size of the MS-DOS header and needs filling out with a value >= 0x40. See, http://www.ctyme.com/intr/rb-2939.htm#table1594 - "18h WORD offset within header of relocation table 40h or greater for new-format (NE,LE,LX,W3,PE,etc.) executable" Incidentally, file(1) checks the value of that field to differentiate MS-DOS executables from PE-COFF files, e.g. file(1) output before: MS-DOS executable file(1) output after: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32')
0 files changed, 0 insertions, 0 deletions