Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: tests/common/register_set.h

Issue 11185060: Add a test to check the initial register state for a new thread (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Use longer name Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/syscall_return_regs/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/common/register_set.h
diff --git a/tests/common/register_set.h b/tests/common/register_set.h
index 591da43e04e4d89f3261104ac7942fab37900bf7..d1b4d9e61a5e687e65c5a08a2f15993419b28bfc 100644
--- a/tests/common/register_set.h
+++ b/tests/common/register_set.h
@@ -254,6 +254,7 @@ extern const uint8_t kX86FlagBits[5];
void callee_func(struct NaClSignalContext *regs); \
__asm__( \
".pushsection .text, \"ax\", %progbits\n" \
+ ".p2align 4\n" \
#def_func ":\n" \
"push {r0}\n" /* Leave space for cpsr */ \
"push {r0}\n" /* Leave space for prog_ctr */ \
« no previous file with comments | « no previous file | tests/syscall_return_regs/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698