aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/aarch64/freebsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/aarch64/freebsd.h')
-rw-r--r--contrib/gcc/config/aarch64/freebsd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/gcc/config/aarch64/freebsd.h b/contrib/gcc/config/aarch64/freebsd.h
new file mode 100644
index 000000000000..7ce148742e7f
--- /dev/null
+++ b/contrib/gcc/config/aarch64/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"