summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64/bionic/libgcc_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm64/bionic/libgcc_compat.c')
-rw-r--r--libc/arch-arm64/bionic/libgcc_compat.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libc/arch-arm64/bionic/libgcc_compat.c b/libc/arch-arm64/bionic/libgcc_compat.c
new file mode 100644
index 0000000..2dae3f5
--- /dev/null
+++ b/libc/arch-arm64/bionic/libgcc_compat.c
@@ -0,0 +1,15 @@
+/* STOPSHIP: remove this once the flounder blobs have been rebuilt (http://b/20065774). */
+
+#if !defined(__clang__)
+
+extern void __clear_cache(char*, char*);
+extern char _Unwind_Backtrace;
+extern char _Unwind_GetIP;
+
+void* __bionic_libgcc_compat_symbols[] = {
+ &__clear_cache,
+ &_Unwind_Backtrace,
+ &_Unwind_GetIP,
+};
+
+#endif