This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Wrap a few opcodes headers in extern "C" for C++
- From: Pedro Alves <palves at redhat dot com>
- To: Michael Eager <eager at eagerm dot com>, binutils at sourceware dot org
- Date: Thu, 19 Feb 2015 11:54:07 +0000
- Subject: Re: [PATCH] Wrap a few opcodes headers in extern "C" for C++
- Authentication-results: sourceware.org; auth=none
- References: <1423736927-7783-1-git-send-email-palves at redhat dot com> <54DCC775 dot 2040901 at eagerm dot com>
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