aboutsummaryrefslogtreecommitdiff
path: root/src/common/android/breakpad_getcontext.S
diff options
context:
space:
mode:
authorbsheedy <bsheedy@chromium.org>2018-01-03 13:20:08 -0800
committerMark Mentovai <mark@chromium.org>2018-01-03 21:22:16 +0000
commit4a02ec03038d9d6f870f42d5070591512f488db0 (patch)
tree84d58f56ea53870818761337ab72f887f543e7ea /src/common/android/breakpad_getcontext.S
parentandroid: drop sgidefs.h hack for LSS (diff)
downloadbreakpad-4a02ec03038d9d6f870f42d5070591512f488db0.tar.xz
Add asm and machine headers
Adds asm/ and machine/ directories to src/common/android/include. This is necessary because some required files for MIPS were removed in newer Android NDK versions, which broke Breakpad compilation. Bug: 771171 Change-Id: Ie6a079b6b8130b549ebc6d0bc4aef0e47e7bd6c2 Reviewed-on: https://chromium-review.googlesource.com/835282 Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/common/android/breakpad_getcontext.S')
-rw-r--r--src/common/android/breakpad_getcontext.S11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/common/android/breakpad_getcontext.S b/src/common/android/breakpad_getcontext.S
index fd6326ad..7f3a3b6f 100644
--- a/src/common/android/breakpad_getcontext.S
+++ b/src/common/android/breakpad_getcontext.S
@@ -230,16 +230,13 @@ breakpad_getcontext:
#elif defined(__mips__)
// This implementation is inspired by implementation of getcontext in glibc.
+#include <asm-mips/asm.h>
+#include <asm-mips/regdef.h>
#if _MIPS_SIM == _ABIO32
-#include <asm/asm.h>
-#include <asm/regdef.h>
-#include <asm/fpregdef.h>
-#else
-#include <machine/asm.h>
-#include <machine/regdef.h>
+#include <asm-mips/fpregdef.h>
#endif
-// from asm/asm.h
+// from asm-mips/asm.h
#if _MIPS_SIM == _ABIO32
#define ALSZ 7
#define ALMASK ~7