This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS MS ECOFF file format


> Does anyone have more information about MS ECOFF file format ?

My guess would be that it is not ECOFF at all, but is instead a MIPS version of PE/COFF.

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.

=======
$ file ARCINST.EXE
ARCINST.EXE: MIPSEL MIPS-II ECOFF executable (impure) not stripped - version 60.2
=======

=======
$ od -bh ARCINST.EXE
0000000 146 001 004 000 302 323 253 057 040 350 000 000 007 002 000 000
       0166 0004 d3c2 2fab e820 0000 0207 0000
0000020 070 000 007 001 007 001 002 074 000 272 000 000 000 054 000 000
       0038 0107 0107 3c02 ba00 0000 2c00 0000
0000040 000 000 000 000 000 000 140 240 000 000 140 240 000 272 140 240
       0000 0000 0000 a060 0000 a060 ba00 a060
=======

Is't really MIPS ECOFF file, the .EXE extension shouldn't confuse you.

The ARCINST.EXE is a MIPS ARC BIOS application:
http://www.linux-mips.org/wiki/index.php/ARC


Is there any tool to dump an ECOFF file content precisely ? (not `objbump`)



-- -=AV=-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]