| |||
| Home > Using Scatter-loading Description Files > About scatter-loading > Images with a simple memory map | |||
The scatter-loading description in Figure 5.1 loads the segments from the object file into memory corresponding to the map shown in Figure 5.2. The maximum size specifications for the regions are optional but, if they are included, these enable the linker to check that a region does not overflow its boundary.
In this example, the same result can be achieved by specifying --ro-base
0x0 and --rw-base 0x10000 as command-line
options to the linker.