summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-23 22:24:59 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-01-23 22:24:59 +0000
commitf7e5bfa6980469650a5e8c5c111b262e8d79a749 (patch)
treeb4493e5507f7a0e22090c31d622242461d0b8467 /libstdc++-v3
parenta4838119add56937e25718f33215075f4077e029 (diff)
downloadgcc-f7e5bfa6980469650a5e8c5c111b262e8d79a749.tar.gz
PR libstdc++/69446
* config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/hpux/os_defines.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index b1244875e54..f0edd040727 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2016-01-23 John David Anglin <danglin@gcc.gnu.org>
+
+ PR libstdc++/69446
+ * config/os/hpux/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
+
2016-01-22 Edward Smith-Rowland <3dw4rd@verizon.net>
TR29124 C++ Special Math - <math.h> pulls funcs into global namespace.
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h
index b0fcb725ec7..e0347258ec5 100644
--- a/libstdc++-v3/config/os/hpux/os_defines.h
+++ b/libstdc++-v3/config/os/hpux/os_defines.h
@@ -99,6 +99,9 @@ typedef long int __padding_type;
to null pointers when weak symbol support is on. */
#define _GLIBCXX_GTHREAD_USE_WEAK 0
+// No support for referencing weak symbols without a definition.
+#define _GLIBCXX_USE_WEAK_REF 0
+
// The strtold function is obsolete and not C99 conformant on PA HP-UX.
// It returns plus or minus _LDBL_MAX instead of plus or minus HUGE_VALL
// if the correct value would cause overflow. It doesn't handle "inf",