[syslinux] Question about syslinux EFI alpha version

Matt Fleming matt at console-pimps.org
Wed May 8 05:28:25 PDT 2013


On Tue, 07 May, at 01:05:22PM, Klaus Knopper wrote:
> $ file elilo.efi syslinux.efi syslinux.so
> elilo.efi:    PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
> syslinux.efi: MS-DOS executable
> syslinux.so:  ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
> 
> The output for syslinux.efi just looks wrong.
 
In case anyone is curious why file(1) claims that syslinux.efi is an
MS-DOS executable, it's because file(1) checks whether the value of the
relocs pointer field in the MS-DOS header is >= 0x40, and in the case of
syslinux.efi the field is 0x00.

-- 
Matt Fleming, Intel Open Source Technology Center


More information about the Syslinux mailing list