[PATCH] Wrap a few opcodes headers in extern "C" for C++
Pedro Alves
palves@redhat.com
Thu Feb 19 11:54:00 GMT 2015
On 02/12/2015 03:32 PM, Michael Eager wrote:
> On 02/12/15 02:28, Pedro Alves wrote:
>> These are sufficient to link an --enable-targets=all GDB build in C++
>> mode, on x86_64 Fedora 20.
>>
>> OK?
>>
>
>> opcodes/
>> 2015-02-12 Pedro Alves <palves@redhat.com>
>>
>> * microblaze-dis.h [__cplusplus]: Wrap in extern "C".
>
> Microblazze changes OK.
>
Thanks!
Maybe a global binutils maintainer could give this an
OK for the rest? I'm hoping not to have to go bother a
series of port maintainers for such a trivial change.
> include/opcode/
> 2015-02-12 Pedro Alves <palves@redhat.com>
>
> * cgen.h [__cplusplus]: Wrap in extern "C".
> * opcode/msp430-decode.h [__cplusplus]: Likewise.
> * opcode/nios2.h [__cplusplus]: Likewise.
>
> include/
> 2015-02-12 Pedro Alves <palves@redhat.com>
>
> * nios2.h [__cplusplus]: Wrap in extern "C".
> * rl78.h [__cplusplus]: Wrap in extern "C".
> * rx.h [__cplusplus]: Wrap in extern "C".
> * tilegx.h [__cplusplus]: Wrap in extern "C".
Thanks,
Pedro Alves
More information about the Binutils
mailing list