Re: object file formats

Ian Lance Taylor <ian@zembu.com>
28 Jan 2001 02:12:25 -0500

          From comp.compilers

Related articles
object file formats gilesmw@ncsc.navy.mil (2001-01-26)
Re: object file formats ian@zembu.com (Ian Lance Taylor) (2001-01-28)
| List of all articles for this month |
From: Ian Lance Taylor <ian@zembu.com>
Newsgroups: comp.compilers
Date: 28 Jan 2001 02:12:25 -0500
Organization: Compilers Central
References: 01-01-160
Keywords: linker
Posted-Date: 28 Jan 2001 02:12:25 EST

gilesmw@ncsc.navy.mil writes:


> What is the difference between the following object file formats: COFF,
> ECOFF, and XCOFF?
>
> thanks,
>
> mark
> [COFF is AT&T's object format for early System V, ECOFF is Microsoft's
> mutant version for Windows, XCOFF is IBM's mutant version for AIX. -John]


Actually, Microsoft's mutant version is called PE. ECOFF is the
mutant version from MIPS, later adopted by OSF/1 and Digital Unix.


ECOFF adds small data sections and fancy debugging information, and
removes the ability to have an arbitrary number of sections.


XCOFF adds csects, a different approach to small data sections, and
changes relocation and symbol handling. XCOFF amounts to a completely
different object file format layered into COFF.


More specific questions may yield more specific answers.


Ian
[Microsoft's really is also called ECOFF, with two variants, the linkable
ECOFF objects and the linked PE. -John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.