diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-05-29 11:11:37 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2019-05-29 11:11:37 +0200 |
commit | 9698cf9b1c485edbbeabc9f65bfd0fdef92e3854 (patch) | |
tree | 5dbe117ab7f582cb95faec5ce3b183c7d6397155 /Makefile.def | |
parent | 90f879191c1bc8455527f66fb4ab46873aa870aa (diff) | |
download | gdb-9698cf9b1c485edbbeabc9f65bfd0fdef92e3854.zip gdb-9698cf9b1c485edbbeabc9f65bfd0fdef92e3854.tar.gz gdb-9698cf9b1c485edbbeabc9f65bfd0fdef92e3854.tar.bz2 |
Fix libctf build on non-ELF targets.
All machinery works as on ELF, except for automatic loading of ELF
string and symbol tables in the BFD-style open machinery.
* Makefile.def (dependencies): configure-libctf depends on all-bfd
and all its deps.
* Makefile.in: Regenerated.
libctf/
* configure.in: Check for bfd_section_from_elf_index.
* configure: Regenerate.
* config.h.in [HAVE_BFD_ELF]: Likewise.
* libctf/ctf_open_bfd (ctf_bfdopen_ctfsect): Use it.
abfd is potentially unused now.
Diffstat (limited to 'Makefile.def')
-rw-r--r-- | Makefile.def | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.def b/Makefile.def index 3aa03b4..e3a94f2 100644 --- a/Makefile.def +++ b/Makefile.def @@ -522,6 +522,11 @@ dependencies = { module=all-fastjar; on=all-libiberty; }; dependencies = { module=all-libctf; on=all-libiberty; hard=true; }; dependencies = { module=all-libctf; on=all-bfd; }; dependencies = { module=all-libctf; on=all-zlib; }; +// So that checking for ELF support in BFD from libctf configure is possible. +dependencies = { module=configure-libctf; on=all-bfd; }; +dependencies = { module=configure-libctf; on=all-intl; }; +dependencies = { module=configure-libctf; on=all-zlib; }; +dependencies = { module=configure-libctf; on=all-libiconv; }; // Warning, these are not well tested. dependencies = { module=all-bison; on=all-intl; }; |