You copied the Doc URL to your clipboard.

--section_index_display

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

Syntax

--section_index_display=type

Where type is one of the following:

cmdline

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.

internal

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

input

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

Usage

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

Default

The default is --section_index_display=internal.

See also

Was this page helpful? Yes No