summaryrefslogtreecommitdiffstats
path: root/libbacktrace
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-01-27 22:23:41 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-27 22:23:41 +0000
commit56e73359021697d898ba8d6243776bc94854f765 (patch)
tree72c32d6f9585ebd3c7fa05ede7cb682dbede9915 /libbacktrace
parentdd200e9d2f7d6e8cb4a414f76fcacd166f7b8059 (diff)
parent8d12b4a0901df4ab708243b4cd36c19ac2002a50 (diff)
downloadsystem_core-56e73359021697d898ba8d6243776bc94854f765.zip
system_core-56e73359021697d898ba8d6243776bc94854f765.tar.gz
system_core-56e73359021697d898ba8d6243776bc94854f765.tar.bz2
am 8d12b4a0: am 4fe48966: am 57c9b95b: am 39baa829: Merge "Get arm64 to compile."
* commit '8d12b4a0901df4ab708243b4cd36c19ac2002a50': Get arm64 to compile.
Diffstat (limited to 'libbacktrace')
-rw-r--r--libbacktrace/Android.mk3
-rw-r--r--libbacktrace/UnwindCurrent.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/libbacktrace/Android.mk b/libbacktrace/Android.mk
index 9c52ad7..f23eefd 100644
--- a/libbacktrace/Android.mk
+++ b/libbacktrace/Android.mk
@@ -23,8 +23,7 @@ common_shared_libs := \
liblog \
# To enable using libunwind on each arch, add it to this list.
-libunwind_architectures :=
-#libunwind_architectures := arm
+libunwind_architectures := arm64
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),$(libunwind_architectures)))
diff --git a/libbacktrace/UnwindCurrent.cpp b/libbacktrace/UnwindCurrent.cpp
index 747eb21..d1195ee 100644
--- a/libbacktrace/UnwindCurrent.cpp
+++ b/libbacktrace/UnwindCurrent.cpp
@@ -43,7 +43,7 @@
#include <asm/sigcontext.h>
#include <asm/ucontext.h>
typedef struct ucontext ucontext_t;
-#elif !defined(__mips__)
+#elif !defined(__mips__) && !defined(__aarch64__)
#error Unsupported architecture.
#endif