Reviewers: ulan,
Description:
Merge 10525 into 3.8 branch. MIPS: Add signal context definitions for use
with
Android.
Please review this at https://chromiumcodereview.appspot.com/9295011/
SVN Base: http://v8.googlecode.com/svn/branches/3.8/
Affected files:
M src/platform-linux.cc
M src/version.cc
Index: src/platform-linux.cc
===================================================================
--- src/platform-linux.cc (revision 10525)
+++ src/platform-linux.cc (working copy)
@@ -944,6 +944,37 @@
} ucontext_t;
enum ArmRegisters {R15 = 15, R13 = 13, R11 = 11};
+#elif !defined(__GLIBC__) && defined(__mips__)
+ struct sigcontext {
+ unsigned int regmask;
+ unsigned int status;
+ unsigned long long pc;
+ unsigned long long gregs[32];
+ unsigned long long fpregs[32];
+ unsigned int acx;
+ unsigned int fpc_csr;
+ unsigned int fpc_eir;
+ unsigned int used_math;
+ unsigned int dsp;
+ unsigned long long mdhi;
+ unsigned long long mdlo;
+ unsigned long hi1;
+ unsigned long lo1;
+ unsigned long hi2;
+ unsigned long lo2;
+ unsigned long hi3;
+ unsigned long lo3;
+ };
+ typedef uint32_t __sigset_t;
+ typedef struct sigcontext mcontext_t;
+ typedef struct ucontext {
+ uint32_t uc_flags;
+ struct ucontext* uc_link;
+ stack_t uc_stack;
+ mcontext_t uc_mcontext;
+ __sigset_t uc_sigmask;
+ } ucontext_t;
+
#endif
Index: src/version.cc
===================================================================
--- src/version.cc (revision 10525)
+++ src/version.cc (working copy)
@@ -35,7 +35,7 @@
#define MAJOR_VERSION 3
#define MINOR_VERSION 8
#define BUILD_NUMBER 9
-#define PATCH_LEVEL 2
+#define PATCH_LEVEL 3
// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
#define IS_CANDIDATE_VERSION 0
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev