diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 6555615..f899b6d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,10 @@ 2020-11-20 Nick Alcock <nick.alcock@oracle.com> + * readelf.c (dump_section_as_ctf): Use .dynsym and .dynstr, not + .symtab and .strtab. + +2020-11-20 Nick Alcock <nick.alcock@oracle.com> + * objdump.c (dump_ctf): Report errors from ctf_archive_iter. * readelf.c (dump_section_as_ctf): Likewise. diff --git a/binutils/readelf.c b/binutils/readelf.c index 4d484db..e4d96bb 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -14695,10 +14695,10 @@ dump_section_as_ctf (Elf_Internal_Shdr * section, Filedata * filedata) ctfsect.cts_data = data; if (!dump_ctf_symtab_name) - dump_ctf_symtab_name = strdup (".symtab"); + dump_ctf_symtab_name = strdup (".dynsym"); if (!dump_ctf_strtab_name) - dump_ctf_strtab_name = strdup (".strtab"); + dump_ctf_strtab_name = strdup (".dynstr"); if (dump_ctf_symtab_name && dump_ctf_symtab_name[0] != 0) { |