diff options
Diffstat (limited to 'src/readelf.c')
| -rw-r--r-- | src/readelf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/readelf.c b/src/readelf.c index f1f77ce8..1a10fd01 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -3672,7 +3672,9 @@ print_attributes (Ebl *ebl, const GElf_Ehdr *ehdr) && (shdr->sh_type != SHT_ARM_ATTRIBUTES || ehdr->e_machine != EM_ARM) && (shdr->sh_type != SHT_CSKY_ATTRIBUTES - || ehdr->e_machine != EM_CSKY))) + || ehdr->e_machine != EM_CSKY) + && (shdr->sh_type != SHT_RISCV_ATTRIBUTES + || ehdr->e_machine != EM_RISCV))) continue; printf (_("\ |
