Wrap a few opcodes headers in extern "C" for C++
authorPedro Alves <palves@redhat.com>
Thu, 12 Feb 2015 09:59:03 +0000 (09:59 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 19 Feb 2015 22:45:47 +0000 (22:45 +0000)
commitf63c17760fab6fbf56ba500f7a8c746aa15b34a4
tree7bba01d309f4181669a16387647f39b1884dca9b
parent07df97c8578023d1c9313bcec8aceef14de3e90b
Wrap a few opcodes headers in extern "C" for C++

These are sufficient to link an --enable-targets=all GDB build in C++
mode, on x86_64 Fedora 20.

include/opcode/
2015-02-19  Pedro Alves  <palves@redhat.com>

* cgen.h [__cplusplus]: Wrap in extern "C".
* msp430-decode.h [__cplusplus]: Likewise.
* nios2.h [__cplusplus]: Likewise.
* rl78.h [__cplusplus]: Likewise.
* rx.h [__cplusplus]: Likewise.
* tilegx.h [__cplusplus]: Likewise.

opcodes/
2015-02-19  Pedro Alves  <palves@redhat.com>

* microblaze-dis.h [__cplusplus]: Wrap in extern "C".
include/opcode/ChangeLog
include/opcode/cgen.h
include/opcode/msp430-decode.h
include/opcode/nios2.h
include/opcode/rl78.h
include/opcode/rx.h
include/opcode/tilegx.h
opcodes/ChangeLog
opcodes/microblaze-dis.h