This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v2] libgcc: m68k: avoid TEXTRELs in shared library (PR 86224)


From: Sergei Trofimovich <slyfox@gentoo.org>

Cc: Ian Lance Taylor <ian@airs.com>
Cc: Jeff Law <law@redhat.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
 libgcc/config/m68k/lb1sf68.S | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libgcc/config/m68k/lb1sf68.S b/libgcc/config/m68k/lb1sf68.S
index 325a7c17d9b..d5240d4aa55 100644
--- a/libgcc/config/m68k/lb1sf68.S
+++ b/libgcc/config/m68k/lb1sf68.S
@@ -435,6 +435,7 @@ $_exception_handler:
 	.text
 	FUNC(__mulsi3)
 	.globl	SYM (__mulsi3)
+	.hidden	SYM (__mulsi3)
 SYM (__mulsi3):
 	movew	sp@(4), d0	/* x0 -> d0 */
 	muluw	sp@(10), d0	/* x0*y1 */
@@ -458,6 +459,7 @@ SYM (__mulsi3):
 	.text
 	FUNC(__udivsi3)
 	.globl	SYM (__udivsi3)
+	.hidden	SYM (__udivsi3)
 SYM (__udivsi3):
 #ifndef __mcoldfire__
 	movel	d2, sp@-
@@ -534,6 +536,7 @@ L2:	subql	IMM (1),d4
 	.text
 	FUNC(__divsi3)
 	.globl	SYM (__divsi3)
+	.hidden	SYM (__divsi3)
 SYM (__divsi3):
 	movel	d2, sp@-
 
-- 
2.18.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]