From b8131c74693ac8dcac656c8d46ee4a503cce153c Mon Sep 17 00:00:00 2001 From: Adeel Mujahid <3840695+am11@users.noreply.github.com> Date: Mon, 5 Sep 2022 03:51:38 +0300 Subject: [PATCH] Fix SharedLibrary smoke test build on osx-arm64 (#74989) --- src/coreclr/nativeaot/Runtime/arm64/InteropThunksHelpers.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/nativeaot/Runtime/arm64/InteropThunksHelpers.S b/src/coreclr/nativeaot/Runtime/arm64/InteropThunksHelpers.S index f883120a2b5f3..f474c4fa4017e 100644 --- a/src/coreclr/nativeaot/Runtime/arm64/InteropThunksHelpers.S +++ b/src/coreclr/nativeaot/Runtime/arm64/InteropThunksHelpers.S @@ -27,7 +27,7 @@ POINTER_SIZE = 0x08 // need to save and restore them, too GETTHUNKDATA_ETLS_9 #else - INLINE_GET_TLS_VAR x9, tls_thunkData + INLINE_GET_TLS_VAR x9, C_FUNC(tls_thunkData) #endif // x9 = base address of TLS data @@ -58,7 +58,7 @@ POINTER_SIZE = 0x08 // LEAF_ENTRY RhGetCurrentThunkContext, _TEXT - INLINE_GET_TLS_VAR x1, tls_thunkData + INLINE_GET_TLS_VAR x1, C_FUNC(tls_thunkData) ldr x0, [x1]