This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] RISC-V: Allow 32-bit BFD to handle 64-bit objects


On 05/01/2017 02:33 PM, Palmer Dabbelt wrote:
We've been telling people that the riscv32-* and riscv64-* toolchains
are exactly the same, but it turns out we were lying: the riscv32-* BFD
doesn't handle 64-bit objects.  This fixes that difference, so the ports
are actually the same.

bfd/ChangeLog

2017-05-01  Palmer Dabbelt  <palmer@dabbelt.com>

         * config.bfd (riscv32-*): Enable unconditionally.
         (riscv64-*): Likewise.
This is obviously a decision for the binutils maintainers, but I can confirm that with the patch installed, GCC is able to build through target-libgcc for riscv32, which it couldn't previously do because the riscv32 BFD bits would blow up assembling the 64bit multilib code produced by GCC.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]