public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libitm: sh: avoid absolute relocation in shared library (PR 86712)
@ 2018-07-28  9:45 slyfox.inbox.ru via gcc-patches
  2018-07-28 12:42 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: slyfox.inbox.ru via gcc-patches @ 2018-07-28  9:45 UTC (permalink / raw)
  To: gcc-patches, Torvald Riegel, Alexandre Oliva, Oleg Endo, Kaz Kojima
  Cc: Sergei Trofimovich

From: Sergei Trofimovich <slyfox@gentoo.org>

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
 libitm/config/sh/sjlj.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libitm/config/sh/sjlj.S b/libitm/config/sh/sjlj.S
index 043f36749be..80a810d8360 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 HAVE_ATTRIBUTE_VISIBILITY && !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 HAVE_ATTRIBUTE_VISIBILITY && !defined __PIC__
 	.long	GTM_begin_transaction
 #else
 	.long	GTM_begin_transaction@PCREL-(.Lbegin0-.)
-- 
2.18.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-09-28  9:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-28  9:45 [PATCH] libitm: sh: avoid absolute relocation in shared library (PR 86712) slyfox.inbox.ru via gcc-patches
2018-07-28 12:42 ` Andreas Schwab
2018-07-28 13:04   ` [PATCH v2] " slyfox.inbox.ru via gcc-patches
2018-08-03 20:54     ` Jeff Law
2018-08-04  9:00       ` Oleg Endo
2019-09-28  9:14         ` Oleg Endo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).