[Openmp-commits] [openmp] d9a2b83 - [OpenMP] Fix note section type notation for AArch64

Carlos Eduardo Seo via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 10 10:22:29 PDT 2023


Author: Carlos Eduardo Seo
Date: 2023-07-10T17:21:54Z
New Revision: d9a2b83dcd93cc5f8c34f6f2a0a75a0f3ca1545c

URL: https://github.com/llvm/llvm-project/commit/d9a2b83dcd93cc5f8c34f6f2a0a75a0f3ca1545c
DIFF: https://github.com/llvm/llvm-project/commit/d9a2b83dcd93cc5f8c34f6f2a0a75a0f3ca1545c.diff

LOG: [OpenMP] Fix note section type notation for AArch64

Like Arm, AArch64 also uses "%" instead of "@" for note section types.

Differential Revision: https://reviews.llvm.org/D154859

Added: 
    

Modified: 
    openmp/runtime/src/z_Linux_asm.S

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/src/z_Linux_asm.S b/openmp/runtime/src/z_Linux_asm.S
index 8aa48d10c3af3e..27b063f09e7a16 100644
--- a/openmp/runtime/src/z_Linux_asm.S
+++ b/openmp/runtime/src/z_Linux_asm.S
@@ -2091,7 +2091,7 @@ KMP_PREFIX_UNDERSCORE(__kmp_unnamed_critical_addr):
           KMP_ARCH_RISCV64 || KMP_ARCH_LOONGARCH64 */
 
 #if KMP_OS_LINUX
-# if KMP_ARCH_ARM
+# if KMP_ARCH_ARM || KMP_ARCH_AARCH64
 .section .note.GNU-stack,"",%progbits
 # else
 .section .note.GNU-stack,"", at progbits


        


More information about the Openmp-commits mailing list