OSDN Git Service

x86: Fix art_quick_instrumentation_exit
authorDmitry Petrochenko <dmitry.petrochenko@intel.com>
Wed, 27 Aug 2014 11:45:56 +0000 (18:45 +0700)
committerAndreas Gampe <agampe@google.com>
Fri, 5 Sep 2014 02:47:46 +0000 (02:47 +0000)
Make sure that we use a move-immediate instead of a
move-from-address (previously this was a load, whereas now
we are interested in the address as a value).

Change-Id: I4048c4a97abcc6524fe976bdc35b834d8f3bc592
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
runtime/arch/x86/quick_entrypoints_x86.S

index 337e5fe..24dc318 100644 (file)
@@ -1258,7 +1258,7 @@ DEFINE_FUNCTION art_quick_instrumentation_entry
     addl LITERAL(28), %esp        // Pop arguments upto saved Method*.
     movl 28(%esp), %edi           // Restore edi.
     movl %eax, 28(%esp)           // Place code* over edi, just under return pc.
-    movl SYMBOL(art_quick_instrumentation_exit)@GOT(%ebx), %ebx
+    movl $SYMBOL(art_quick_instrumentation_exit), %ebx
     movl %ebx, 32(%esp)
                                   // Place instrumentation exit as return pc.
     movl (%esp), %eax             // Restore eax.