On 19/04/21 15:07 +0200, Jakub Jelinek wrote:
On Fri, Apr 16, 2021 at 08:48:12PM +0200, Jakub Jelinek via Gcc-patches wrote:Tested on powerpc64{,le}-linux now (-m32/-m64 on be) and while the first patch works fine, the second one unfortunately doesn't on either be or le, so more work is needed there. Thus, I'm withdrawing the second * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update. only patch.Here are the needed changes to make it work. For symbols with _LDBL_ substring in version name we already have code to ignore those if no such symbols appear (but it is slightly incorrect, see below). So, this patch does the same thing for symbol versions with _IEEE128_ substring. The previously incorrectly handled case is that in addition to FUNC:_ZNKSt17__gnu_cxx_ieee1287num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE14_M_extract_intImEES4_S4_S4_RSt8ios_baseRSt12_Ios_IostateRT_@@GLIBCXX_IEEE128_3.4.29 or OBJECT:12:_ZTSu9__ieee128@@CXXABI_IEEE128_1.3.13 cases we also have the OBJECT:0:CXXABI_IEEE128_1.3.13 OBJECT:0:GLIBCXX_IEEE128_3.4.29 cases, which have empty version_name and the name is in that case the symbol version. Those need to be ignored too. Tested on {powerpc64le,powerpc64,x86_64}-linux, ok for trunk?
OK for trunk and gcc-11, thanks.
