PR libstdc++/69446
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jan 2016 22:24:59 +0000 (22:24 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Jan 2016 22:24:59 +0000 (22:24 +0000)
* 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

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/hpux/os_defines.h

index b124487..f0edd04 100644 (file)
@@ -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.
index b0fcb72..e034725 100644 (file)
@@ -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",