diff mbox

aarch64 FreeBSD MCOUNT_NAME

Message ID f4b591bf-6855-63f8-ec24-a7d063fffbf2@fgznet.ch
State New
Headers show

Commit Message

Andreas Tobler April 8, 2017, 6:42 p.m. UTC
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  <andreast@gcc.gnu.org>

	* config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME.
	Add comment for WCHAR_T.
diff mbox

Patch

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 */