summaryrefslogtreecommitdiff
path: root/gcc/config/aarch64
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-08 18:58:22 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2017-04-08 18:58:22 +0000
commit3df12a3d558d92c0d1e549e11ba968482cfe8f96 (patch)
tree10296b56bdd19f8ab0ebf9f087b67d5ae2b4316b /gcc/config/aarch64
parentc60c5ae640cf48f57097fc6299f17544cdafc3d5 (diff)
downloadgcc-3df12a3d558d92c0d1e549e11ba968482cfe8f96.tar.gz
2017-04-08 Andreas Tobler <andreast@gcc.gnu.org>
* config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME. Add comment for WCHAR_T. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@246786 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/aarch64')
-rw-r--r--gcc/config/aarch64/aarch64-freebsd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/aarch64/aarch64-freebsd.h b/gcc/config/aarch64/aarch64-freebsd.h
index 84bf41a362f..bd47b3c4dfd 100644
--- a/gcc/config/aarch64/aarch64-freebsd.h
+++ b/gcc/config/aarch64/aarch64-freebsd.h
@@ -91,7 +91,12 @@
#undef TARGET_BINDS_LOCAL_P
#define TARGET_BINDS_LOCAL_P default_binds_local_p_2
+/* Use the AAPCS type for wchar_t, override the one from
+ config/freebsd.h. */
#undef WCHAR_TYPE
#define WCHAR_TYPE "unsigned int"
+#undef MCOUNT_NAME
+#define MCOUNT_NAME ".mcount"
+
#endif /* GCC_AARCH64_FREEBSD_H */