]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/readelf.c
readelf: Make DT_PREINIT_ARRAYSZ's output style match DT_INIT_ARRAYSZ
authorFangrui Song <maskray@google.com>
Thu, 4 Nov 2021 07:55:21 +0000 (00:55 -0700)
committerAlan Modra <amodra@gmail.com>
Sat, 6 Nov 2021 06:41:08 +0000 (17:11 +1030)
commit04d8355ac606cc96390a51d3db1152aafd4747c6
tree72517bae9a36658afbd09340df99396290e4876e
parentfe7fdfda72b0afdcc0d75fa60441779c1f078909
readelf: Make DT_PREINIT_ARRAYSZ's output style match DT_INIT_ARRAYSZ

The output now looks like:

- 0x0000000000000021 (PREINIT_ARRAYSZ)    0x10
+ 0x0000000000000021 (PREINIT_ARRAYSZ)    16 (bytes)
  0x0000000000000019 (INIT_ARRAY)         0xbefc90
  0x000000000000001b (INIT_ARRAYSZ)       536 (bytes)

* readelf.c (process_dynamic_section): Handle DT_PREINIT_ARRAYSZ.
binutils/readelf.c