Example 2. Command File With Linker Directives

a.obj b.obj c.obj /* Input filenames */ --output_file=prog.out /* Options */ --map_file=prog.map MEMORY /* MEMORY directive */ { FAST_MEM: origin = 0x0100 length = 0x0100 SLOW_MEM: origin = 0x7000 length = 0x1000 } SECTIONS /* SECTIONS directive */ { .text: > SLOW_MEM .data: > SLOW_MEM .bss: > FAST_MEM }

For more information, see Section 8.5.4 for the MEMORY directive, and Section 8.5.5 for the SECTIONS directive.