public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelinek <jakub@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gcc] rhel-f41-base: 7.1.1-6
Date: Mon, 29 Jun 2026 12:27:34 GMT [thread overview]
Message-ID: <178273605433.1.10658929726037571968.rpms-gcc-dc54e4f1537b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gcc
Branch : rhel-f41-base
Commit : dc54e4f1537bc56700f3b3196cb85d903185ebcf
Author : Jakub Jelinek <jakub@redhat.com>
Date : 2017-07-19T14:59:33+02:00
Stats : +31/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gcc/c/dc54e4f1537bc56700f3b3196cb85d903185ebcf?branch=rhel-f41-base
Log:
7.1.1-6
---
diff --git a/gcc7-pr81393.patch b/gcc7-pr81393.patch
index 900d011..7c4fcbd 100644
--- a/gcc7-pr81393.patch
+++ b/gcc7-pr81393.patch
@@ -30,9 +30,28 @@
#if defined(HAVE_LINUX_RTNETLINK_H)
#include <linux/rtnetlink.h>
#endif
+--- libgo/mksysinfo.sh (revision 249711)
++++ libgo/mksysinfo.sh (revision 249712)
+@@ -294,16 +294,6 @@ upcase_fields () {
+ # GNU/Linux specific; it should do no harm if there is no
+ # _user_regs_struct.
+ regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go || true`
+-if test "$regs" = ""; then
+- # s390
+- regs=`grep '^type __user_regs_struct struct' gen-sysinfo.go || true`
+- if test "$regs" != ""; then
+- # Substructures of __user_regs_struct on s390
+- upcase_fields "__user_psw_struct" "PtracePsw" >> ${OUT} || true
+- upcase_fields "__user_fpregs_struct" "PtraceFpregs" >> ${OUT} || true
+- upcase_fields "__user_per_struct" "PtracePer" >> ${OUT} || true
+- fi
+-fi
+ if test "$regs" != ""; then
+ regs=`echo $regs |
+ sed -e 's/type __*user_regs_struct struct //' -e 's/[{}]//g'`
--- libgo/go/syscall/syscall_linux_s390x.go (revision 250173)
+++ libgo/go/syscall/syscall_linux_s390x.go (revision 250174)
-@@ -4,6 +4,23 @@
+@@ -4,18 +4,45 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
@@ -56,9 +75,12 @@
package syscall
import "unsafe"
-@@ -12,10 +29,20 @@ func (r *PtraceRegs) PC() uint64 { retur
- func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc }
+-func (r *PtraceRegs) PC() uint64 { return r.Psw.Addr }
++func (r *PtraceRegs) PC() uint64 { return r.Psw.addr }
+
+-func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc }
++func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.addr = pc }
-func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
- return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
@@ -82,7 +104,7 @@
}
--- libgo/go/syscall/syscall_linux_s390.go (revision 250173)
+++ libgo/go/syscall/syscall_linux_s390.go (revision 250174)
-@@ -4,6 +4,8 @@
+@@ -4,18 +4,30 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
@@ -91,9 +113,12 @@
package syscall
import "unsafe"
-@@ -12,10 +14,20 @@ func (r *PtraceRegs) PC() uint64 { retur
- func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = uint32(pc) }
+-func (r *PtraceRegs) PC() uint64 { return uint64(r.Psw.Addr) }
++func (r *PtraceRegs) PC() uint64 { return uint64(r.Psw.addr) }
+
+-func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = uint32(pc) }
++func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.addr = uint32(pc) }
-func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) {
- return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
next reply other threads:[~2026-06-29 12:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-29 12:27 Jakub Jelinek [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-29 12:27 [rpms/gcc] rhel-f41-base: 7.1.1-6 Jakub Jelinek
2026-06-29 12:27 Jakub Jelinek
2026-06-29 12:27 Jakub Jelinek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178273605433.1.10658929726037571968.rpms-gcc-dc54e4f1537b@fedoraproject.org \
--to=jakub@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox