Linker and Libraries Guide

Section-Within-Segment Ordering

By using the following notation it is possible to specify the order that sections will be placed within a segment:


segment_name | section_name1;
segment_name | section_name2;
segment_name | section_name3;

The sections that are named in the above form will be placed before any unnamed sections, and in the order they are listed in the mapfile.