[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it possible to split an elf (executable) file?

From: IshaiS
Subject: Is it possible to split an elf (executable) file?
Date: Tue, 27 Jul 2010 02:41:45 -0700 (PDT)

Hello all,

This question is in regard to an issue I am trying to solve now. Any help
will be appreciated.

Is there a way to split one elf (executable) file into two separate elf

I want to add a new code part to my current code, but then my code will
exceed the size of the flash it is burnt to. Therefore I want to burn the
added code to another flash.

My code is copied to RAM by a boot loader (which then jumps to RAM and
starts regular execution). I intend to copy the new code from the second
flash the same way, adjacently (in RAM) to the code copied from the already
used flash.

For this, I actually need two separate elf files, one for each burnt flash.
Since the new code addition will not always be used (it is optional and
therefore will not always be loaded to RAM), I need an exact separation
between files, defining only the new code addition as residing in the second

Is there a GNU tool (or otherwise) that can split an elf file into two?

By the way: I use Xilinx's Microblaze in Virtex4 FPGA.


View this message in context: 
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]