OSDN Git Service
(root)
/
android-x86
/
art.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed20a4d
)
Revert "Revert "x86: Fix art_quick_instrumentation_exit""
author
Andreas Gampe
<agampe@google.com>
Fri, 5 Sep 2014 05:43:34 +0000
(
05:43
+0000)
committer
Andreas Gampe
<agampe@google.com>
Fri, 5 Sep 2014 05:44:39 +0000
(22:44 -0700)
Need to use GOT to avoid TEXTREL.
This reverts commit
62aa66f8532b8eb44e882596010b33e7781b0754
.
Change-Id: Ife659c28d621596ad288999fa128dcf32fc0b1c7
runtime/arch/x86/quick_entrypoints_x86.S
patch
|
blob
|
history
diff --git
a/runtime/arch/x86/quick_entrypoints_x86.S
b/runtime/arch/x86/quick_entrypoints_x86.S
index
337e5fe
..
4155b7e
100644
(file)
--- a/
runtime/arch/x86/quick_entrypoints_x86.S
+++ b/
runtime/arch/x86/quick_entrypoints_x86.S
@@
-1255,6
+1255,7
@@
DEFINE_FUNCTION art_quick_instrumentation_entry
PUSH ecx // Pass receiver.
PUSH eax // Pass Method*.
call SYMBOL(artInstrumentationMethodEntryFromCode) // (Method*, Object*, Thread*, SP, LR)
+ SETUP_GOT_NOSAVE
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.