This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Linker problem with gcc toolchain and optimisation

Hi,
i'm using a an lpc2119 device with gcc toolchain.
everything works fine, except when i set the optimisation level to anything other than -O0
(ie i try to apply any form of optimisation)

then i get a linker error which is "section .rodata.str1.4 [...] overlaps section .text[....]"

which seems to imply that the string table is not being correctly allocated (?)

any ideas will be much appreciated!

0