IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > elfdump man page

elfdump man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                          elfdump(1)



NAME
     elfdump - dumps selected parts of an object file

SYNOPSIS
     elfdump    [-cCdegGhHiklmnprsuvy]    [-N name]     [-w file]
     filename...

DESCRIPTION
     The elfdump utility symbolically dumps selected parts of the
     specified  object  file(s).  The options allow specific por-
     tions of the file to be displayed.

     The elfdump utility is similar in function  to  the  dump(1)
     utility.  The  dump  utility  offers an older and less user-
     friendly interface than elfdump, although dump might be more
     appropriate for certain uses such as in shell scripts.

     Archive files, produced by ar(1), can also be inspected with
     elfdump.  In  this  case,  each object within the archive is
     processed using the options supplied.

     For a complete description  of  the  displayed  information,
     refer to the Linker and Libraries Guide.

OPTIONS
     The following options are supported:

     -c              Dumps section header information.



     -C              Demangles C++ symbol names.



     -d              Dumps the contents of the .dynamic section.



     -e              Dumps the ELF header.



     -g              Dumps the contents of the .group section.



     -G              Dumps the contents of the .got section.







SunOS 5.10           Last change: 4 Oct 2004                    1






User Commands                                          elfdump(1)



     -h              Dumps the contents of the .hash section.



     -H              Dumps the contents of the .SUNW_cap hardware
                     and software capabilities section.



     -i              Dumps the contents of the .interp section.



     -k              Calculates    the    ELF    checksum.    See
                     gelf_checksum(3ELF).



     -l              Displays long section names without  trunca-
                     tion.



     -m              Dumps the contents of  the  .SUNW_move  sec-
                     tion.



     -n              Dumps the contents of the .note section.



     -N name         Qualifies an option with  a  specific  name.
                     For  example,  in  a file that contains more
                     than one symbol table, the .dynsym table can
                     be displayed using:


                     example% elfdump -s -N .dynsym filename



     -p              Dumps the program headers.



     -r              Dumps the contents of the .rel[a] relocation
                     sections.







SunOS 5.10           Last change: 4 Oct 2004                    2






User Commands                                          elfdump(1)



     -s              Dumps the contents of the .dynsym and  .sym-
                     tab symbol table sections. For archives, the
                     archive symbol table is also dumped. Indivi-
                     dual  sections  can be specified with the -N
                     option.  An  archive  symbol  table  can  be
                     specified  using the special section name -N
                     ARSYM.

                     In the case of core files, the  shndx  field
                     will  have  the  value  "unknown"  since the
                     field does not contain the valid values.

                     In addition to  the  standard  symbol  table
                     information, the version definition index of
                     the symbol is also provided  under  the  ver
                     heading.



     -u              Dumps the contents of a frame unwind.



     -v              Dumps the contents of the .SUNW_version ver-
                     sion sections.



     -w file         Writes the contents of  a  section  that  is
                     specified  with  the -N option, to the named
                     file. For example, extracting the .text sec-
                     tion of a file can be carried out with:


                     example% elfdump -w text.out -N .text filename



     -y              Dumps the contents of the .SUNW_syminfo sec-
                     tion.



OPERANDS
     The following operand is supported:

     filename        The name of the specified object file.



FILES




SunOS 5.10           Last change: 4 Oct 2004                    3






User Commands                                          elfdump(1)



     liblddbg.so     linker debugging library



ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWbtool                   |
    |_____________________________|_____________________________|
    | Interface Stability         | Stable                      |
    |_____________________________|_____________________________|


SEE ALSO
     ar(1), dump(1), nm(1), pvs(1), elf(3ELF), attributes(5)

     Linker and Libraries Guide


































SunOS 5.10           Last change: 4 Oct 2004                    4





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:24:36 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5080 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (4745 hits)
(Solaris 10 11_06)

CPAN man page (4465 hits)
(Suse Linux 10.1)

ssh man page (4248 hits)
(Suse Linux 10.1)

svn man page (4222 hits)
(FreeBSD 6.2)

startproc man page (2190 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2183 hits)
(Solaris 10 11_06)

netcat man page (2151 hits)
(Suse Linux 10.1)

pprosetup man page (2007 hits)
(Solaris 10 11_06)

signal man page (1991 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Area :: PIC Circuit Design Bedfordshire :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum