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: Support for FreeBSD


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


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