mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
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.
This commit is contained in:
committed by
Jose E. Marchesi
parent
90f879191c
commit
9698cf9b1c
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user