- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>
- Subject: AW: [ECOS] disassemble binary arm-code
- From: Edelmann Thomas <Thomas dot Edelmann at nbgm dot siemens dot de>
- Date: Tue, 14 Aug 2001 16:00:57 +0200
yes, it's really a pure binary. ;-)
how should this work? the binary has no symbolinformation.
arm-elf-objcopy tells me "File Format not recognized"
bye,
Thomas
> -----Ursprüngliche Nachricht-----
> Von: Jonathan Larmour [mailto:jlarmour@redhat.com]
> Gesendet: Dienstag, 14. August 2001 15:51
> An: Andrew Lunn
> Cc: Edelmann Thomas; 'ecos-discuss@sourceware.cygnus.com'
> Betreff: Re: [ECOS] 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
>