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

NOOVERLAY problems

I have a program that uses a couple of different real-time threads. The linker overlays function data by default which is a real problem in this case. I discovered the NOOVERLAY option for the BL51 linker V5.11

I thought this would totally eliminate data overlay. This is not the case. Many fuctions do get their own data segment as can be seen in the .M51 file, but other functions do not. The ones that do not get their own segment end up with overlaid data.

All code is contained in one C source file.
Why is the NOOVERLAY preventing data overlay in only some of the functions and not all of them?