Merge "Add __memset_chk assembler for mips32 and mips64."
diff --git a/libm/libm.arm.map b/libm/libm.arm.map
index e781f2d..842f46c 100644
--- a/libm/libm.arm.map
+++ b/libm/libm.arm.map
@@ -272,7 +272,7 @@
*;
};
-LIBC_PRIVATE { # arm mips
+LIBC_DEPRECATED { # arm mips
global: # arm mips
___Unwind_Backtrace; # arm
___Unwind_ForcedUnwind; # arm
diff --git a/libm/libm.map.txt b/libm/libm.map.txt
index 075ebd5..d273603 100644
--- a/libm/libm.map.txt
+++ b/libm/libm.map.txt
@@ -271,7 +271,7 @@
*;
};
-LIBC_PRIVATE { # arm mips
+LIBC_DEPRECATED { # arm mips
global: # arm mips
___Unwind_Backtrace; # arm
___Unwind_ForcedUnwind; # arm
diff --git a/libm/libm.mips.map b/libm/libm.mips.map
index 476c6ad..2429dba 100644
--- a/libm/libm.mips.map
+++ b/libm/libm.mips.map
@@ -272,7 +272,7 @@
*;
};
-LIBC_PRIVATE { # arm mips
+LIBC_DEPRECATED { # arm mips
global: # arm mips
__fixdfdi; # arm mips
__fixsfdi; # arm mips
diff --git a/tests/__cxa_thread_atexit_test.cpp b/tests/__cxa_thread_atexit_test.cpp
index 1432968..e388f3b 100644
--- a/tests/__cxa_thread_atexit_test.cpp
+++ b/tests/__cxa_thread_atexit_test.cpp
@@ -35,12 +35,7 @@
std::string message;
};
-#if defined(__clang__) && defined(__aarch64__)
-// b/25642296, aarch64 clang compiled "thread_local" does not link.
-static ClassWithDtor class_with_dtor;
-#else
static thread_local ClassWithDtor class_with_dtor;
-#endif
static void* thread_nop(void* arg) {
class_with_dtor.set_message(*static_cast<std::string*>(arg));
@@ -52,12 +47,7 @@
pthread_t t;
ASSERT_EQ(0, pthread_create(&t, nullptr, thread_nop, &msg));
ASSERT_EQ(0, pthread_join(t, nullptr));
-#if defined(__clang__) && defined(__aarch64__)
- GTEST_LOG_(INFO) << "Skipping test, b/25642296, "
- << "thread_local does not work with aarch64 clang/llvm.\n";
-#else
ASSERT_EQ("dtor called.", class_with_dtor_output);
-#endif
}
class ClassWithDtorForMainThread {
@@ -74,13 +64,7 @@
};
static void thread_atexit_main() {
-#if defined(__clang__) && defined(__aarch64__)
- static ClassWithDtorForMainThread class_with_dtor_for_main_thread;
- GTEST_LOG_(INFO) << "Skipping test, b/25642296, "
- << "thread_local does not work with aarch64 clang/llvm.\n";
-#else
static thread_local ClassWithDtorForMainThread class_with_dtor_for_main_thread;
-#endif
class_with_dtor_for_main_thread.set_message("d-tor for main thread called.");
exit(0);
}