This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Wrap a few opcodes headers in extern "C" for C++


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]