aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorJoshua Conner <joshconner@google.com>2017-01-10 18:00:43 +0000
committerJosh Conner <jconner@gcc.gnu.org>2017-01-10 18:00:43 +0000
commit491b3c5f229565df2e58ddfbf732eef82f9ad0ab (patch)
tree4cdc16db25e5598a25a3df3c7223d2b6cf43b5ef /gcc/config/arm
parent904112f6bbb64776936b04c7b6513ffbe7260433 (diff)
downloadgcc-491b3c5f229565df2e58ddfbf732eef82f9ad0ab.zip
gcc-491b3c5f229565df2e58ddfbf732eef82f9ad0ab.tar.gz
gcc-491b3c5f229565df2e58ddfbf732eef82f9ad0ab.tar.bz2
fuchsia-elf.h: New file.
2017-01-10 Joshua Conner <joshconner@google.com> * config/arm/fuchsia-elf.h: New file. * config/fuchsia.h: New file. * config.gcc (*-*-fuchsia*): Set native_system_header_dir. (aarch64*-*-fuchsia*, arm*-*-fuchsia*, x86_64-*-fuchsia*): Add to targets. * config.host: (aarch64*-*-fuchsia*, arm*-*-fuchsia*): Add to hosts. From-SVN: r244281
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/fuchsia-elf.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/arm/fuchsia-elf.h b/gcc/config/arm/fuchsia-elf.h
new file mode 100644
index 0000000..d4e69ea
--- /dev/null
+++ b/gcc/config/arm/fuchsia-elf.h
@@ -0,0 +1,31 @@
+/* Configuration file for ARM Fuchsia ELF targets.
+ Copyright (C) 2017 Free Software Foundation, Inc.
+ Contributed by Google.
+
+ This file is part of GCC.
+
+ GCC is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GCC is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GCC; see the file COPYING3. If not see
+ <http://www.gnu.org/licenses/>. */
+
+/* Use the BPABI builtins and the generic OS builtins. */
+#undef TARGET_SUB_OS_CPP_BUILTINS
+#define TARGET_SUB_OS_CPP_BUILTINS() \
+ TARGET_BPABI_CPP_BUILTINS()
+
+/* Use the AAPCS ABI by default. */
+#undef ARM_DEFAULT_ABI
+#define ARM_DEFAULT_ABI ARM_ABI_AAPCS
+
+#define ARM_TARGET2_DWARF_FORMAT (DW_EH_PE_pcrel | DW_EH_PE_indirect)
+