diff options
author | John Chen (CLR) <jochen@microsoft.com> | 2015-05-18 10:18:21 -0700 |
---|---|---|
committer | John Chen (CLR) <jochen@microsoft.com> | 2015-05-18 10:18:21 -0700 |
commit | 926a78f964ee41d04d3344a6730ba3bc35bad9c7 (patch) | |
tree | 2692b027ca69fa0055049b0482d2e9045c817ced /src | |
parent | 086a8ae79915588aba55928641d499be9566f632 (diff) | |
download | coreclr-926a78f964ee41d04d3344a6730ba3bc35bad9c7.tar.gz coreclr-926a78f964ee41d04d3344a6730ba3bc35bad9c7.tar.bz2 coreclr-926a78f964ee41d04d3344a6730ba3bc35bad9c7.zip |
Fix register used in method fixup stubs
On x64, Linux uses rsi instead of rdx to pass the second parameter.
Diffstat (limited to 'src')
-rw-r--r-- | src/vm/amd64/externalmethodfixupthunk.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/amd64/externalmethodfixupthunk.S b/src/vm/amd64/externalmethodfixupthunk.S index 3d5bb08547..6db5d8d42e 100644 --- a/src/vm/amd64/externalmethodfixupthunk.S +++ b/src/vm/amd64/externalmethodfixupthunk.S @@ -13,7 +13,7 @@ NESTED_ENTRY ExternalMethodFixupStub, _TEXT, NoHandler - PROLOG_WITH_TRANSITION_BLOCK 0, 8, rdx, 0, 0 + PROLOG_WITH_TRANSITION_BLOCK 0, 8, rsi, 0, 0 lea rdi, [rsp + __PWTB_TransitionBlock] // pTransitionBlock sub rsi, 5 // pThunk @@ -34,7 +34,7 @@ NESTED_END ExternalMethodFixupStub, _TEXT NESTED_ENTRY VirtualMethodFixupStub, _TEXT, NoHandler - PROLOG_WITH_TRANSITION_BLOCK 0, 8, rdx, 0, 0 + PROLOG_WITH_TRANSITION_BLOCK 0, 8, rsi, 0, 0 lea rdi, [rsp + __PWTB_TransitionBlock] // pTransitionBlock sub rsi, 5 // pThunk |