linker scripts: add symbols for ROM/RAM boundaries
These symbols have more meaningful names when trying to figure out where the ROM/RAM starts/ends, rather than relying on e.g. __data_rom_start for the end of the ROM (__data_rom_start is the beginning of the data in ROM, thus is not part of the image). Change-Id: I4aa0354ee414fd0d46d0f40952e091ba090e7bce Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
f80bc35d58
commit
09303f7f68
3 changed files with 16 additions and 0 deletions
|
@ -113,6 +113,11 @@ extern char __data_ram_start[];
|
|||
extern int __data_num_words[];
|
||||
#endif
|
||||
|
||||
extern char _image_rom_start[];
|
||||
extern char _image_rom_end[];
|
||||
extern char _image_ram_start[];
|
||||
extern char _image_ram_end[];
|
||||
|
||||
/* end address of image. */
|
||||
extern char _end[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue