Do not hide _ZSt21ios_base_library_initv

The symbol should not be hidden:
https://bugzilla.redhat.com/show_bug.cgi?id=2188013

Resolves: RHEL-54138
This commit is contained in:
Marek Polacek 2024-08-13 09:20:59 -04:00
parent 6198a29c8e
commit 8b3243a114

View File

@ -825,7 +825,7 @@
+#include "../c++98/locale_facets.cc" +#include "../c++98/locale_facets.cc"
--- libstdc++-v3/src/nonshared98/ios_init.cc.jj 2024-07-18 16:10:38.324406775 +0200 --- libstdc++-v3/src/nonshared98/ios_init.cc.jj 2024-07-18 16:10:38.324406775 +0200
+++ libstdc++-v3/src/nonshared98/ios_init.cc 2024-07-18 18:09:02.166562200 +0200 +++ libstdc++-v3/src/nonshared98/ios_init.cc 2024-07-18 18:09:02.166562200 +0200
@@ -0,0 +1,41 @@ @@ -0,0 +1,38 @@
+// Copyright (C) 1997-2024 Free Software Foundation, Inc. +// Copyright (C) 1997-2024 Free Software Foundation, Inc.
+// +//
+// This file is part of the GNU ISO C++ Library. This library is free +// This file is part of the GNU ISO C++ Library. This library is free
@ -864,9 +864,6 @@
+ +
+_GLIBCXX_END_NAMESPACE_VERSION +_GLIBCXX_END_NAMESPACE_VERSION
+} // namespace +} // namespace
+#ifdef __powerpc64__
+asm (".hidden _ZSt21ios_base_library_initv");
+#endif
--- libstdc++-v3/src/nonshared98/Makefile.am.jj 2024-07-18 16:10:38.324406775 +0200 --- libstdc++-v3/src/nonshared98/Makefile.am.jj 2024-07-18 16:10:38.324406775 +0200
+++ libstdc++-v3/src/nonshared98/Makefile.am 2024-07-19 12:01:12.820878679 +0200 +++ libstdc++-v3/src/nonshared98/Makefile.am 2024-07-19 12:01:12.820878679 +0200
@@ -0,0 +1,102 @@ @@ -0,0 +1,102 @@