[PATCH] RISC-V: Support for FreeBSD

Nick Clifton nickc@redhat.com
Mon Jan 29 14:26:00 GMT 2018


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



More information about the Binutils mailing list