Mail Archives: djgpp/1997/02/27/12:03:34
On Thu, 27 Feb 1997, Bill Currie wrote:
> > I just downloaded nasm, and even though I haven't
> > had a chance to test it out yet, I am fairly impressed.
> > I have a question about the disassembler. It claims
> > to only be able to disassemble a straight binary file,
> > no COFF, of ELF formats. How can I translate GCC
> > output (COFF) to simple binary?
>
> IMO, I think it would be better to modify the disassemble to handle coff
> and elf (I could help you with the coff format, and DJ has (or at least
> had) an exelent coff reference on his web site).
Why reinvent the wheel? Isn't `objdump' enough for disassembly?
Another possibility is to load the COFF executable (if it's a linked
program, not a single object file) into gdb or RHIDE and use its
`disassemble' command.
- Raw text -