Author: br
Date: Sat Jan 23 15:33:11 2016
New Revision: 294634
URL: https://svnweb.freebsd.org/changeset/base/294634

Log:
  Add a minimal gcc config for RISC-V.
  This is required to build csu.
  
  Reviewed by:  andrew
  Sponsored by: DARPA, AFRL
  Sponsored by: HEIF5
  Differential Revision:        https://reviews.freebsd.org/D5039

Added:
  head/contrib/gcc/config/riscv64/
  head/contrib/gcc/config/riscv64/freebsd.h   (contents, props changed)
  head/contrib/gcc/config/riscv64/riscv64.h   (contents, props changed)

Added: head/contrib/gcc/config/riscv64/freebsd.h
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/contrib/gcc/config/riscv64/freebsd.h   Sat Jan 23 15:33:11 2016        
(r294634)
@@ -0,0 +1,6 @@
+/* $FreeBSD$ */
+
+#undef INIT_SECTION_ASM_OP
+#undef FINI_SECTION_ASM_OP
+#define INIT_ARRAY_SECTION_ASM_OP "\t.section\t.init_array,\"aw\",%init_array"
+#define FINI_ARRAY_SECTION_ASM_OP "\t.section\t.fini_array,\"aw\",%fini_array"

Added: head/contrib/gcc/config/riscv64/riscv64.h
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ head/contrib/gcc/config/riscv64/riscv64.h   Sat Jan 23 15:33:11 2016        
(r294634)
@@ -0,0 +1 @@
+/* $FreeBSD$ */
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to