From: Jonathan Wakely Date: Fri, 11 Jan 2019 10:25:46 +0000 (+0000) Subject: Fix incorrect linker script patterns X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ce7e3f8e9789d9185da6d18c8b31b70185de6dc;p=gcc.git Fix incorrect linker script patterns The recent changes to support operator<<(nullptr_t) changed the glob patterns for existing operator<<(T) overloads, but did so incorrectly so they still matched the new symbols. That broke Solaris bootstrap. This patch replaces each of the existing globs by two more precise ones, which match the old symbols but not the new ones. * config/abi/pre/gnu.ver (GLIBCXX_3.4): Correct recent changes to basic_ostream::operator<< patterns. From-SVN: r267832 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index edbc2ecfaed..0ee70790b4e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2019-01-11 Jonathan Wakely + + * config/abi/pre/gnu.ver (GLIBCXX_3.4): Correct recent changes to + basic_ostream::operator<< patterns. + 2019-01-10 Jonathan Wakely * testsuite/27_io/filesystem/operations/last_write_time.cc: Fix diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 788c2e0303c..d3431d2c78e 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -495,7 +495,8 @@ GLIBCXX_3.4 { _ZNSo8_M_writeEPKc[ilx]; _ZNSo3put*; _ZNSo[5-9][a-z]*; - _ZNSolsE*[^Dg]; + _ZNSolsE[^g]; + _ZNSolsEP*; # std::basic_ostream _ZNSt13basic_ostreamIwSt11char_traitsIwEEC[12]Ev; @@ -509,7 +510,8 @@ GLIBCXX_3.4 { _ZNSt13basic_ostreamIwSt11char_traitsIwEE5writeEPKw*; _ZNSt13basic_ostreamIwSt11char_traitsIwEE6sentry*; _ZNSt13basic_ostreamIwSt11char_traitsIwEE8_M_writeEPKw[ilx]; - _ZNSt13basic_ostreamIwSt11char_traitsIwEElsE*[^Dg]; + _ZNSt13basic_ostreamIwSt11char_traitsIwEElsE[^g]; + _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEP*; # std::ostream operators and inserters _ZSt4end[ls]I[cw]St11char_traitsI[cw]EERSt13basic_ostream*;