This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] RISC-V: Support for FreeBSD
- From: Kito Cheng <kito dot cheng at gmail dot com>
- To: 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 11:34:57 +0800
- Subject: [PATCH] RISC-V: Support for FreeBSD
- Authentication-results: sourceware.org; auth=none
Hi all:
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.
From 66a63991e7bcb9ef306fc449c8f15ca232f2045d Mon Sep 17 00:00:00 2001
From: Ruslan Bukin <br@bsdpad.com>
Date: Wed, 3 Jan 2018 15:03:55 +0000
Subject: [PATCH] RISC-V: Add support for FreeBSD
---
gas/configure.tgt | 1 +
1 file changed, 1 insertion(+)
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 9d5e781..401c937 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -401,6 +401,7 @@ case ${generic_target} in
pru-*-*) fmt=elf ;;
riscv*-*-*) fmt=elf endian=little ;;
+ riscv*-*-freebsd*) fmt=elf endian=little em=freebsd ;;
s390-*-linux-*) fmt=elf em=linux ;;
s390-*-tpf*) fmt=elf ;;
--
2.7.4