aboutsummaryrefslogtreecommitdiff
path: root/src/common/android/include/elf.h
diff options
context:
space:
mode:
authordigit@chromium.org <digit@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-25 13:47:44 +0000
committerdigit@chromium.org <digit@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-25 13:47:44 +0000
commit5bce3b4d7728c7b7b03d6407575051e069355a8f (patch)
treeacbfbd053217a65d427dff36aa832e63d7b9682a /src/common/android/include/elf.h
parentAdding mips support for Android. (diff)
downloadbreakpad-5bce3b4d7728c7b7b03d6407575051e069355a8f.tar.xz
Fix the Android/MIPS build.
This patch fixes the build for Android on MIPS when using the latest official Android NDK (r9): - Update src/common/android/include/elf.h to add a missing definition for SHT_MIPS_DWARF. - Add src/common/android/include/sgidefs.h required by LSS when compiling for MIPS. - Update android/run-checks.sh to work properly with the --abi=mips option. All tests were passed succesfully with an emulator system image running Android 4.2. - Update other Android-specific files. R=Petar.Jovanovic@imgtec.com, mark@chromium.org Review URL: https://breakpad.appspot.com/633002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1216 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/android/include/elf.h')
-rw-r--r--src/common/android/include/elf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/android/include/elf.h b/src/common/android/include/elf.h
index debe30be..af50a799 100644
--- a/src/common/android/include/elf.h
+++ b/src/common/android/include/elf.h
@@ -152,6 +152,10 @@ typedef struct {
#define NT_FPREGSET 2
#endif
+#if !defined(SHT_MIPS_DWARF)
+#define SHT_MIPS_DWARF 0x7000001e
+#endif
+
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus