diff options
author | Ben Pye <ben@curlybracket.co.uk> | 2015-08-03 17:25:25 +0000 |
---|---|---|
committer | Ben Pye <ben@curlybracket.co.uk> | 2015-08-03 19:18:01 +0000 |
commit | 39cedddd401c7e02ef70384fcb01a982b0344ee8 (patch) | |
tree | a4db81872611e457bd3746d9fe3ddc65807d2058 /src/pal/src/exception/seh-unwind.cpp | |
parent | 564b1ca107c67dc50106efd823cc157acfe504fe (diff) | |
download | coreclr-39cedddd401c7e02ef70384fcb01a982b0344ee8.tar.gz coreclr-39cedddd401c7e02ef70384fcb01a982b0344ee8.tar.bz2 coreclr-39cedddd401c7e02ef70384fcb01a982b0344ee8.zip |
Fix ARM build regression
Diffstat (limited to 'src/pal/src/exception/seh-unwind.cpp')
-rw-r--r-- | src/pal/src/exception/seh-unwind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pal/src/exception/seh-unwind.cpp b/src/pal/src/exception/seh-unwind.cpp index 02488fc318..413c6efdc8 100644 --- a/src/pal/src/exception/seh-unwind.cpp +++ b/src/pal/src/exception/seh-unwind.cpp @@ -203,7 +203,7 @@ static DWORD64 GetPc(CONTEXT *context) { #if defined(_AMD64_) return context->Rip; -#elif defined(_ARM64_) +#elif defined(_ARM64_) || defined(_ARM_) return context->Pc; #else #error don't know how to get the program counter for this architecture @@ -214,7 +214,7 @@ static void SetPc(CONTEXT *context, DWORD64 pc) { #if defined(_AMD64_) context->Rip = pc; -#elif defined(_ARM64_) +#elif defined(_ARM64_) || defined(_ARM_) context->Pc = pc; #else #error don't know how to set the program counter for this architecture |