Export std::get_new_handler() from libcxxrt.so

When trying to build world for MIPS64 with clang I was getting
linker errors because of a missing reference to std::get_new_handler().
It turns out std::get_new_handler() was not listed in Version.map so it was
marked as a local symbol in libcxxrt.so.

Reviewed by:	theraven, brooks (mentor), emaste
Approved by:	trasz
Obtained from:	CheriBSD
Differential Revision:	https://reviews.freebsd.org/D11925
This commit is contained in:
Alex Richardson 2017-11-03 12:52:59 +00:00
parent cd48d883bd
commit 8974782e89

View File

@ -377,9 +377,15 @@ GLIBCXX_3.4.9 {
};
} GLIBCXX_3.4;
GLIBCXX_3.4.20 {
extern "C++" {
"std::get_new_handler()";
};
} GLIBCXX_3.4.9;
GLIBCXX_3.4.22 {
extern "C++" {
"std::uncaught_exceptions()";
};
} GLIBCXX_3.4.9;
} GLIBCXX_3.4.20;