From 8cfd4a906455b29296c85178b1766aba743a9339 Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Sat, 8 Apr 2017 20:58:22 +0200 Subject: [PATCH] aarch64-freebsd.h: Define MCOUNT_NAME. 2017-04-08 Andreas Tobler * config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME. Add comment for WCHAR_T. From-SVN: r246786 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64-freebsd.h | 5 +++++ 2 files changed, 10 insertions(+) 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 + + * config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME. + Add comment for WCHAR_T. + 2017-04-08 Martin Liska 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 */ -- 2.30.2