Surround any unmangled C++ names in libcxxrt's version map with 'extern

"C++"', otherwise ld refuses to make the symbols global in the final
library.  This causes the __int128-related symbols to go missing when
the library is stripped during installation.

Helpful hints:	emaste
MFC after:	2 weeks
X-MFC-With:	r314061
This commit is contained in:
Dimitry Andric 2017-02-22 18:44:57 +00:00
parent a4806d2a62
commit e3c4285520
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314104

View file

@ -255,12 +255,14 @@ CXXABI_1.3.1 {
} CXXABI_1.3;
CXXABI_1.3.5 {
"typeinfo for __int128 const*";
"typeinfo for __int128";
"typeinfo for __int128*";
"typeinfo for unsigned __int128 const*";
"typeinfo for unsigned __int128";
"typeinfo for unsigned __int128*";
extern "C++" {
"typeinfo for __int128 const*";
"typeinfo for __int128";
"typeinfo for __int128*";
"typeinfo for unsigned __int128 const*";
"typeinfo for unsigned __int128";
"typeinfo for unsigned __int128*";
};
} CXXABI_1.3.1;
CXXABI_1.3.6 {
@ -268,12 +270,14 @@ CXXABI_1.3.6 {
} CXXABI_1.3.5;
CXXABI_1.3.9 {
"typeinfo name for __int128 const*";
"typeinfo name for __int128";
"typeinfo name for __int128*";
"typeinfo name for unsigned __int128 const*";
"typeinfo name for unsigned __int128";
"typeinfo name for unsigned __int128*";
extern "C++" {
"typeinfo name for __int128 const*";
"typeinfo name for __int128";
"typeinfo name for __int128*";
"typeinfo name for unsigned __int128 const*";
"typeinfo name for unsigned __int128";
"typeinfo name for unsigned __int128*";
};
} CXXABI_1.3.6;
CXXRT_1.0 {