You copied the Doc URL to your clipboard.


This option changes the display of the index column when printing memory map output. Use this option with --map.



Where type is one of the following:


Alters the display of the map file to show the order that a section appears on the command-line. The command-line order is defined as File.Object.Section where:

  • Section is the section index, sh_idx, of the Section in the Object

  • Object is the order that Object appears in the File

  • File is the order the File appears on the command line.

The order the Object appears in the File is only significant if the file is an ar archive.


The index value represents the order in which the linker creates the section.


The index value represents the section index of the section in the original input file.


Use --map with --section_index_display=input when you want to find the exact section in an input object.


The default is --section_index_display=internal.

Was this page helpful? Yes No