SPRUIG8J January 2018 – March 2024
In a linker command file, you can set up a SECTIONS directive that describes how input sections are combined into output sections. However, if the linker encounters one or more input sections that do not have a corresponding output section defined in the SECTIONS directive, the linker combines input sections that have the same name into an output section with that name. By default, the linker does not display a message to tell you that this occurred.
Use the --warn_sections option to cause the linker to display a message when it creates a new output section.
For more information about the SECTIONS directive, see Section 12.5.5. For more information about the default actions of the linker, see Section 12.7.