riscv --enable-targets=all on 32-bit host
authorAlan Modra <amodra@gmail.com>
Fri, 12 Mar 2021 11:47:39 +0000 (22:17 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 12 Mar 2021 12:31:01 +0000 (23:01 +1030)
commit203a206d14e4892bc4ab9448e08617506b5d613d
treeb806481fe2aba77a641befc186ab0266ed190ea2
parent7f99d636c2b30fbcee569b7add37d255677e502a
riscv --enable-targets=all on 32-bit host

Attempting to build --enable-targets=all on a 32-bit host results in a
number of errors like the following.

eelf32lriscv.o: in function `gldelf32lriscv_after_allocation':
eelf32lriscv.c:98: undefined reference to `bfd_elf32_riscv_restart_relax_sections'

That's due to needing --enable-64-bit-bfd to get the riscv BFD support
built.

* Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
(ALL_64_EMULATION_SOURCES): ..here.
* Makefile.in: Regenerate.
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in