From: Andreas Tobler Date: Sat, 8 Apr 2017 19:18:15 +0000 (+0200) Subject: backport: aarch64-freebsd.h: Define MCOUNT_NAME. X-Git-Tag: releases/gcc-5.5.0~416 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e54a02e6cd840779f9237cb977fb193fde515a8;p=thirdparty%2Fgcc.git backport: aarch64-freebsd.h: Define MCOUNT_NAME. 2017-04-08 Andreas Tobler Backport from mainline 2017-04-08 Andreas Tobler * config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME. Add comment for WCHAR_T. From-SVN: r246788 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0b6e8fcc004..07eb63cc9495 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2017-04-08 Andreas Tobler + + Backport from mainline + 2017-04-08 Andreas Tobler + + * config/aarch64/aarch64-freebsd.h: Define MCOUNT_NAME. + Add comment for WCHAR_T. + 2017-04-07 Andreas Tobler Backport from mainline diff --git a/gcc/config/aarch64/aarch64-freebsd.h b/gcc/config/aarch64/aarch64-freebsd.h index 84bf41a362fc..bd47b3c4dfdd 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 */