]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: Format first DW_OP_GNU_implicit_pointer argument as DIE offset.
authorMark Wielaard <mjw@redhat.com>
Mon, 6 May 2013 13:48:56 +0000 (15:48 +0200)
committerMark Wielaard <mjw@redhat.com>
Mon, 6 May 2013 13:58:12 +0000 (15:58 +0200)
commit63d8bfd36e8717e274be5cc3b472b87475f4cc12
treeaa530bbdab28a3866cd9131f26d311826a26a1d9
parent9affad3d2314de1bacbabae453a7261cc02feac4
readelf: Format first DW_OP_GNU_implicit_pointer argument as DIE offset.

Make the printing of DW_OP_GNU_implicit_pointer consistent with other
operations that have a DIE offset as argument.

Before:
 [  6e4a]        formal_parameter
                 abstract_origin      (ref4) [  616a]
                 location             (exprloc)
                  [   0] GNU_implicit_pointer 0x6dbe, +0

After:
 [  6e4a]        formal_parameter
                 abstract_origin      (ref4) [  616a]
                 location             (exprloc)
                  [   0] GNU_implicit_pointer [  6dbe] +0

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/readelf.c