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

2010-07-27 Thread IshaiS
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

[Bug ld/11845] New: MAX operator looks buggy, returning always the lhs value

2010-07-27 Thread pocmatos at gmail dot com
I have tried this in 2.18 but by looking at 2.20, it seems the problem is still there. (the results are in a port of binutils, but where ld is actually unchanged) The code in ldexp.c is something like: 305 etree_value_type lhs = expld.result; ... 378 case MAX_K: if (lhs.value > expld.result

[Bug ld/11845] relative constant confusion

2010-07-27 Thread amodra at gmail dot com
--- Additional Comments From amodra at gmail dot com 2010-07-28 02:34 --- There is no problem with the MAX operator as far as I can tell. Your source of confusion is twofold. 1) A constant like 0x1000 inside an ouput section statement is not an absolute constant, but rather a section

[Bug ld/11845] ld scripts relative constant confusion

2010-07-27 Thread amodra at gmail dot com
-- What|Removed |Added Summary|relative constant confusion |ld scripts relative constant ||confusion http://sourceware.org/