Stop symbols generated by the annobin gcc plugin from breaking the disassembly of...
authorNick Clifton <nickc@redhat.com>
Thu, 10 Sep 2020 12:23:11 +0000 (13:23 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 10 Sep 2020 12:23:11 +0000 (13:23 +0100)
commit7ad578807ad20ac19c0b31bf8b97c99eab1ce15e
tree86289cde8b5b130a48206020921471b10a8e8035
parent89ce8eab23ac49c8c990c1934d2dff84841990af
Stop symbols generated by the annobin gcc plugin from breaking the disassembly of PowerPC binaries.

* ppc-dis.c (ppc_symbol_is_valid): New function.  Returns false
for hidden, local, no-type symbols.
(disassemble_init_powerpc): Point the symbol_is_valid field in the
info structure at the new function.
opcodes/ChangeLog
opcodes/ppc-dis.c