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: ELF platform conversion


"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/


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