diff options
author | Fangrui Song <maskray@google.com> | 2021-11-04 01:30:12 -0700 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-11-06 17:11:08 +1030 |
commit | dd207c1302d28d2d2b33cff058bb3fbf5138b480 (patch) | |
tree | 5892f0c7480c96fec278d396a499abd7fe5503c5 /bfd | |
parent | 04d8355ac606cc96390a51d3db1152aafd4747c6 (diff) | |
download | gdb-dd207c1302d28d2d2b33cff058bb3fbf5138b480.zip gdb-dd207c1302d28d2d2b33cff058bb3fbf5138b480.tar.gz gdb-dd207c1302d28d2d2b33cff058bb3fbf5138b480.tar.bz2 |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/elf.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1773,6 +1773,9 @@ _bfd_elf_print_private_bfd_data (bfd *abfd, void *farg) case DT_REL: name = "REL"; break; case DT_RELSZ: name = "RELSZ"; break; case DT_RELENT: name = "RELENT"; break; + case DT_RELR: name = "RELR"; break; + case DT_RELRSZ: name = "RELRSZ"; break; + case DT_RELRENT: name = "RELRENT"; break; case DT_PLTREL: name = "PLTREL"; break; case DT_DEBUG: name = "DEBUG"; break; case DT_TEXTREL: name = "TEXTREL"; break; |