diff options
author | Fangrui Song <maskray@google.com> | 2021-11-04 00:55:21 -0700 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-11-06 17:11:08 +1030 |
commit | 04d8355ac606cc96390a51d3db1152aafd4747c6 (patch) | |
tree | 72517bae9a36658afbd09340df99396290e4876e /binutils/readelf.c | |
parent | fe7fdfda72b0afdcc0d75fa60441779c1f078909 (diff) | |
download | gdb-04d8355ac606cc96390a51d3db1152aafd4747c6.zip gdb-04d8355ac606cc96390a51d3db1152aafd4747c6.tar.gz gdb-04d8355ac606cc96390a51d3db1152aafd4747c6.tar.bz2 |
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.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 0fed82b..7a162ee 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -11385,6 +11385,7 @@ the .dynstr section doesn't match the DT_STRTAB and DT_STRSZ tags\n")); case DT_PLTPADSZ: case DT_MOVEENT : case DT_MOVESZ : + case DT_PREINIT_ARRAYSZ: case DT_INIT_ARRAYSZ: case DT_FINI_ARRAYSZ: case DT_GNU_CONFLICTSZ: |