aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc6
diff options
context:
space:
mode:
authorAndreas Tobler <andreast@FreeBSD.org>2017-04-08 18:55:35 +0000
committerAndreas Tobler <andreast@FreeBSD.org>2017-04-08 18:55:35 +0000
commit2f4835ed3d2368b6586aa9fdac24c48dd260d3e6 (patch)
tree5ed5bb8c602cfeeb9418e227d0df4141cb6bd119 /lang/gcc6
parent486f2937c2ad6170c28bdac61ddae2bed5a91eac (diff)
downloadports-2f4835ed3d2368b6586aa9fdac24c48dd260d3e6.tar.gz
ports-2f4835ed3d2368b6586aa9fdac24c48dd260d3e6.zip
Notes
Diffstat (limited to 'lang/gcc6')
-rw-r--r--lang/gcc6/files/patch-aarch64-support7
1 files changed, 6 insertions, 1 deletions
diff --git a/lang/gcc6/files/patch-aarch64-support b/lang/gcc6/files/patch-aarch64-support
index a5c4fb339801..f8dbdacb9688 100644
--- a/lang/gcc6/files/patch-aarch64-support
+++ b/lang/gcc6/files/patch-aarch64-support
@@ -88,7 +88,7 @@
+LIB1ASMFUNCS = _aarch64_sync_cache_range
--- gcc/config/aarch64/aarch64-freebsd.h.orig 2016-10-20 21:29:03.780130000 +0200
+++ gcc/config/aarch64/aarch64-freebsd.h 2016-10-20 21:29:03.780349000 +0200
-@@ -0,0 +1,94 @@
+@@ -0,0 +1,99 @@
+/* Definitions for AArch64 running FreeBSD
+ Copyright (C) 2016 Free Software Foundation, Inc.
+
@@ -182,6 +182,11 @@
+#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"
++
+#endif /* GCC_AARCH64_FREEBSD_H */
Index: gcc/dwarf2out.c
===================================================================