BL51: WARNING 15 (MULTIPLE CALL TO SEGMENT)
Information in this article applies to:
When I attempt to link my program, the linker responds with the following diagnostic:
WARNING L15: MULTIPLE CALL TO SEGMENT SEGMENT: segment-name CALLER1: segment-name CALLER2: segment-name
The specified segment is called from two levels, CALLER1 and CALLER2; e.g., main and an interrupt function.
This has the same effect as a recursive call and may thus lead to the overwriting of parameters or data. If you are calling a function from a main level and an interrupt level, the main level segment is reported as c_startup which is defined in the startup file (NOT main). This can cause some confusion as the segment name isn't defined by the user and the source file name may be unclear.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Friday, July 15, 2005
of your data.