Cross gcc Mailing List Archive
[Prev][Next][Index][Thread]
Re: objdump/objcopy
In article <55bonq$o7r@halon.vggas.com>, pete@jones.asd.sel.sony.com says...
>Hello,
>
>I'm trying to convert a Motorola S-records file to
>coff-m68k format. My objcopy/objdump support both formats but
>I can't successfully convert from srec to coff-m68k. The
>srec file name is rom.ms; when I dump the contents with
>"objdump --full-contents rom.ms", objdump recognizes the
>file format as srec and dumps the contents. Then I try
>to convert it to coff-m68k by "objcopy -I srec -O coff-m68k rom.ms rom.x"
>and it always complains "Output file cannot represent architecture UNKNOWN!",
>but it does create the file rom.x. However, when I try to dump the
>contents of rom.x with "objdump --full-contents rom.x", it says
>"File format not recognized".
>
>Any suggestions? Any help would be greatly appreciated!
You could specify the architecture as m68k on the command line.
--
James Youngman VG Gas Analysis Systems |The trouble with the rat-race
Before sending advertising material, read |is, even if you win, you're
http://www.law.cornell.edu/uscode/47/227.html|still a rat.
Home |
Subject Index |
Thread Index