[comp.os.msdos.programmer] determining 386 OMF modules

eric@mks.mks.com (Eric Gisin) (09/26/90)

I've found documentation on Easy OMF-386, which is what the PharLap linker
supports.  This has a COMENT with class=0xAA, flags=0x80, data="80386".

The MicroSoft 386 C compilers use PUB386 records, which I cannot
find any documentation on. (other than Xenix <sys/relsym86.h>).

Are there any other formats?

eric@mks.com (Eric Gisin) (09/26/90)

I'm trying to decode just the PUBDEF records in OMF files.
Each symbol is followed by an offset, which is 2 bytes in standard OMF files,
and 4 bytes in 386 OMF files.
A 386 OMF file is indicated by a special COMENT record at the beginning.
The problem is that every compiler seems to have a different COMENT record.
Does anyone have a list of all the COMENT records used by 386 compilers?