https://sourceware.org/bugzilla/show_bug.cgi?id=33349

            Bug ID: 33349
           Summary: readelf lacks PLT support
           Product: binutils
           Version: 2.46 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: ro at gcc dot gnu.org
                CC: hjl.tools at gmail dot com
  Target Milestone: ---

I recently noticed that readelf has no support for displaying PLTs.  However,
Solaris elfdump does with the -L option.  The output differs between
architectures,
of course, since the format is specified by the respective psABIs.

Here's what elfdump does:

* amd64, i386:

Procedure Linkage Table Section:  .plt
  index    addr  GOT-index  GOT-addr
    [1]  0x4570       [17]  0x10c088  exit
    [2]  0x4580       [18]  0x10c090  _exit
    [3]  0x4590       [19]  0x10c098  atexit

* sparcv9, sparcv7:

Procedure Linkage Table Section:  .plt
  index      addr
    [4]  0x10a480  atexit
    [5]  0x10a4a0  exit
    [6]  0x10a4c0  _exit

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to