diff --git a/contrib/gcc/config/riscv64/freebsd.h b/contrib/gcc/config/riscv64/freebsd.h new file mode 100644 index 000000000000..7ce148742e7f --- /dev/null +++ b/contrib/gcc/config/riscv64/freebsd.h @@ -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" diff --git a/contrib/gcc/config/riscv64/riscv64.h b/contrib/gcc/config/riscv64/riscv64.h new file mode 100644 index 000000000000..da23dbe43a4f --- /dev/null +++ b/contrib/gcc/config/riscv64/riscv64.h @@ -0,0 +1 @@ +/* $FreeBSD$ */