From: | "Sergei Trofimovich (slyfox)" <slyfox@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo commit in src/patchsets/gcc/8.1.0/gentoo: 95_all_ia64-TEXTREL.patch README.history |
Date: | Mon, 07 May 2018 12:47:06 |
Message-Id: | 20180507124701.4BFDE3E@oystercatcher.gentoo.org |
1 | slyfox 18/05/07 12:47:01 |
2 | |
3 | Modified: README.history |
4 | Added: 95_all_ia64-TEXTREL.patch |
5 | Log: |
6 | ia64: fix textrels on -rdynamic binaries |
7 | |
8 | Bug: https://gcc.gnu.org/PR84553 |
9 | Bug: https://bugs.gentoo.org/566118 |
10 | |
11 | Revision Changes Path |
12 | 1.7 src/patchsets/gcc/8.1.0/gentoo/README.history |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?rev=1.7&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?rev=1.7&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history?r1=1.6&r2=1.7 |
17 | |
18 | Index: README.history |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/8.1.0/gentoo/README.history,v |
21 | retrieving revision 1.6 |
22 | retrieving revision 1.7 |
23 | diff -u -r1.6 -r1.7 |
24 | --- README.history 6 May 2018 15:34:30 -0000 1.6 |
25 | +++ README.history 7 May 2018 12:47:01 -0000 1.7 |
26 | @@ -1,3 +1,5 @@ |
27 | +1.3 TODO |
28 | + + 95_all_ia64-TEXTREL.patch |
29 | 1.2 06 May 2018 |
30 | + 93_all_arm-arch.patch |
31 | + 94_all_mips-o32-asan.patch |
32 | |
33 | |
34 | |
35 | 1.1 src/patchsets/gcc/8.1.0/gentoo/95_all_ia64-TEXTREL.patch |
36 | |
37 | 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 |
38 | 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 |
39 | |
40 | Index: 95_all_ia64-TEXTREL.patch |
41 | =================================================================== |
42 | Fix textrels on -rdynamic binaries: |
43 | Bug: https://gcc.gnu.org/PR84553 |
44 | Bug: https://bugs.gentoo.org/566118 |
45 | --- a/gcc/config/ia64/ia64.c |
46 | +++ a/gcc/config/ia64/ia64.c |
47 | @@ -10838,12 +10838,14 @@ ia64_hpux_reloc_rw_mask (void) |
48 | |
49 | /* For others, relax this so that relocations to local data goes in |
50 | read-only segments, but we still cannot allow global relocations |
51 | - in read-only segments. */ |
52 | + in read-only segments. Except that use of -rdynamic at link time |
53 | + may make any local data global, so we can't allow local data in |
54 | + read-only segments either. */ |
55 | |
56 | static int |
57 | ia64_reloc_rw_mask (void) |
58 | { |
59 | - return flag_pic ? 3 : 2; |
60 | + return flag_pic ? 3 : 3; |
61 | } |
62 | |
63 | /* Return the section to use for X. The only special thing we do here |