[Openmp-commits] [PATCH] D88252: z_Linux_asm.S modifications for arm64 (AARCH64) for Darwin/macOS

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Nov 24 02:09:04 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7b5254223acb: [OpenMP] fix asm code for for arm64 (AARCH64) for Darwin/macOS (authored by AndreyChurbanov).
Herald added a subscriber: openmp-commits.

Changed prior to commit:
  https://reviews.llvm.org/D88252?vs=307184&id=307286#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88252/new/

https://reviews.llvm.org/D88252

Files:
  openmp/runtime/src/z_Linux_asm.S


Index: openmp/runtime/src/z_Linux_asm.S
===================================================================
--- openmp/runtime/src/z_Linux_asm.S
+++ openmp/runtime/src/z_Linux_asm.S
@@ -1741,10 +1741,12 @@
     .comm .gomp_critical_user_,32,8
     .data
     .align 8
-    .global __kmp_unnamed_critical_addr
-__kmp_unnamed_critical_addr:
+    .global KMP_PREFIX_UNDERSCORE(__kmp_unnamed_critical_addr)
+KMP_PREFIX_UNDERSCORE(__kmp_unnamed_critical_addr):
     .8byte .gomp_critical_user_
-    .size __kmp_unnamed_critical_addr,8
+#ifdef __ELF__
+    .size KMP_PREFIX_UNDERSCORE(__kmp_unnamed_critical_addr),8
+#endif
 #endif /* KMP_ARCH_PPC64 || KMP_ARCH_AARCH64 || KMP_ARCH_MIPS64 ||
           KMP_ARCH_RISCV64 */
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88252.307286.patch
Type: text/x-patch
Size: 719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20201124/94fb743a/attachment-0001.bin>


More information about the Openmp-commits mailing list