This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ELF platform conversion
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] ELF platform conversion
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 10 Jul 2001 21:54:20 +0100
- Cc: 'eCos discussion' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <000001c1097d$f29d6d90$090110ac@TRENT>
"Trenton D. Adams" wrote:
>
> I have an ELF library compiled for the i386. Is there a way to convert
> this to ELF for my EP7211? Of course there's probably not because all
> the device accessing and stuff will no longer be valid. But, maybe
> there's a way of decoding the elf format, and then looking at the
> assembly code. It would be nice to have a tool that would decode the
> ELF, and the ASM functions so I can see where functions begin and end.
> Anyone know of such a tool?
Since all the asm is different you can either translate it, or interpret
it. You could try embedding an x86 simulator ;-).
Or you could disassemble the library and try reverse engineering it. Your
legal miles may vary however.
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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/