mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
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
This commit is contained in:
parent
7eae0d9fbd
commit
a3e762571c
2 changed files with 7 additions and 0 deletions
6
contrib/gcc/config/riscv64/freebsd.h
Normal file
6
contrib/gcc/config/riscv64/freebsd.h
Normal file
|
|
@ -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"
|
||||
1
contrib/gcc/config/riscv64/riscv64.h
Normal file
1
contrib/gcc/config/riscv64/riscv64.h
Normal file
|
|
@ -0,0 +1 @@
|
|||
/* $FreeBSD$ */
|
||||
Loading…
Reference in a new issue