[Openmp-commits] [PATCH] D154859: [OpenMP] Fix note section type notation for AArch64

Carlos Eduardo Seo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 10 09:30:31 PDT 2023


cseo created this revision.
Herald added subscribers: sunshaoce, guansong, kristof.beyls, yaxunl.
Herald added a project: All.
cseo requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, jplehr, sstefan1.
Herald added a project: OpenMP.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154859

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
@@ -2091,7 +2091,7 @@
           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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154859.538697.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230710/ebc1947f/attachment.bin>


More information about the Openmp-commits mailing list