.elf to .bin (making an image)
Michael Sokolov
msokolov@ivan.Harhan.ORG
Tue Sep 26 16:58:00 GMT 2000
Shaun Jackman <sjackman@ed.gray.internal> wrote:
> How do I create an image of an executable suitable for burning into flash?
> I have a .elf, so a file converter would do.
Use objcopy from binutils.
> Or, is
> there a way to get an ld script to link the .bin in with a symbol at the
> start of the dump?
You can list your .bin as an object on the link line (indicating the input
object format as binary) and use the linker script to direct it where you want
it to go.
--
Michael Sokolov Harhan Engineering Laboratory
Public Service Agent International Free Computing Task Force
International Engineering and Science Task Force
615 N GOOD LATIMER EXPY STE #4
DALLAS TX 75204-5852 USA
Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list