From b5e1a724542d517b8c6861047141f8c805b6c3f9 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sat, 22 Dec 2018 20:06:47 +0000 Subject: [PATCH] [Patch, PowerPC/Darwin] Fix library export of long double symbols. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit During 8.x, the rs6000 target-specific mangling was reorganised which uncovered a long-standing bug in Darwin’s mangling for ‘IBM’ long double. Now the symbols are correctly mangled, and we end up with a bunch of test link fails. This patch adds the necessary subset of the Linux long double exports to Darwin’s export table. 2018-12-22 Iain Sandoe * /config/os/bsd/darwin/ppc-extra.ver: Append long double symbols. From-SVN: r267358 --- libstdc++-v3/ChangeLog | 4 ++++ .../config/os/bsd/darwin/ppc-extra.ver | 21 +++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 60e7e74a42d..a0ec66b22a7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2018-12-22 Iain Sandoe + + * /config/os/bsd/darwin/ppc-extra.ver: Append long double symbols. + 2018-12-20 Jonathan Wakely * testsuite/27_io/filesystem/operations/proximate.cc: Fix test for diff --git a/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver b/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver index ffe32b65658..f0aee9e8dac 100644 --- a/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver +++ b/libstdc++-v3/config/os/bsd/darwin/ppc-extra.ver @@ -1 +1,22 @@ __eprintf; +# 3.4 + _ZNSt14numeric_limitsIgE*; + _ZNSirsERg; + _ZNSolsEg; + _ZNSt13basic_istreamIwSt11char_traitsIwEErsERg; + _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEg; + _ZSt14__convert_to_vIgEvPKcRT_RSt12_Ios_IostateRKP*; + _ZStlsIg[cw]St11char_traitsI[cw]EERSt13basic_ostreamIT0_T1_ES6_RKSt7complexIT_E; + _ZStrsIg[cw]St11char_traitsI[cw]EERSt13basic_istreamIT0_T1_ES6_RSt7complexIT_E; +# 3.4.7 + _ZNSi10_M_extractIgEERSiRT_; + _ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIgEERS2_RT_; + _ZNSo9_M_insertIgEERSoT_; + _ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIgEERS2_T_; +# 3.4.10 + _ZNKSt3tr14hashIgEclEg; + _ZNKSt4hashIgEclEg; +# ldbl 1.3 + _ZT[IS]g; + _ZT[IS]Pg; + _ZT[IS]PKg; -- 2.30.2