This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] RISC-V: Support for FreeBSD
- From: Nick Clifton <nickc at redhat dot com>
- To: Kito Cheng <kito dot cheng at gmail dot com>, binutils at sourceware dot org, patches at groups dot riscv dot org, Ruslan Bukin <br at freebsd dot org>, Ruslan Bukin <ruslan dot bukin at cl dot cam dot ac dot uk>, Jim Wilson <jimw at sifive dot com>, Palmer Dabbelt <palmer at sifive dot com>, Andrew Waterman <andrew at sifive dot com>
- Date: Mon, 29 Jan 2018 14:08:03 +0000
- Subject: Re: [PATCH] RISC-V: Support for FreeBSD
- Authentication-results: sourceware.org; auth=none
- References: <CA+yXCZBH4s5e4-TA2T8JeKztfE-8sAH_d7JnsyYrkh0p5TMx5w@mail.gmail.com>
Hi Kito,
> This patch enable RISC-V support FreeBSD, Ruslan (RISC-V FreeBSD
> maintainer) and me has been tested on FreeBSD 12 for building kernel
> and whole user space programs/libraries.
Does this actually work ?
> riscv*-*-*) fmt=elf endian=little ;;
> + riscv*-*-freebsd*) fmt=elf endian=little em=freebsd ;;
To me it looks like the first line will match "riscv-freebsd" as well,
and since it has precedence the freebsd emulation parameter will not be
set.
Cheers
Nick