* [gentoo-commits] gentoo commit in src/patchsets/gcc/8.1.0/gentoo: 95_all_ia64-TEXTREL.patch README.history
@ 2018-05-07 12:47 Sergei Trofimovich (slyfox)
0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2018-05-07 12:47 UTC (permalink / raw
To: gentoo-commits
slyfox 18/05/07 12:47:01
Modified: README.history
Added: 95_all_ia64-TEXTREL.patch
Log:
ia64: fix textrels on -rdynamic binaries
Bug: https://gcc.gnu.org/PR84553
Bug: https://bugs.gentoo.org/566118
Revision Changes Path
1.7 src/patchsets/gcc/8.1.0/gentoo/README.history
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?r1=1.6&r2=1.7
Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- README.history 6 May 2018 15:34:30 -0000 1.6
+++ README.history 7 May 2018 12:47:01 -0000 1.7
@@ -1,3 +1,5 @@
+1.3 TODO
+ + 95_all_ia64-TEXTREL.patch
1.2 06 May 2018
+ 93_all_arm-arch.patch
+ 94_all_mips-o32-asan.patch
1.1 src/patchsets/gcc/8.1.0/gentoo/95_all_ia64-TEXTREL.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/95_all_ia64-TEXTREL.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/95_all_ia64-TEXTREL.patch?rev=1.1&content-type=text/plain
Index: 95_all_ia64-TEXTREL.patch
===================================================================
Fix textrels on -rdynamic binaries:
Bug: https://gcc.gnu.org/PR84553
Bug: https://bugs.gentoo.org/566118
--- a/gcc/config/ia64/ia64.c
+++ a/gcc/config/ia64/ia64.c
@@ -10838,12 +10838,14 @@ ia64_hpux_reloc_rw_mask (void)
/* For others, relax this so that relocations to local data goes in
read-only segments, but we still cannot allow global relocations
- in read-only segments. */
+ in read-only segments. Except that use of -rdynamic at link time
+ may make any local data global, so we can't allow local data in
+ read-only segments either. */
static int
ia64_reloc_rw_mask (void)
{
- return flag_pic ? 3 : 2;
+ return flag_pic ? 3 : 3;
}
/* Return the section to use for X. The only special thing we do here
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-07 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-07 12:47 [gentoo-commits] gentoo commit in src/patchsets/gcc/8.1.0/gentoo: 95_all_ia64-TEXTREL.patch README.history Sergei Trofimovich (slyfox)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox