summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64-freebsd.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8c6e57f3a0c..368765ef02d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-08 Andreas Tobler <andreast@gcc.gnu.org>
+
+ * config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME.
+ Add comment for WCHAR_T.
+
2017-04-08 Martin Liska <mliska@suse.cz>
Revert:
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 */