This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS MS ECOFF file format
"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