Hi all,
I'm going to commit the attached patch to trunk and all active branches
in the next hours.
Again, a few tests fixed.
Also, I added a comment which I missed in my last commmit.
Thanks,
Andreas
2017-04-08 Andreas Tobler <andre...@gcc.gnu.org>
* config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME.
Add comment for WCHAR_T.
Index: gcc/config/aarch64/aarch64-freebsd.h
===================================================================
--- gcc/config/aarch64/aarch64-freebsd.h (revision 246785)
+++ gcc/config/aarch64/aarch64-freebsd.h (working copy)
@@ -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 */