This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to load and execute COFF file


Toralf:


If the target runs gdbstubs, then you could download and launch the COFF file with gdb.


b.g.


Toralf Lund wrote:


I think I mentioned this earlier, but another question that will be coming up, is how to load and execute a (m68k) COFF file without an OS. With the OS-9 module format that I am used to, I would just load the module at specific address, extract an "execution offset" from the module header and add it to the load address, and jump to to the resulting address. I imagine that with COFF (or ELF, which is of course an alternative, too), it will be slightly more complex. Any information on how to do it would be appreciated.

- Toralf



------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



-- Bill Gatliff GNU-based embedded development, training and consulting services. bgat@billgatliff.com



------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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