projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12fe7a2
)
[x86/Linux] changed to the AT&T syntax to solve a problem related broken stack. ...
author
ragmani
<ragmani0216@gmail.com>
Tue, 18 Apr 2017 10:01:55 +0000
(19:01 +0900)
committer
Jan Vorlicek
<janvorli@microsoft.com>
Tue, 18 Apr 2017 10:01:55 +0000
(
03:01
-0700)
This is a problem similar to #10383.
Signed-off-by: ragmani <ragmani0216@gmail.com>
src/vm/i386/asmhelpers.S
patch
|
blob
|
history
diff --git
a/src/vm/i386/asmhelpers.S
b/src/vm/i386/asmhelpers.S
index
98525ac
..
647442c
100644
(file)
--- a/
src/vm/i386/asmhelpers.S
+++ b/
src/vm/i386/asmhelpers.S
@@
-752,8
+752,10
@@
NESTED_ENTRY StubDispatchFixupStub, _TEXT, NoHandler
mov esi, esp
- push 0
- push 0
+.att_syntax
+ pushl $0
+ pushl $0
+.intel_syntax noprefix
push eax // siteAddrForRegisterIndirect (for tailcalls)
push esi // pTransitionBlock
@@
-784,8
+786,10
@@
NESTED_ENTRY ExternalMethodFixupStub, _TEXT_ NoHandler
// EAX is return address into CORCOMPILE_EXTERNAL_METHOD_THUNK. Subtract 5 to get start address.
sub eax, 5
- push 0
- push 0
+.att_syntax
+ pushl $0
+ pushl $0
+.intel_syntax noprefix
push eax