-
Enhancement
-
Resolution: Unresolved
-
Medium
-
Code Generation Tools
-
CODEGEN-12271
-
ARMCLANG_4.0.0.LTS*
-
ARMCLANG_4.0.0.LTS*
-
default
tiarmclang user guide is lacking sufficient detail to explain how the linker orders input sections within an output section and how linker command file syntax can affect that ordering (for example, when wildcards are used in the input section specification).
It may be appropriate to have a section in the (to be written) programmer's guide that includes information from the linker primer article as well as additional detail about the order in which input sections are inserted into an output section when wildcards are used. For example, does the order in which the input object files are encountered influence how the input sections are found and ordered when wildcards are used in place of an explicit object file name in an input section specification? Is there syntax available that would allow the user to dictate the order? What does the unordered() operator do?
Included in this programmer's guide section (or adjacent to it) should be a more detailed exploration of the order in which output sections are considered for placement within a linker command file, including additional linker options or linker command file syntax that could facilitate manipulation of the output section processing order. For example, GROUP, --honor_cmdfile_order, priority() operator.