While processing the input object modules, the linker determined
that overlay analysis is required (this is typically the case with
object modules created using the C51 or PL/M-51 Compilers). However,
the linker was unable to determine the root segment (which is
required for overlay analysis).
Cause
This is usually caused by a program with mixed C and assembly
where:
The original Keil startup code is not used,
or the main C function is not used,
or only C functions are used and called by a main assembly
function.
Resolution
Without changing the structure of the program, there are two
solutions to this problem.
Use the NOOVERLAY directive to disable overlay analysis
entirely.
Use the OVERLAY directive to create references between
the appropriate program functions.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.