This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re: disassemble binary arm-code


Andrew Lunn wrote:
> 
> On Tue, Aug 14, 2001 at 09:22:04AM +0200, Edelmann Thomas wrote:
> > Hi.
> >
> > I have an arm code binary file. (208 bytes)
> >
> > Is it possible to disassemble the file??? How???
> 
> arm-elf-objdump --disassemble-all myfile
> 
> This assumes its an elf file produced by gcc. I think the compile ARM
> sell use some other format.

Indeed. If it really is a pure binary file, you could use arm-elf-objcopy
to convert it to an ELF file. Can't remember the exact options off-hand,
but it's trivial to look up.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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