[Openmp-commits] [PATCH] D143683: [openmp] Fix building z_Linux_asm.S for armv5t

Martin Storsjö via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Feb 10 14:04:16 PST 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG89197b59f597: [openmp] Fix building z_Linux_asm.S for armv5t (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143683

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
@@ -1426,7 +1426,10 @@
 	// for when we call pkfn below
 	push	{r3-r11,lr}
 	// Load p_argv and &exit_frame
-	ldrd	r4, r5, [sp, #10*4]
+	ldr	r4, [sp, #10*4]
+# if OMPT_SUPPORT
+	ldr	r5, [sp, #11*4]
+# endif
 
 # if KMP_OS_DARWIN || (defined(__thumb__) && !KMP_OS_WINDOWS)
 # define FP r7


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143683.496597.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230210/1943de81/attachment-0001.bin>


More information about the Openmp-commits mailing list