This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] RISC-V: Add riscv-*-* configure support, and minor cleanup.
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Jim Wilson <jimw at sifive dot com>, binutils at sourceware dot org
- Date: Fri, 6 Jul 2018 08:35:51 +0200
- Subject: Re: [PATCH] RISC-V: Add riscv-*-* configure support, and minor cleanup.
- References: <20180706005031.17552-1-jimw@sifive.com>
On 06/07/18 02:50, Jim Wilson wrote:
Support for riscv as a CPU has been added to upstream config.sub, so we need
to support it in binutils now. This adds riscv as an alias for riscv32. This
also fixes a consistency problem, where bfd accepted riscv32 and ld accepted
riscv32*. It should be riscv32* everywhere for now, and same with riscv64*.
Tested with riscv{32,64}-{elf,linux} and riscv-elf builds and make checks.
There were no regressions.
Committed.
Jim
bfd/
* config.bfd (riscv32*-*-*): Renamed from riscv32-*-*.
(riscv64*-*-*): Likewise.
(riscv-*-*): Add as an alias for riscv32*-*-*.
ld/
* configure.tgt (riscv-*-*): Add as an alias for riscv32*-*-*.
I would like to backport this change to the 2.31 branch.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.