From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 8.2.0/gentoo/
Date: Wed, 8 Aug 2018 08:26:00 +0000 (UTC) [thread overview]
Message-ID: <1533716691.638b730aa37da5b2abfc92194f83bff0971a692f.slyfox@gentoo> (raw)
commit: 638b730aa37da5b2abfc92194f83bff0971a692f
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 8 08:24:51 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Aug 8 08:24:51 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=638b730a
8.2.0: fix TEXTREL in libitm on sh (PR86712)
Bug: https://gcc.gnu.org/PR86712
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
8.2.0/gentoo/98_all_sh_textrel-on-libitm.patch | 41 ++++++++++++++++++++++++++
8.2.0/gentoo/README.history | 2 ++
2 files changed, 43 insertions(+)
diff --git a/8.2.0/gentoo/98_all_sh_textrel-on-libitm.patch b/8.2.0/gentoo/98_all_sh_textrel-on-libitm.patch
new file mode 100644
index 0000000..68e50f9
--- /dev/null
+++ b/8.2.0/gentoo/98_all_sh_textrel-on-libitm.patch
@@ -0,0 +1,41 @@
+Backport of upstream https://gcc.gnu.org/PR86712
+
+From 7bb408709cd28034e1bfbd0596887997bcdccee4 Mon Sep 17 00:00:00 2001
+From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Fri, 3 Aug 2018 20:53:08 +0000
+Subject: [PATCH] * config/sh/sjlj.S: Adjust to use PIC vs normal code
+ to avoid absolute relocation in a shared library.
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263299 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ libitm/ChangeLog | 5 +++++
+ libitm/config/sh/.sjlj.S.swp | Bin 0 -> 12288 bytes
+ libitm/config/sh/sjlj.S | 4 ++--
+ 3 files changed, 7 insertions(+), 2 deletions(-)
+ create mode 100644 libitm/config/sh/.sjlj.S.swp
+
+diff --git a/libitm/config/sh/sjlj.S b/libitm/config/sh/sjlj.S
+index 043f36749be..f265ab8f898 100644
+--- a/libitm/config/sh/sjlj.S
++++ b/libitm/config/sh/sjlj.S
+@@ -53,7 +53,7 @@ _ITM_beginTransaction:
+ #else
+ cfi_def_cfa_offset (4*10)
+ #endif
+-#if defined HAVE_ATTRIBUTE_VISIBILITY || !defined __PIC__
++#if !defined __PIC__
+ mov.l .Lbegin, r1
+ jsr @r1
+ mov r15, r5
+@@ -78,7 +78,7 @@ _ITM_beginTransaction:
+
+ .align 2
+ .Lbegin:
+-#if defined HAVE_ATTRIBUTE_VISIBILITY || !defined __PIC__
++#if !defined __PIC__
+ .long GTM_begin_transaction
+ #else
+ .long GTM_begin_transaction@PCREL-(.Lbegin0-.)
+--
+2.18.0
+
diff --git a/8.2.0/gentoo/README.history b/8.2.0/gentoo/README.history
index 4ebb819..b6ba307 100644
--- a/8.2.0/gentoo/README.history
+++ b/8.2.0/gentoo/README.history
@@ -1,3 +1,5 @@
+1.1 TODO
+ + 98_all_sh_textrel-on-libitm.patch
1.0 08 Aug 2018
+ 95_all_ia64-TEXTREL.patch
+ 97_all_disable-systemtap-switch.patch
next reply other threads:[~2018-08-09 2:10 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-08 8:26 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-08 22:42 [gentoo-commits] proj/gcc-patches:master commit in: 8.2.0/gentoo/ Sergei Trofimovich
2019-02-11 21:59 Sergei Trofimovich
2019-02-10 12:12 Sergei Trofimovich
2019-01-29 20:24 Sergei Trofimovich
2018-12-26 19:31 Sergei Trofimovich
2018-12-18 22:38 Sergei Trofimovich
2018-12-10 22:48 Sergei Trofimovich
2018-12-01 13:06 Sergei Trofimovich
2018-11-22 23:55 Sergei Trofimovich
2018-10-27 9:04 Sergei Trofimovich
2018-10-21 9:24 Sergei Trofimovich
2018-10-20 9:40 Sergei Trofimovich
2018-10-18 20:40 Sergei Trofimovich
2018-10-08 22:05 Sergei Trofimovich
2018-10-08 22:05 Sergei Trofimovich
2018-10-01 6:41 Sergei Trofimovich
2018-09-30 22:08 Sergei Trofimovich
2018-09-23 20:37 Sergei Trofimovich
2018-09-15 19:30 Sergei Trofimovich
2018-08-12 22:56 Sergei Trofimovich
2018-08-12 20:27 Sergei Trofimovich
2018-08-08 8:37 Sergei Trofimovich
2018-08-08 8:31 Sergei Trofimovich
2018-08-08 7:58 Sergei Trofimovich
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=1533716691.638b730aa37da5b2abfc92194f83bff0971a692f.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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