Re: readelf: Support SHT_RELR/DT_RELR for -r
authorAlan Modra <amodra@gmail.com>
Mon, 22 May 2023 07:55:36 +0000 (17:25 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 22 May 2023 07:55:36 +0000 (17:25 +0930)
commitbc227f4ccb0778a56ca3d9f27652fd9e5e2747ea
tree32b46bd267309c97d3d08c988851a08b8b4f64dd
parent17a6f5f26c661dd0f72133cac20db823bf57d7a3
Re: readelf: Support SHT_RELR/DT_RELR for -r

Revert value of DT_ENCODING to as it was before commit a7fd118627, and
adjust readelf.

include/
* elf/common.h (DT_ENCODING): Set back to 32.
binutils/
* readelf.c (struct filedata): Don't size dynamic_info array
using DT_ENCODING.
binutils/readelf.c
include/elf/common.h