Hi,
For illustrating my problem let say that I have 3 address spaces, separated by some gaps, which are used to allocate EDATA and NCONST segments. According to the order, EDATA are allocated firstly and then NCONST ones. Say that EDATA fill first and half of the second address spaces. Now I have a fairly large NCONST segment (file which collects a lot of const variables) which doesn't fit into 2nd address space and also is a bit too big for last one; which results in address space overflow error. Why linker doesn't split this segment to put one part into second address space and second part into 3rd space. Does it have to occupy continuous memory block?
View all questions in Keil forum