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: Add riscv-*-* configure support, and minor cleanup.


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.


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