Hi, Don't ask me how but somehow it works now The original ld file with your fix Thank you very much Elad On Tue, Mar 6, 2012 at 7:43 AM, Elad Yosef <elad.yosef@xxxxxxxxx> wrote: > Hi, > I checked that by increasing the ram region size and found that both > libs text and rodata is linked in the wrong place. > It is linked into the ram region and not into my section. > > Thanks > > Elad > > On Tue, Mar 6, 2012 at 12:17 AM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote: >> Elad Yosef <elad.yosef@xxxxxxxxx> writes: >> >>> I have tried changing the exclude rule as suggested but still the same error. >>> Does my new section rules are O.K? >> >> Time to use the -M option to generate a map file to confirm that the >> data is going where you want it to. >> >> If your data is going where you want, and your memory region is >> overflowing, then you need to make your region larger or make your code >> smaller. >> >> Ian