Signed-off-by: Andreas Schwab <schwab@suse.de>
+2022-08-10 Andreas Schwab <schwab@suse.de>
+
+ * readelf.c (print_attributes): Also handle SHT_RISCV_ATTRIBUTES.
+
2022-08-09 Andreas Schwab <schwab@suse.de>
* elflint.c (check_program_header): Don't complain about p_filesz
&& (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 (_("\