1# Define the same version as the libsupc++ from gcc 4.2.1 so that we can use 2# libcxxrt as a drop-in replacement. 3 4CXXABI_1.3 { 5 6 global: 7 8 # ABI functions with C linkage 9 __cxa_allocate_exception; 10 __cxa_bad_cast; 11 __cxa_bad_typeid; 12 __cxa_begin_catch; 13 __cxa_call_unexpected; 14 __cxa_current_exception_type; 15 __cxa_demangle; 16 __cxa_end_catch; 17 __cxa_end_cleanup; 18 __cxa_free_exception; 19 __cxa_get_globals; 20 __cxa_get_globals_fast; 21 __cxa_guard_abort; 22 __cxa_guard_acquire; 23 __cxa_guard_release; 24 __cxa_pure_virtual; 25 __cxa_rethrow; 26 __cxa_throw; 27 __cxa_throw_bad_array_new_length; 28 __dynamic_cast; 29 __gxx_personality_v0; 30 31 extern "C++" { 32 # Type info classes and their destructors 33 "__cxxabiv1::__array_type_info::~__array_type_info()"; 34 "__cxxabiv1::__class_type_info::~__class_type_info()"; 35 "__cxxabiv1::__enum_type_info::~__enum_type_info()"; 36 "__cxxabiv1::__function_type_info::~__function_type_info()"; 37 "__cxxabiv1::__fundamental_type_info::~__fundamental_type_info()"; 38 "__cxxabiv1::__pbase_type_info::~__pbase_type_info()"; 39 "__cxxabiv1::__pointer_to_member_type_info::~__pointer_to_member_type_info()"; 40 "__cxxabiv1::__pointer_type_info::~__pointer_type_info()"; 41 "__cxxabiv1::__si_class_type_info::~__si_class_type_info()"; 42 "__cxxabiv1::__vmi_class_type_info::~__vmi_class_type_info()"; 43 44 # vtables typeinfo classes. 45 "vtable for __cxxabiv1::__array_type_info"; 46 "vtable for __cxxabiv1::__class_type_info"; 47 "vtable for __cxxabiv1::__enum_type_info"; 48 "vtable for __cxxabiv1::__function_type_info"; 49 "vtable for __cxxabiv1::__fundamental_type_info"; 50 "vtable for __cxxabiv1::__pbase_type_info"; 51 "vtable for __cxxabiv1::__pointer_to_member_type_info"; 52 "vtable for __cxxabiv1::__pointer_type_info"; 53 "vtable for __cxxabiv1::__si_class_type_info"; 54 "vtable for __cxxabiv1::__vmi_class_type_info"; 55 56 # Type info for built-in types 57 "typeinfo for bool const*"; 58 "typeinfo for bool"; 59 "typeinfo for char const*"; 60 "typeinfo for char"; 61 "typeinfo for double const*"; 62 "typeinfo for double"; 63 "typeinfo for float const*"; 64 "typeinfo for float"; 65 "typeinfo for int const*"; 66 "typeinfo for int"; 67 "typeinfo for long const*"; 68 "typeinfo for long double const*"; 69 "typeinfo for long double"; 70 "typeinfo for long long const*"; 71 "typeinfo for long long"; 72 "typeinfo for long"; 73 "typeinfo for short const*"; 74 "typeinfo for short"; 75 "typeinfo for signed char const*"; 76 "typeinfo for signed char"; 77 "typeinfo for unsigned char const*"; 78 "typeinfo for unsigned char"; 79 "typeinfo for unsigned int const*"; 80 "typeinfo for unsigned int"; 81 "typeinfo for unsigned long const*"; 82 "typeinfo for unsigned long long const*"; 83 "typeinfo for unsigned long long"; 84 "typeinfo for unsigned long"; 85 "typeinfo for unsigned short const*"; 86 "typeinfo for unsigned short"; 87 "typeinfo for void const*"; 88 "typeinfo for void"; 89 "typeinfo for wchar_t const*"; 90 "typeinfo for wchar_t"; 91 92 "typeinfo for bool*"; 93 "typeinfo for wchar_t*"; 94 "typeinfo for short*"; 95 "typeinfo for char*"; 96 "typeinfo for unsigned char*"; 97 "typeinfo for long long*"; 98 "typeinfo for unsigned short*"; 99 "typeinfo for long*"; 100 "typeinfo for double*"; 101 "typeinfo for unsigned long*"; 102 "typeinfo for unsigned long long*"; 103 "typeinfo for int*"; 104 "typeinfo for long double*"; 105 "typeinfo for signed char*"; 106 "typeinfo for void*"; 107 "typeinfo for unsigned int*"; 108 "typeinfo for float*"; 109 110 "typeinfo for __cxxabiv1::__array_type_info"; 111 "typeinfo for __cxxabiv1::__class_type_info"; 112 "typeinfo for __cxxabiv1::__enum_type_info"; 113 "typeinfo for __cxxabiv1::__function_type_info"; 114 "typeinfo for __cxxabiv1::__fundamental_type_info"; 115 "typeinfo for __cxxabiv1::__pbase_type_info"; 116 "typeinfo for __cxxabiv1::__pointer_to_member_type_info"; 117 "typeinfo for __cxxabiv1::__pointer_type_info"; 118 "typeinfo for __cxxabiv1::__si_class_type_info"; 119 "typeinfo for __cxxabiv1::__vmi_class_type_info"; 120 121 # Typeinfo names. 122 123 "typeinfo name for unsigned char const*"; 124 "typeinfo name for long const*"; 125 "typeinfo name for double const*"; 126 "typeinfo name for unsigned long long const*"; 127 "typeinfo name for unsigned short const*"; 128 "typeinfo name for char const*"; 129 "typeinfo name for long long const*"; 130 "typeinfo name for short const*"; 131 "typeinfo name for unsigned int const*"; 132 "typeinfo name for float const*"; 133 "typeinfo name for bool const*"; 134 "typeinfo name for wchar_t const*"; 135 "typeinfo name for int const*"; 136 "typeinfo name for unsigned long const*"; 137 "typeinfo name for void const*"; 138 "typeinfo name for long double const*"; 139 "typeinfo name for signed char const*"; 140 "typeinfo name for wchar_t"; 141 "typeinfo name for short"; 142 "typeinfo name for char"; 143 "typeinfo name for float"; 144 "typeinfo name for void"; 145 "typeinfo name for unsigned int"; 146 "typeinfo name for bool"; 147 "typeinfo name for signed char"; 148 "typeinfo name for long double"; 149 "typeinfo name for int"; 150 "typeinfo name for unsigned long long"; 151 "typeinfo name for unsigned long"; 152 "typeinfo name for unsigned char"; 153 "typeinfo name for long"; 154 "typeinfo name for long long"; 155 "typeinfo name for unsigned short"; 156 "typeinfo name for double"; 157 158 "typeinfo name for bool*"; 159 "typeinfo name for wchar_t*"; 160 "typeinfo name for short*"; 161 "typeinfo name for char*"; 162 "typeinfo name for unsigned char*"; 163 "typeinfo name for long long*"; 164 "typeinfo name for unsigned short*"; 165 "typeinfo name for long*"; 166 "typeinfo name for double*"; 167 "typeinfo name for unsigned long*"; 168 "typeinfo name for unsigned long long*"; 169 "typeinfo name for int*"; 170 "typeinfo name for long double*"; 171 "typeinfo name for signed char*"; 172 "typeinfo name for void*"; 173 "typeinfo name for unsigned int*"; 174 "typeinfo name for float*"; 175 176 "typeinfo name for __cxxabiv1::__array_type_info"; 177 "typeinfo name for __cxxabiv1::__class_type_info"; 178 "typeinfo name for __cxxabiv1::__enum_type_info"; 179 "typeinfo name for __cxxabiv1::__function_type_info"; 180 "typeinfo name for __cxxabiv1::__fundamental_type_info"; 181 "typeinfo name for __cxxabiv1::__pbase_type_info"; 182 "typeinfo name for __cxxabiv1::__pointer_to_member_type_info"; 183 "typeinfo name for __cxxabiv1::__pointer_type_info"; 184 "typeinfo name for __cxxabiv1::__si_class_type_info"; 185 "typeinfo name for __cxxabiv1::__vmi_class_type_info"; 186 187 "std::type_info::type_info(std::type_info const&)"; 188 "std::type_info::operator=(std::type_info const&)"; 189 190 191 # Extensions 192 "pathscale::set_terminate(void (*)())"; 193 "pathscale::set_unexpected(void (*)())"; 194 "pathscale::set_use_thread_local_handlers(bool)"; 195 }; 196 197 # C++11 typeinfo not understood by ld.bfd 2.17.50 198 # std::nullptr_t 199 _ZTIDn;_ZTIPDn;_ZTIPKDn; 200 # char16_t 201 _ZTIDi;_ZTIPDi;_ZTIPKDi; 202 # char32_t 203 _ZTIDs;_ZTIPDs;_ZTIPKDs; 204 # IEEE 754r half-precision floating point 205 _ZTIDh;_ZTIPDh;_ZTIPKDh; 206 207 # C++11 typeinfo name not understood by ld.bfd 2.17.50 208 # std::nullptr_t 209 _ZTSDn;_ZTSPDn;_ZTSPKDn; 210 # char16_t 211 _ZTSDi;_ZTSPDi;_ZTSPKDi; 212 # char32_t 213 _ZTSDs;_ZTSPDs;_ZTSPKDs; 214 # IEEE 754r half-precision floating point 215 _ZTSDh;_ZTSPDh;_ZTSPKDh; 216 217 local: 218 *; 219}; 220 221CXXABI_1.3.1 { 222 __cxa_get_exception_ptr; 223} CXXABI_1.3; 224 225CXXABI_1.3.5 { 226 extern "C++" { 227 "typeinfo for __int128 const*"; 228 "typeinfo for __int128"; 229 "typeinfo for __int128*"; 230 "typeinfo for unsigned __int128 const*"; 231 "typeinfo for unsigned __int128"; 232 "typeinfo for unsigned __int128*"; 233 }; 234} CXXABI_1.3.1; 235 236CXXABI_1.3.6 { 237 __cxa_deleted_virtual; 238} CXXABI_1.3.5; 239 240CXXABI_1.3.9 { 241 extern "C++" { 242 "typeinfo name for __int128 const*"; 243 "typeinfo name for __int128"; 244 "typeinfo name for __int128*"; 245 "typeinfo name for unsigned __int128 const*"; 246 "typeinfo name for unsigned __int128"; 247 "typeinfo name for unsigned __int128*"; 248 "operator delete[](void*, unsigned int)"; 249 "operator delete(void*, unsigned int)"; 250 }; 251} CXXABI_1.3.6; 252 253CXXABI_1.3.11 { 254 __cxa_init_primary_exception; 255} CXXABI_1.3.9; 256 257CXXRT_1.0 { 258 259 extern "C++" { 260 "std::type_info::name() const"; 261 "std::type_info::before(std::type_info const&) const"; 262 "std::type_info::operator==(std::type_info const&) const"; 263 "std::type_info::operator!=(std::type_info const&) const"; 264 "std::bad_cast::bad_cast(std::bad_cast const&)"; 265 "std::bad_cast::bad_cast()"; 266 "std::bad_cast::operator=(std::bad_cast const&)"; 267 "std::bad_typeid::bad_typeid(std::bad_typeid const&)"; 268 "std::bad_typeid::bad_typeid()"; 269 "std::bad_typeid::operator=(std::bad_typeid const&)"; 270 "std::exception::exception(std::exception const&)"; 271 "std::exception::exception()"; 272 "std::exception::operator=(std::exception const&)"; 273 "std::bad_alloc::bad_alloc(std::bad_alloc const&)"; 274 "std::bad_alloc::bad_alloc()"; 275 "std::bad_alloc::operator=(std::bad_alloc const&)"; 276 "std::bad_array_new_length::bad_array_new_length(std::bad_array_new_length const&)"; 277 "std::bad_array_new_length::bad_array_new_length()"; 278 "std::bad_array_new_length::operator=(std::bad_array_new_length const&)"; 279 280 }; 281 __cxa_allocate_dependent_exception; 282 __cxa_current_primary_exception; 283 __cxa_decrement_exception_refcount; 284 __cxa_free_dependent_exception; 285 __cxa_increment_exception_refcount; 286 __cxa_rethrow_primary_exception; 287 288} CXXABI_1.3.6; 289 290 291GLIBCXX_3.4 { 292 extern "C++" { 293 "operator delete[](void*)"; 294 "operator delete(void*)"; 295 "operator new[](unsigned int)"; 296 "operator new(unsigned int)"; 297 "operator new(unsigned int, std::nothrow_t const&)"; 298 299 "std::unexpected()"; 300 "std::get_terminate()"; 301 "std::get_unexpected()"; 302 "std::uncaught_exception()"; 303 "std::terminate()"; 304 305 "std::type_info::~type_info()"; 306 "std::bad_cast::~bad_cast()"; 307 "std::bad_typeid::~bad_typeid()"; 308 "std::exception::~exception()"; 309 "std::bad_alloc::~bad_alloc()"; 310 "std::bad_array_new_length::~bad_array_new_length()"; 311 312 "std::exception::what() const"; 313 314 std::set_new_handler*; 315 std::set_terminate*; 316 std::set_unexpected*; 317 std::type_info::__*; 318 319 "vtable for std::bad_alloc"; 320 "vtable for std::bad_cast"; 321 "vtable for std::bad_typeid"; 322 "vtable for std::exception"; 323 "vtable for std::type_info"; 324 "vtable for std::bad_array_new_length"; 325 326 "typeinfo for std::bad_alloc"; 327 "typeinfo for std::bad_typeid"; 328 "typeinfo for std::bad_cast"; 329 "typeinfo for std::exception"; 330 "typeinfo for std::type_info"; 331 "typeinfo for std::bad_array_new_length"; 332 "typeinfo name for std::bad_alloc"; 333 "typeinfo name for std::bad_typeid"; 334 "typeinfo name for std::bad_cast"; 335 "typeinfo name for std::exception"; 336 "typeinfo name for std::type_info"; 337 "typeinfo name for std::bad_array_new_length"; 338 339 }; 340}; 341 342GLIBCXX_3.4.9 { 343 extern "C++" { 344 "std::bad_typeid::what() const"; 345 "std::bad_cast::what() const"; 346 "std::bad_alloc::what() const"; 347 "std::bad_array_new_length::what() const"; 348 }; 349} GLIBCXX_3.4; 350 351GLIBCXX_3.4.20 { 352 extern "C++" { 353 "std::get_new_handler()"; 354 }; 355} GLIBCXX_3.4.9; 356 357GLIBCXX_3.4.22 { 358 extern "C++" { 359 "std::uncaught_exceptions()"; 360 }; 361} GLIBCXX_3.4.20; 362 363