aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2016-01-20 17:47:03 +0000
committerTorvald Riegel <torvald@gcc.gnu.org>2016-01-20 17:47:03 +0000
commit7e10bcfa3c30f11136b60b5f6d25acb17afdd57f (patch)
tree648a0c62ea498773610394895ca9ab6b48c2d2d1 /libstdc++-v3
parent3f93466af47bdb6e88d24fcda7a3c76be3d173e4 (diff)
downloadgcc-7e10bcfa3c30f11136b60b5f6d25acb17afdd57f.zip
gcc-7e10bcfa3c30f11136b60b5f6d25acb17afdd57f.tar.gz
gcc-7e10bcfa3c30f11136b60b5f6d25acb17afdd57f.tar.bz2
libstdc++: Darwin does not support weak refs without definition.
PR libstdc++/69310 * config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. From-SVN: r232628
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/bsd/darwin/os_defines.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 577490b..72ee6ed 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-20 Torvald Riegel <triegel@redhat.com>
+
+ PR libstdc++/69310
+ * config/os/bsd/darwin/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
+
2016-01-20 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/60401
diff --git a/libstdc++-v3/config/os/bsd/darwin/os_defines.h b/libstdc++-v3/config/os/bsd/darwin/os_defines.h
index 7e2ed67..36b660b 100644
--- a/libstdc++-v3/config/os/bsd/darwin/os_defines.h
+++ b/libstdc++-v3/config/os/bsd/darwin/os_defines.h
@@ -47,4 +47,7 @@
#define _GLIBCXX_USE_NANOSLEEP 1
#define _GLIBCXX_USE_SCHED_YIELD 1
+// No support for referencing weak symbols without a definition.
+#define _GLIBCXX_USE_WEAK_REF 0
+
#endif