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:
Benjamin Walsh 2015-09-16 19:14:40 -04:00 committed by Anas Nashif
commit 09303f7f68
3 changed files with 16 additions and 0 deletions

View file

@ -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[];