From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7A6EC138334 for ; Sun, 30 Sep 2018 12:27:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68B48E085E; Sun, 30 Sep 2018 12:27:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C844E085E for ; Sun, 30 Sep 2018 12:27:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8BA62335CB7 for ; Sun, 30 Sep 2018 12:27:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CC193AB for ; Sun, 30 Sep 2018 12:27:14 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1538310402.98b63243a86963135a7adff5507a5bed67b42c79.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch X-VCS-Directories: 3.4.6/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 98b63243a86963135a7adff5507a5bed67b42c79 X-VCS-Branch: master Date: Sun, 30 Sep 2018 12:27:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b9a064f2-c417-4356-9ca7-2f7c012951bd X-Archives-Hash: 97174839891822b0b24f8f2c1a07fc87 commit: 98b63243a86963135a7adff5507a5bed67b42c79 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Sep 30 12:26:42 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Sep 30 12:26:42 2018 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=98b63243 3.4.6: expand 'struct ucontext' to 'ucontext_t' rename in glibc Fixed forgotten 'sh' and 'libjava' entries. Signed-off-by: Sergei Trofimovich gentoo.org> 3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch index 00ea653..0ce1ed4 100644 --- a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch +++ b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch @@ -42,3 +42,25 @@ https://bugs.gentoo.org/664486 } *rt_ = (CONTEXT)->cfa; \ sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \ } \ +--- a/gcc/config/sh/linux.h ++++ b/gcc/config/sh/linux.h +@@ -251,7 +251,7 @@ do { \ + { \ + struct rt_sigframe { \ + siginfo_t info; \ +- struct ucontext uc; \ ++ ucontext_t uc; \ + } *rt_ = (CONTEXT)->cfa; \ + sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \ + } \ +--- a/libjava/include/x86_64-signal.h ++++ b/libjava/include/x86_64-signal.h +@@ -40,7 +40,7 @@ do \ + /* Advance the program counter so that it is after the start of the \ + instruction: the x86_64 exception handler expects \ + the PC to point to the instruction after a call. */ \ +- struct ucontext *_uc = (struct ucontext *)_p; \ ++ ucontext_t *_uc = (struct ucontext *)_p; \ + volatile struct sigcontext *_sc = (struct sigcontext *) &_uc->uc_mcontext; \ + _sc->rip += 2; \ + } \