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 files? 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 file. 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. Thanks Ishai -- View this message in context: http://old.nabble.com/Is-it-possible-to-split-an-elf-%28executable%29-file--tp29277530p29277530.html Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils