readelf: Support RELR in -S and -d and output
authorFangrui Song <maskray@google.com>
Thu, 4 Nov 2021 08:30:12 +0000 (01:30 -0700)
committerAlan Modra <amodra@gmail.com>
Sat, 6 Nov 2021 06:41:08 +0000 (17:11 +1030)
commitdd207c1302d28d2d2b33cff058bb3fbf5138b480
tree5892f0c7480c96fec278d396a499abd7fe5503c5
parent04d8355ac606cc96390a51d3db1152aafd4747c6
readelf: Support RELR in -S and -d and output

readelf -r dumping support is not added in this patch.

include/
* elf/common.h: Add SHT_RELR, DT_RELR{,SZ,ENT}
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Add DT_RELR{,SZ,ENT}.
binutils/
* readelf.c (get_dynamic_type): Add DT_RELR{,SZ,ENT}.
(get_section_type_name): Add SHT_RELR.
bfd/elf.c
binutils/readelf.c
include/elf/common.h