From 6dd9f5b375303f1593108e7cf61dbfcd2729c463 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 24 Mar 2015 14:22:58 +0000 Subject: [PATCH] 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 --- contrib/gcc/config/aarch64/aarch64.h | 3 +++ contrib/gcc/config/aarch64/freebsd.h | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 contrib/gcc/config/aarch64/aarch64.h create mode 100644 contrib/gcc/config/aarch64/freebsd.h diff --git a/contrib/gcc/config/aarch64/aarch64.h b/contrib/gcc/config/aarch64/aarch64.h new file mode 100644 index 000000000000..7342f8882f01 --- /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 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"