summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm64
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-03 13:09:10 -0700
committerElliott Hughes <enh@google.com>2015-04-03 13:10:04 -0700
commit0975a5d9d29019e764dc0ab2ddc75759bebffb9b (patch)
tree6a9846314994f6a4987a5670f04bea2a27b84c89 /libc/arch-arm64
parentaea165cb03abceb85062e94f22f72e1c9d9800a4 (diff)
downloadbionic-0975a5d9d29019e764dc0ab2ddc75759bebffb9b.zip
bionic-0975a5d9d29019e764dc0ab2ddc75759bebffb9b.tar.gz
bionic-0975a5d9d29019e764dc0ab2ddc75759bebffb9b.tar.bz2
Fix clang build.
Apparently clang really doesn't want you to take the address of a builtin. Since this is only a temporary hack, let's just shrug and accept that clang-built volantis images won't work until we have new NVIDIA blobs. Bug: http://b/20065774 Change-Id: I4c8e893b15a1af8f9c54d3f89bfef112b63d09b4
Diffstat (limited to 'libc/arch-arm64')
-rw-r--r--libc/arch-arm64/bionic/libgcc_compat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/arch-arm64/bionic/libgcc_compat.c b/libc/arch-arm64/bionic/libgcc_compat.c
index 35158ce..904cc16 100644
--- a/libc/arch-arm64/bionic/libgcc_compat.c
+++ b/libc/arch-arm64/bionic/libgcc_compat.c
@@ -1,5 +1,7 @@
/* 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;
@@ -9,3 +11,5 @@ void* __bionic_libgcc_compat_symbols[] = {
&_Unwind_Backtrace,
&_Unwind_GetIP,
};
+
+#endif