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" \ |