summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-03-24 14:22:58 +0000
committerandrew <andrew@FreeBSD.org>2015-03-24 14:22:58 +0000
commitd576cb2a6f5c973a06ed348ddc3a19fec0d1eab2 (patch)
tree686955db06fc7f23f726e16c8d2d333f13e57010 /contrib/gcc
parentc07f1674cd3c675088c4bf60c853446b21c92d3e (diff)
downloadFreeBSD-src-d576cb2a6f5c973a06ed348ddc3a19fec0d1eab2.zip
FreeBSD-src-d576cb2a6f5c973a06ed348ddc3a19fec0d1eab2.tar.gz
Adda minimal gcc config. This is just enough to build the bits of csu we
get from gcc, and libgcc_eh. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/aarch64/aarch64.h3
-rw-r--r--contrib/gcc/config/aarch64/freebsd.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/contrib/gcc/config/aarch64/aarch64.h b/contrib/gcc/config/aarch64/aarch64.h
new file mode 100644
index 0000000..7342f88
--- /dev/null
+++ b/contrib/gcc/config/aarch64/aarch64.h
@@ -0,0 +1,3 @@
+/* $FreeBSD */
+
+#define FIRST_PSEUDO_REGISTER 67
diff --git a/contrib/gcc/config/aarch64/freebsd.h b/contrib/gcc/config/aarch64/freebsd.h
new file mode 100644
index 0000000..7ce1487
--- /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"
OpenPOWER on IntegriCloud