diff --git a/src/coreclr/nativeaot/Runtime/unix/unixasmmacrosarm.inc b/src/coreclr/nativeaot/Runtime/unix/unixasmmacrosarm.inc index 5a1cef176e102b..68631819f7dee4 100644 --- a/src/coreclr/nativeaot/Runtime/unix/unixasmmacrosarm.inc +++ b/src/coreclr/nativeaot/Runtime/unix/unixasmmacrosarm.inc @@ -77,13 +77,13 @@ C_FUNC(\Name): .macro PREPARE_EXTERNAL_VAR Name, HelperReg movw \HelperReg, #:lower16:C_FUNC(\Name) - (. + 12) - movt \HelperReg, #:upper16:C_FUNC(\Name) - (. + 12) + movt \HelperReg, #:upper16:C_FUNC(\Name) - (. + 8) add \HelperReg, pc .endm .macro PREPARE_EXTERNAL_VAR_INDIRECT Name, HelperReg movw \HelperReg, #:lower16:C_FUNC(\Name) - (. + 12) - movt \HelperReg, #:upper16:C_FUNC(\Name) - (. + 12) + movt \HelperReg, #:upper16:C_FUNC(\Name) - (. + 8) add \HelperReg, pc ldr \HelperReg, [\HelperReg] .endm diff --git a/src/tests/JIT/Stress/ABI/pinvokes_d.csproj b/src/tests/JIT/Stress/ABI/pinvokes_d.csproj index 734e0a53fdd348..0fa967a0c43511 100644 --- a/src/tests/JIT/Stress/ABI/pinvokes_d.csproj +++ b/src/tests/JIT/Stress/ABI/pinvokes_d.csproj @@ -10,6 +10,9 @@ True true true + + + true Full diff --git a/src/tests/JIT/Stress/ABI/pinvokes_do.csproj b/src/tests/JIT/Stress/ABI/pinvokes_do.csproj index 309cb73d7b11e1..f471e30b30f03c 100644 --- a/src/tests/JIT/Stress/ABI/pinvokes_do.csproj +++ b/src/tests/JIT/Stress/ABI/pinvokes_do.csproj @@ -10,6 +10,9 @@ True true true + + + true Full diff --git a/src/tests/JIT/Stress/ABI/stubs_do.csproj b/src/tests/JIT/Stress/ABI/stubs_do.csproj index 074d268462d20b..38c8f167d1a268 100644 --- a/src/tests/JIT/Stress/ABI/stubs_do.csproj +++ b/src/tests/JIT/Stress/ABI/stubs_do.csproj @@ -10,6 +10,9 @@ True true true + + + true Full diff --git a/src/tests/JIT/Stress/ABI/tailcalls_d.csproj b/src/tests/JIT/Stress/ABI/tailcalls_d.csproj index f4a41e649c4bcd..9b916ec6156432 100644 --- a/src/tests/JIT/Stress/ABI/tailcalls_d.csproj +++ b/src/tests/JIT/Stress/ABI/tailcalls_d.csproj @@ -10,6 +10,9 @@ True true true + + + true Full diff --git a/src/tests/JIT/Stress/ABI/tailcalls_do.csproj b/src/tests/JIT/Stress/ABI/tailcalls_do.csproj index c295fce88b56d3..5a71a5843a2210 100644 --- a/src/tests/JIT/Stress/ABI/tailcalls_do.csproj +++ b/src/tests/JIT/Stress/ABI/tailcalls_do.csproj @@ -10,6 +10,9 @@ True true true + + + true Full