MIPS MS ECOFF file format
Ian Lance Taylor
ian@wasabisystems.com
Fri Dec 3 13:59:00 GMT 2004
"Alexander Voropay" <alec@artcoms.ru> writes:
> No, as it is known, the PE files has a MS-DOS "MZ" header, but this
> file looks like bare COFF/ECOFF/XCOFF MS's variant.
Are you sure that is true of non-i386 COFF/PE files?
Note that there is no standard MIPS COFF. MIPS ECOFF files look like
COFF files at the start, so when BFD sees a MIPS COFF file, it tries
to interpret it as ECOFF. The symbol table and relocation entries are
different in COFF and ECOFF.
> Is there any tool to dump an ECOFF file content precisely ? (not `objbump`)
Look at mips-tdump in the gcc distribution. It doesn't print all
information, but it does print the ECOFF symbol table and
mdebug-format debugging information.
Ian
More information about the Binutils
mailing list