|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
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.
Article last edited on: 2005-07-15 16:24:46
Did you find this article helpful? Yes No
How can we improve this article?