9.114 --strict_ph, --no_strict_ph

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.
Related concepts
3.13 The strict family of linker options
Related reference
9.111 --strict
9.112 --strict_enum_size, --no_strict_enum_size
9.113 --strict_flags, --no_strict_flags
9.115 --strict_relocations, --no_strict_relocations
9.116 --strict_symbols, --no_strict_symbols
9.117 --strict_visibility, --no_strict_visibility
9.118 --strict_wchar_size, --no_strict_wchar_size
Non-ConfidentialPDF file icon PDF versionARM DUI0377G
Copyright © 2007, 2008, 2011, 2012, 2014, 2015 ARM. All rights reserved.