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

Unified Diff: tests/common/register_set.h

Issue 544003002: NonSFI mode: Enable compiling exception_test for NonSFI NaCl on ARM (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: comments Created 6 years, 3 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
Index: tests/common/register_set.h
diff --git a/tests/common/register_set.h b/tests/common/register_set.h
index 5bb747d174b1c8fa1d02e322504c2c2d95fbf7ee..c7b0a590667600981708ffbf2fc8407e428fa1b0 100644
--- a/tests/common/register_set.h
+++ b/tests/common/register_set.h
@@ -240,7 +240,7 @@ extern const uint8_t kX86FlagBits[5];
#def_func ":\n" \
/* Push most of "struct NaClSignalContext" in reverse order. */ \
"push $0\n" /* Leave space for flags */ \
- "push $" #def_func "\n" /* Fill out prog_ctr with known value */ \
+ "push $" #def_func "@got\n" /* Fill out prog_ctr with known value */ \
Junichi Uekawa 2014/09/09 12:23:58 This works around having relocation in code, but w
Junichi Uekawa 2014/09/09 15:28:03 Looking at try results of course it does, but then
"push %edi\n" \
"push %esi\n" \
"push %ebp\n" \

Powered by Google App Engine
This is Rietveld 408576698