Wrap BFD headers in extern "C"
authorPedro Alves <palves@redhat.com>
Wed, 11 Feb 2015 10:04:47 +0000 (10:04 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 11 Feb 2015 10:04:47 +0000 (10:04 +0000)
commit55172d69d08941ecb3bb1abd640f22abca10de47
treee727a26c1769b18197b714a443972a4f818a2cf0
parent0703599a49d082a957ee233fe018fb6ea7864920
Wrap BFD headers in extern "C"

These were the BFD changes needed for building a C++ GDB with
--enable-targets=all, on x86_64 Fedora 20.

For libbfd.h and libcoff.h, this does same as already done when
generating bfd.h: open extern "C" in the -in.h header, and close it
from the Makefile.

bfd/doc/ChangeLog:
2015-02-11  Pedro Alves  <palves@redhat.com>

* Makefile.am (libbfd.h, libcoff.h): Close extern "C" scope.
* Makefile.in: Regenerate.

bfd/ChangeLog:
2015-02-11  Pedro Alves  <palves@redhat.com>

* libbfd-in.h [__cplusplus]: Open extern "C" scope.
* libcoff-in.h [__cplusplus]: Open extern "C" scope.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.

* elf-bfd.h [__cplusplus]: Wrap in extern "C".
* mach-o.h [__cplusplus]: Wrap in extern "C".
* som.h [__cplusplus]: Wrap in extern "C".
bfd/ChangeLog
bfd/doc/ChangeLog
bfd/doc/Makefile.am
bfd/doc/Makefile.in
bfd/elf-bfd.h
bfd/libbfd-in.h
bfd/libbfd.h
bfd/libcoff-in.h
bfd/libcoff.h
bfd/mach-o.h
bfd/som.h
This page took 0.02512 seconds and 4 git commands to generate.