mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294634
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 New Issue
Block a user