Date: Sat, 23 Jan 2016 15:33:11 +0000 (UTC) From: Ruslan Bukin <br@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r294634 - head/contrib/gcc/config/riscv64 Message-ID: <201601231533.u0NFXB04059075@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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$ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601231533.u0NFXB04059075>