projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe7fdfd
)
readelf: Make DT_PREINIT_ARRAYSZ's output style match DT_INIT_ARRAYSZ
author
Fangrui Song
<maskray@google.com>
Thu, 4 Nov 2021 07:55:21 +0000
(
00:55
-0700)
committer
Alan Modra
<amodra@gmail.com>
Sat, 6 Nov 2021 06:41:08 +0000
(17:11 +1030)
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
patch
|
blob
|
history
diff --git
a/binutils/readelf.c
b/binutils/readelf.c
index 0fed82b63e3004c735f1e74e430744d888383538..7a162eead17732e473ec0e4203ed5ae7f520cbad 100644
(file)
--- 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: