How to load and execute COFF file

Bill Gatliff bgat@billgatliff.com
Fri Sep 12 16:55:00 GMT 2003


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



More information about the crossgcc mailing list