]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/context/src/asm/make_ppc64_sysv_elf_gas.S
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / context / src / asm / make_ppc64_sysv_elf_gas.S
index 71cb70d9c235ff103cf4fa35bd6fa1ff916fb239..28188dfc8c351691b5973b8d1a28c744850473c2 100644 (file)
@@ -124,10 +124,10 @@ make_fcontext:
     li   %r0, 0
     std  %r0, 184(%r3)
 
-    # compute address of returned transfer_t
-    addi %r0, %r3, 232
-    mr   %r4, %r0
-    std  %r4, 152(%r3)
+#if _CALL_ELF != 2
+    # zero in r3 indicates first jump to context-function
+    std  %r0, 152(%r3)
+#endif
 
     # load LR
     mflr  %r0