To view this

Use the option

 

 

The .dynamic section in shared libraries and dynamically linked program files.

-L

 

 

The .linkmap section, which is only created when the incremental linker is used (with the

+linkmap

ld+ild command).

 

 

 

The .linkmap_bss section, which is only created when the incremental linker is used (with

+linkmap_bss

the ld +ild command).

 

 

 

The .linkmap_file section, which is only created when the incremental linker is used (with

+linkmap_file

the ld +ild command).

 

 

 

Optional headers (program headers).

-o

 

 

Relocations.

-r

 

 

Sections beginning with .objdebug_ as a string table.

+objdebug

 

 

Section contents.

-s

 

 

Symbol table entries.

-t

 

 

Dumps the value of st_shndx in symbol table, in addition to information dump from -t

-tx

option. This option is useful in verifying the data stored in the symbol table.

 

 

 

Prints versioned symbols.

-tv

 

 

Usage message.

-u

 

 

Unwind table.

-U

 

 

Version number for elfdump.

-V

 

 

The elfdump command provides the following additional options to modify your selections:

Option

Modifies

Causes elfdump to

-C

-c, -r, -s, -t

Demangle C++ symbol names before displaying them.

With -H, ignored.

With -nname, display the symbol whose unmangled name matches name, and prints its symbol name as a demangled name.

-D num

-h, -s

Display the section whose index is num.

 

 

 

+D num2

-h, -s

Display the sections in the range 1 to num2.

 

 

With -D, display the sections in the range num to num2.

 

 

 

-D num

-r

Display the relocation whose index is num.

 

 

 

+D num2

-r

Display only the relocations which apply to the section(s) in the range.

 

 

 

-H

all

Select output format in hexadecimal, octal, or decimal.

 

 

 

-n name

-h, -r, -s

Display information about the section specified by name.

 

 

 

-n name

-t

Display information about the symbol entry specified by name.

 

 

 

-p

all

Suppress title printing.

 

 

 

-q

-k

Suppress printing CTTI section headers.

 

 

 

+s name

-c, -t

Display the section specified by name.

 

 

 

-S

-h,-o

Display headers in short format.

 

 

 

-T num

-t

Display the symbol whose index is num.

Viewing the Contents of an Object File with elfdump(1)

59