|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
I have a project with some assembly files and some C files. When I compile and link my project, I receive the following warning message:
***WARNING L5: CODE SPACE MEMORY OVERLAP FROM: 0000H TO: 0451H
Can you give me any feedback to solve or debug this warning?
This linker warning is issued when 2 or more absolute segments are located at the same address range.
To solve this problem, check your assembly code to make sure that the CSEG at 0 or ORG 0 statements are not used in the code. These force the segment to be an absolute segment (located at address 0000h). When the linker links your program, it cannot relocate the absolute segments and so it must put them where they are defined. If 2 segments are defined to be at address 0000h, the linker generates the warning you have received.
Article last edited on: 2005-07-19 15:14:18
Did you find this article helpful? Yes No
How can we improve this article?