[syslinux] Question about syslinux EFI alpha version

Jeffrey Hutzelman jhutz at cmu.edu
Thu May 9 08:42:51 PDT 2013


On Thu, 2013-05-09 at 12:34 +0100, Matt Fleming wrote:
> On 05/08/2013 07:13 PM, H. Peter Anvin wrote:
> > On 05/08/2013 05:28 AM, Matt Fleming wrote:
> >> 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.
> >>
> > 
> > The relocs pointer is also the size of the MS-DOS header, so this is a
> > real bug which should be fixed.
> 
> Do you know whether that is documented anywhere? I'm having trouble
> finding a source to corroborate that.

See table #01594 in the interrupt list, available at the following
places:

http://www.ctyme.com/intr/rb-2939.htm#table1594
http://www.delorie.com/djgpp/doc/rbinter/it/94/15.html

In Ralf Brown's original distribution, this table starts at line 5238 of
INTERRUP.G (as of release 61, 16-July-2000).

-- Jeff



More information about the Syslinux mailing list