RISC-V: PR27814, Objdump crashes when disassembling a non-ELF RISC-V binary.
authorJob Noorman <mtvec@pm.me>
Tue, 18 May 2021 00:41:11 +0000 (08:41 +0800)
committerNelson Chu <nelson.chu@sifive.com>
Tue, 18 May 2021 01:26:39 +0000 (09:26 +0800)
commit113bb7618a4b52c5fc8fdc0e82b2cd9f72471f72
treef1df2713e905248346f2e64a711feb8635f58877
parent549f123c687def1194243cd8ff3bebd14ba67635
RISC-V: PR27814, Objdump crashes when disassembling a non-ELF RISC-V binary.

2021-05-18  Job Noorman  <mtvec@pm.me>

opcodes/
    PR 27814
    * riscv-dis.c (riscv_get_disassembler): Get elf attributes only for
    the elf objects.
opcodes/ChangeLog
opcodes/riscv-dis.c