diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2019-05-23 23:17:39 +0200 |
---|---|---|
committer | Jose E. Marchesi <jose.marchesi@oracle.com> | 2019-05-23 23:17:39 +0200 |
commit | 45d5293f6e098ff7e85a30554fcdc8c7f00db675 (patch) | |
tree | 784145d819fd4c1d966c59173739bddfe52690aa /bfd/config.bfd | |
parent | 27830e0d383e4ed5e8d131c38f262d3fcc3eff25 (diff) | |
download | gdb-45d5293f6e098ff7e85a30554fcdc8c7f00db675.zip gdb-45d5293f6e098ff7e85a30554fcdc8c7f00db675.tar.gz gdb-45d5293f6e098ff7e85a30554fcdc8c7f00db675.tar.bz2 |
bfd: fix build with --enable-targets=all in 32-bit hosts
This patch avoids for bpf_elf64_le_vec to be referenced in targmatch.h
when building a BFD without BFD64, resulting in an undefined symbol.
This was a regression introduced along with the BPF target.
bfd/ChangeLog:
2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
* config.bfd (targ_cpu): Process bpf-*-none only if BFD64.
* configure.ac: Set target_size=64 for bpf_elf64_le_vec and
bpf_elf64_be_vec.
* configure: Regenerate.
Diffstat (limited to 'bfd/config.bfd')
-rw-r--r-- | bfd/config.bfd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd index 562c331..8bc330e 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -480,11 +480,13 @@ case "${targ}" in targ_defvec=d30v_elf32_vec ;; +#ifdef BFD64 bpf-*-none) targ_defvec=bpf_elf64_le_vec targ_selvecs=bpf_elf64_be_vec targ_underscore=yes ;; +#endif epiphany-*-*) targ_defvec=epiphany_elf32_vec |