--strict_ph, --no_strict_ph linker option
Enables or disables the sorting of the Program Header Table entries.
The linker writes the contents of load regions into the output ELF file in the order that load regions are written in the scatter file. Each load region is represented by one ELF program segment. In RVCT v2.2 the Program Header table entries describing the program segments are given the same order as the program segments in the ELF file. To be more compliant with the ELF specification, in RVCT v3.0 and later the Program Header table entries are sorted in ascending virtual address order.
Use the --no_strict_ph command-line option to switch off the sorting of the Program Header table entries.