Blame SOURCES/compat-libstdc++33++-symver2.patch

727081
2005-05-13  Jakub Jelinek  <jakub@redhat.com>
727081
727081
	* src/globals.cc (_GLIBCPP_ASM_SYMVER): For non-PIC, redefine to a
727081
	hidden alias.
727081
	* src/locale.cc (_GLIBCPP_ASM_SYMVER): Likewise.
727081
727081
--- libstdc++33-v3/src/globals.cc.jj	2002-10-23 01:24:11.000000000 +0200
727081
+++ libstdc++33-v3/src/globals.cc	2005-05-13 12:30:26.000000000 +0200
727081
@@ -33,6 +33,12 @@
727081
 #include <locale>
727081
 #include <ext/stdio_filebuf.h>
727081
 
727081
+#ifndef PIC
727081
+# undef _GLIBCPP_ASM_SYMVER
727081
+# define _GLIBCPP_ASM_SYMVER(cur, old, version) \
727081
+  asm (".globl " #old "\n\t.hidden " #old "\n\t.set " #old "," #cur);
727081
+#endif
727081
+
727081
 // On AIX, and perhaps other systems, library initialization order is
727081
 // not guaranteed.  For example, the static initializers for the main
727081
 // program might run before the static initializers for this library.
727081
--- libstdc++33-v3/src/locale.cc.jj	2003-01-17 18:44:45.000000000 +0100
727081
+++ libstdc++33-v3/src/locale.cc	2005-05-13 13:02:36.000000000 +0200
727081
@@ -34,6 +34,12 @@
727081
 #include <locale>
727081
 #include <bits/atomicity.h>
727081
 
727081
+#ifndef PIC
727081
+# undef _GLIBCPP_ASM_SYMVER
727081
+# define _GLIBCPP_ASM_SYMVER(cur, old, version) \
727081
+  asm (".globl " #old "\n\t.hidden " #old "\n\t.set " #old "," #cur);
727081
+#endif
727081
+
727081
 namespace __gnu_cxx
727081
 {
727081
   // Defined in globals.cc.