Simplify linker script patterns for std::exception_ptr

Message ID 20180706125227.GA5895@redhat.com
State New
Headers show
Series
  • Simplify linker script patterns for std::exception_ptr
Related show

Commit Message

Jonathan Wakely July 6, 2018, 12:52 p.m.
* config/abi/pre/gnu.ver: Use wildcards to combine related patterns.

Tested x86_64-linux and powerpc64le-linux, committed to trunk.
commit 6ae49a85e8e83390225aae7dbbe01518005cf34f
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jul 6 13:40:00 2018 +0100

    Simplify linker script patterns for std::exception_ptr
    
            * config/abi/pre/gnu.ver: Use wildcards to combine related patterns.

Patch

diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver
index e634d3ab707..b09bdef6d09 100644
--- a/libstdc++-v3/config/abi/pre/gnu.ver
+++ b/libstdc++-v3/config/abi/pre/gnu.ver
@@ -2174,14 +2174,10 @@  CXXABI_1.3.3 {
 
 #ifdef HAVE_EXCEPTION_PTR_SINCE_GCC46
     # exception_ptr
-    _ZNSt15__exception_ptr13exception_ptrC1Ev;
-    _ZNSt15__exception_ptr13exception_ptrC2Ev;
-    _ZNSt15__exception_ptr13exception_ptrC1ERKS0_;
-    _ZNSt15__exception_ptr13exception_ptrC2ERKS0_;
-    _ZNSt15__exception_ptr13exception_ptrC1EMS0_FvvE;
-    _ZNSt15__exception_ptr13exception_ptrC2EMS0_FvvE;
-    _ZNSt15__exception_ptr13exception_ptrD1Ev;
-    _ZNSt15__exception_ptr13exception_ptrD2Ev;
+    _ZNSt15__exception_ptr13exception_ptrC[12]Ev;
+    _ZNSt15__exception_ptr13exception_ptrC[12]ERKS0_;
+    _ZNSt15__exception_ptr13exception_ptrC[12]EMS0_FvvE;
+    _ZNSt15__exception_ptr13exception_ptrD[12]Ev;
     _ZNSt15__exception_ptr13exception_ptraSERKS0_;
     _ZNKSt15__exception_ptr13exception_ptrcvMS0_FvvEEv;
     _ZNKSt15__exception_ptr13exception_ptrntEv;