Is it possible to do NOOVERLAY for XDATA and do OVERLAY for DATA. Thanks, Goran
Yes. But, you don't actually use the NOOVERLAY directive. Use OVERLAY to remove all xdata segments from overlay analysis. For example:
BL51 ... OVERLAY (?XD?* ! *)
Why?
Hi Andy, I saw some overlay problem in xdata. Also, I have a lot of xdata and no need for compiler to do overlay. Thank you, Goran
Also, I have a lot of xdata and no need for compiler to do overlay. overlay does not cost you anything, so why worry. Another method would be to define the XDATA variables inside modules. outside functions, that, of course would make them module local, rather than function local, but they would not be overlaid. A third method would be to label them static, a static variable can not be overlaid. Erik