public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/skopeo] rawhide: Fix ppc64le PIE syscall trampolines
@ 2026-11-12 0:59 rruzicka
0 siblings, 0 replies; only message in thread
From: rruzicka @ 2026-11-12 0:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/skopeo
Branch : rawhide
Commit : 52a040e02081870a6bf3c81678580cd7aa7aa60e
Author : rruzicka <rruziro@gmail.com>
Date : 2026-11-12T00:53:34+01:00
Stats : +32/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/skopeo/c/52a040e02081870a6bf3c81678580cd7aa7aa60e?branch=rawhide
Log:
Fix ppc64le PIE syscall trampolines
---
diff --git a/0001-fix-ppc64le-pie-syscalls.patch b/0001-fix-ppc64le-pie-syscalls.patch
new file mode 100644
index 0000000..ac5750f
--- /dev/null
+++ b/0001-fix-ppc64le-pie-syscalls.patch
@@ -0,0 +1,31 @@
+diff --git a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
+--- a/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
++++ b/vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
+@@ -14,9 +14,9 @@
+ TEXT ·Syscall(SB),NOSPLIT,$0-56
+- MOVD $syscall·Syscall(SB), R31
+- MOVD R31, CTR
++ MOVD $syscall·Syscall(SB), R12
++ MOVD R12, CTR
+ JMP (CTR)
+
+ TEXT ·Syscall6(SB),NOSPLIT,$0-80
+- MOVD $syscall·Syscall6(SB), R31
+- MOVD R31, CTR
++ MOVD $syscall·Syscall6(SB), R12
++ MOVD R12, CTR
+ JMP (CTR)
+@@ -38,9 +38,9 @@
+ TEXT ·RawSyscall(SB),NOSPLIT,$0-56
+- MOVD $syscall·RawSyscall(SB), R31
+- MOVD R31, CTR
++ MOVD $syscall·RawSyscall(SB), R12
++ MOVD R12, CTR
+ JMP (CTR)
+
+ TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
+- MOVD $syscall·RawSyscall6(SB), R31
+- MOVD R31, CTR
++ MOVD $syscall·RawSyscall6(SB), R12
++ MOVD R12, CTR
+ JMP (CTR)
diff --git a/skopeo.spec b/skopeo.spec
index e8453b1..72f22fb 100644
--- a/skopeo.spec
+++ b/skopeo.spec
@@ -53,6 +53,7 @@ Summary: Inspect container images and repositories on registries
URL: https://github.com/containers/%{name}
# Tarball fetched from upstream
Source0: %{url}/archive/v%{version}.tar.gz
+Patch0: 0001-fix-ppc64le-pie-syscalls.patch
BuildRequires: %{_bindir}/go-md2man
%if %{defined build_with_btrfs}
BuildRequires: btrfs-progs-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-12 0:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 0:59 [rpms/skopeo] rawhide: Fix ppc64le PIE syscall trampolines rruzicka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox