1/*
2 * Added after the very last allocation that might land in RAM to define the various
3 * end-of-used-memory symbols
4 */
5
6    SECTION_PROLOGUE(.last_ram_section, (NOLOAD),)
7    {
8#ifdef LAST_RAM_ALIGN
9	LAST_RAM_ALIGN
10#endif
11	_image_ram_end = .;
12	_image_ram_size = _image_ram_end - _image_ram_start;
13	_end = .; /* end of image */
14	z_mapped_end = .;
15    } GROUP_NOLOAD_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
16