PROVIDE (__START_data_lma = LOADADDR(.data));
PROVIDE (__END_data_lma = LOADADDR(.data) + SIZEOF (.data));
PROVIDE (__START_stack = 0x0007C0);
}
In this script, data will be located from address 0 in order of .bss and .data sections, the vector table, program codes and
constant data will be located from address 0x8000.
Figure 7.4.1.1 shows the memory map after linkage.
S5U1C17001C Manual
(Rev. 1.0)
.data (initial values)
0x8080
0x8000
Unused
0x0000
Figure 7.4.1.1 Memory map configured by default script
Seiko Epson Corporation
.rodata
.text
.vector
.data
.bss
LMA
VMA=LMA
VMA=LMA
VMA=LMA
VMA
VMA=LMA
7 Linker
7-5