MIPS/opcodes: Only examine ELF file structures if SYMTAB_AVAILABLE
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 19 Dec 2016 11:35:14 +0000 (11:35 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 19 Dec 2016 11:39:20 +0000 (11:39 +0000)
commit91068ec6ae02e85c5ca4fbe3c6e214bd87bb872f
tree8fd14958ba359d64a0cb852754e0acab1d66d056
parent4df995c77118d07c12fb260dbba0ca2b281324f1
MIPS/opcodes: Only examine ELF file structures if SYMTAB_AVAILABLE

Correct commit 640c0ccdc980 ("some objdump -M options, better reg
dumps"), <https://sourceware.org/ml/binutils/2002-12/msg00706.html>, and
only execute code setting up disassembler options based on ELF file
structures if SYMTAB_AVAILABLE is set.

opcodes/
* mips-dis.c (set_default_mips_dis_options) [SYMTAB_AVAILABLE]:
Only examine ELF file structures here.
opcodes/ChangeLog
opcodes/mips-dis.c