Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/binutils/2.20.1: 75_all_binutils-default-test-flags.patch 77_all_generate-gnu-hash.patch 78_all_use-relro.patch README.history
Date: Sun, 09 May 2010 08:09:10
Message-Id: 20100509080906.7FF8C29644@corvid.gentoo.org
1 vapier 10/05/09 08:09:06
2
3 Modified: 77_all_generate-gnu-hash.patch
4 78_all_use-relro.patch README.history
5 Added: 75_all_binutils-default-test-flags.patch
6 Log:
7 split out default test update flags to avoid patch conflicts with some targets #310279
8
9 Revision Changes Path
10 1.2 src/patchsets/binutils/2.20.1/77_all_generate-gnu-hash.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/77_all_generate-gnu-hash.patch?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/77_all_generate-gnu-hash.patch?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/77_all_generate-gnu-hash.patch?r1=1.1&r2=1.2
15
16 Index: 77_all_generate-gnu-hash.patch
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.20.1/77_all_generate-gnu-hash.patch,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- 77_all_generate-gnu-hash.patch 8 Mar 2010 04:39:26 -0000 1.1
23 +++ 77_all_generate-gnu-hash.patch 9 May 2010 08:09:06 -0000 1.2
24 @@ -19,37 +19,3 @@
25 #readelf: -Ds
26 # It is also ok to remove this symbol, but we currently make it local.
27
28 -
29 -many tests rely on order of symbols and the gnu hash style changes that.
30 -so to avoid having to constantly thrash in the test files, use the normal
31 -hash style that everyone tests against.
32 -
33 ---- binutils/ld/testsuite/lib/ld-lib.exp
34 -+++ binutils/ld/testsuite/lib/ld-lib.exp
35 -@@ -84,7 +84,7 @@
36 - global HOSTING_EMU
37 -
38 - remote_file host delete $target
39 -- return [run_host_cmd_yesno "$ld" "$HOSTING_EMU -o $target -r $objects"]
40 -+ return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv -o $target -r $objects"]
41 - }
42 -
43 - # Check to see if ld is being invoked with a non-endian output format
44 -@@ -158,7 +158,7 @@
45 -
46 - remote_file host delete $target
47 -
48 -- return [run_host_cmd_yesno "$ld" "$HOSTING_EMU $flags -o $target $objs $libs"]
49 -+ return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv $flags -o $target $objs $libs"]
50 - }
51 -
52 - # Link a program using ld, without including any libraries.
53 -@@ -189,7 +189,7 @@
54 -
55 - remote_file host delete $target
56 -
57 -- set exec_output [run_host_cmd "$ld" "$flags -o $target $objects"]
58 -+ set exec_output [run_host_cmd "$ld" "--hash-style=sysv $flags -o $target $objects"]
59 - set exec_output [prune_warnings $exec_output]
60 -
61 - # We don't care if we get a warning about a non-existent start
62
63
64
65 1.2 src/patchsets/binutils/2.20.1/78_all_use-relro.patch
66
67 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/78_all_use-relro.patch?rev=1.2&view=markup
68 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/78_all_use-relro.patch?rev=1.2&content-type=text/plain
69 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/78_all_use-relro.patch?r1=1.1&r2=1.2
70
71 Index: 78_all_use-relro.patch
72 ===================================================================
73 RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.20.1/78_all_use-relro.patch,v
74 retrieving revision 1.1
75 retrieving revision 1.2
76 diff -u -r1.1 -r1.2
77 --- 78_all_use-relro.patch 8 Mar 2010 04:39:26 -0000 1.1
78 +++ 78_all_use-relro.patch 9 May 2010 08:09:06 -0000 1.2
79 @@ -7,37 +7,3 @@
80 link_info.combreloc = TRUE;
81 + link_info.relro = TRUE;
82 link_info.strip_discarded = TRUE;
83 -
84 -many tests rely on order of symbols and the relro option changes that.
85 -so to avoid having to constantly thrash in the test files, use the normal
86 -relro option that everyone tests against.
87 -
88 ---- binutils/ld/testsuite/lib/ld-lib.exp
89 -+++ binutils/ld/testsuite/lib/ld-lib.exp
90 -@@ -84,7 +84,7 @@
91 - global HOSTING_EMU
92 -
93 - remote_file host delete $target
94 -- return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv -o $target -r $objects"]
95 -+ return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv -z norelro -o $target -r $objects"]
96 - }
97 -
98 - # Check to see if ld is being invoked with a non-endian output format
99 -@@ -158,7 +158,7 @@
100 -
101 - remote_file host delete $target
102 -
103 -- return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv $flags -o $target $objs $libs"]
104 -+ return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv -z norelro $flags -o $target $objs $libs"]
105 - }
106 -
107 - # Link a program using ld, without including any libraries.
108 -@@ -189,7 +189,7 @@
109 -
110 - remote_file host delete $target
111 -
112 -- set exec_output [run_host_cmd "$ld" "--hash-style=sysv $flags -o $target $objects"]
113 -+ set exec_output [run_host_cmd "$ld" "--hash-style=sysv -z norelro $flags -o $target $objects"]
114 - set exec_output [prune_warnings $exec_output]
115 -
116 - # We don't care if we get a warning about a non-existent start
117
118
119
120 1.4 src/patchsets/binutils/2.20.1/README.history
121
122 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/README.history?rev=1.4&view=markup
123 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/README.history?rev=1.4&content-type=text/plain
124 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/README.history?r1=1.3&r2=1.4
125
126 Index: README.history
127 ===================================================================
128 RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.20.1/README.history,v
129 retrieving revision 1.3
130 retrieving revision 1.4
131 diff -u -r1.3 -r1.4
132 --- README.history 9 May 2010 08:06:19 -0000 1.3
133 +++ README.history 9 May 2010 08:09:06 -0000 1.4
134 @@ -1,7 +1,10 @@
135 1.1 [pending]
136 + 07_all_binutils-2.20-export-dynamic-pie.patch
137 + + 75_all_binutils-default-test-flags.patch
138 U 76_all_use-new-ld-dtags.patch
139 - 77_all_document-new-dtags-behaviour.patch
140 + U 77_all_generate-gnu-hash.patch
141 + U 78_all_use-relro.patch
142
143 1.0 07.03.2010
144 + 03_all_binutils-2.15.92.0.2-ppc64-pie.patch
145
146
147
148 1.1 src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch
149
150 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch?rev=1.1&view=markup
151 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/75_all_binutils-default-test-flags.patch?rev=1.1&content-type=text/plain
152
153 Index: 75_all_binutils-default-test-flags.patch
154 ===================================================================
155 many tests rely on order of symbols and the gnu hash style/relro options
156 change that. so to avoid having to constantly thrash in the test files,
157 use the normal options that everyone tests against.
158
159 --- binutils/ld/testsuite/lib/ld-lib.exp
160 +++ binutils/ld/testsuite/lib/ld-lib.exp
161 @@ -84,7 +84,7 @@
162 global HOSTING_EMU
163
164 remote_file host delete $target
165 - return [run_host_cmd_yesno "$ld" "$HOSTING_EMU -o $target -r $objects"]
166 + return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv -z norelro -o $target -r $objects"]
167 }
168
169 # Check to see if ld is being invoked with a non-endian output format
170 @@ -158,7 +158,7 @@
171
172 remote_file host delete $target
173
174 - return [run_host_cmd_yesno "$ld" "$HOSTING_EMU $flags -o $target $objs $libs"]
175 + return [run_host_cmd_yesno "$ld" "$HOSTING_EMU --hash-style=sysv -z norelro $flags -o $target $objs $libs"]
176 }
177
178 # Link a program using ld, without including any libraries.
179 @@ -189,7 +189,7 @@
180
181 remote_file host delete $target
182
183 - set exec_output [run_host_cmd "$ld" "$flags -o $target $objects"]
184 + set exec_output [run_host_cmd "$ld" "--hash-style=sysv -z norelro $flags -o $target $objects"]
185 set exec_output [prune_warnings $exec_output]
186
187 # We don't care if we get a warning about a non-existent start