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:
dim 2017-02-22 18:44:57 +00:00
parent 0207bfc981
commit 2e978dd9b0

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 {