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]

[PATCH] RISC-V: Support for FreeBSD


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


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