1 |
vapier 08/11/28 05:42:42 |
2 |
|
3 |
Modified: 63_all_binutils-2.19-pt-pax-flags-20081101.patch |
4 |
README.history |
5 |
Log: |
6 |
fixup most test failures due to pax patch on i386/x86_64 #245124 |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 src/patchsets/binutils/2.19/63_all_binutils-2.19-pt-pax-flags-20081101.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.19/63_all_binutils-2.19-pt-pax-flags-20081101.patch?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.19/63_all_binutils-2.19-pt-pax-flags-20081101.patch?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.19/63_all_binutils-2.19-pt-pax-flags-20081101.patch?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: 63_all_binutils-2.19-pt-pax-flags-20081101.patch |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.19/63_all_binutils-2.19-pt-pax-flags-20081101.patch,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- 63_all_binutils-2.19-pt-pax-flags-20081101.patch 28 Nov 2008 05:01:50 -0000 1.2 |
22 |
+++ 63_all_binutils-2.19-pt-pax-flags-20081101.patch 28 Nov 2008 05:42:41 -0000 1.3 |
23 |
@@ -236,3 +236,275 @@ |
24 |
else |
25 |
{ |
26 |
einfo (_("\ |
27 |
+--- binutils-2.19/ld/testsuite/ld-elf/seg.d |
28 |
++++ binutils-2.19/ld/testsuite/ld-elf/seg.d |
29 |
+@@ -10,6 +10,7 @@ Program Headers: |
30 |
+ #... |
31 |
+ LOAD .* |
32 |
+ LOAD 0x0*001000 0xf*fffff000 0xf*fffff000 0x0*1000 0x0*1000 .* |
33 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 |
34 |
+ |
35 |
+ Section to Segment mapping: |
36 |
+ Segment Sections... |
37 |
+@@ -17,3 +18,4 @@ Program Headers: |
38 |
+ # On MIPS, the first segment is for .reginfo. |
39 |
+ #... |
40 |
+ 0. reset boot |
41 |
++ 02 + |
42 |
+--- binutils-2.19/ld/testsuite/ld-i386/hidden2.d |
43 |
++++ binutils-2.19/ld/testsuite/ld-i386/hidden2.d |
44 |
+@@ -8,6 +8,6 @@ |
45 |
+ Disassembly of section .text: |
46 |
+ |
47 |
+ [a-f0-9]+ <bar>: |
48 |
+-[ ]*[a-f0-9]+: e8 cf fe ff ff call 0 <bar-0x[a-f0-9]+> |
49 |
++[ ]*[a-f0-9]+: e8 [a-f0-9]{2} fe ff ff call 0 <bar-0x[a-f0-9]+> |
50 |
+ [ ]*[a-f0-9]+: c3 ret |
51 |
+ #pass |
52 |
+--- binutils-2.19/ld/testsuite/ld-i386/tlsbin.rd |
53 |
++++ binutils-2.19/ld/testsuite/ld-i386/tlsbin.rd |
54 |
+@@ -44,6 +44,7 @@ Program Headers: |
55 |
+ LOAD.* |
56 |
+ DYNAMIC.* |
57 |
+ TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 |
58 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 |
59 |
+ |
60 |
+ Section to Segment mapping: |
61 |
+ Segment Sections... |
62 |
+@@ -53,6 +54,7 @@ Program Headers: |
63 |
+ 03 +.tdata .dynamic .got .got.plt * |
64 |
+ 04 +.dynamic * |
65 |
+ 05 +.tdata .tbss * |
66 |
++ 06 * |
67 |
+ |
68 |
+ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: |
69 |
+ Offset +Info +Type +Sym.Value +Sym. Name |
70 |
+--- binutils-2.19/ld/testsuite/ld-i386/tlsbindesc.rd |
71 |
++++ binutils-2.19/ld/testsuite/ld-i386/tlsbindesc.rd |
72 |
+@@ -42,6 +42,7 @@ Program Headers: |
73 |
+ LOAD.* |
74 |
+ DYNAMIC.* |
75 |
+ TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 |
76 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 |
77 |
+ |
78 |
+ Section to Segment mapping: |
79 |
+ Segment Sections... |
80 |
+@@ -51,6 +52,7 @@ Program Headers: |
81 |
+ 03 +.tdata .dynamic .got .got.plt * |
82 |
+ 04 +.dynamic * |
83 |
+ 05 +.tdata .tbss * |
84 |
++ 06 * |
85 |
+ |
86 |
+ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: |
87 |
+ Offset +Info +Type +Sym.Value +Sym. Name |
88 |
+--- binutils-2.19/ld/testsuite/ld-i386/tlsdesc.rd |
89 |
++++ binutils-2.19/ld/testsuite/ld-i386/tlsdesc.rd |
90 |
+@@ -39,6 +39,7 @@ Program Headers: |
91 |
+ LOAD.* |
92 |
+ DYNAMIC.* |
93 |
+ TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 |
94 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 |
95 |
+ |
96 |
+ Section to Segment mapping: |
97 |
+ Segment Sections... |
98 |
+@@ -46,6 +47,7 @@ Program Headers: |
99 |
+ 01 +.tdata .dynamic .got .got.plt * |
100 |
+ 02 +.dynamic * |
101 |
+ 03 +.tdata .tbss * |
102 |
++ 04 * |
103 |
+ |
104 |
+ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: |
105 |
+ Offset +Info +Type +Sym.Value +Sym. Name |
106 |
+--- binutils-2.19/ld/testsuite/ld-i386/tlsdesc.sd |
107 |
++++ binutils-2.19/ld/testsuite/ld-i386/tlsdesc.sd |
108 |
+@@ -14,7 +14,7 @@ Contents of section \.got: |
109 |
+ [0-9a-f]+ 6c000000 b4ffffff 4c000000 68000000 .* |
110 |
+ [0-9a-f]+ 50000000 70000000 00000000 bcffffff .* |
111 |
+ Contents of section \.got\.plt: |
112 |
+- [0-9a-f]+ b0150000 00000000 00000000 00000000 .* |
113 |
++ [0-9a-f]+ d0150000 00000000 00000000 00000000 .* |
114 |
+ [0-9a-f]+ 20000000 00000000 60000000 00000000 .* |
115 |
+ [0-9a-f]+ 00000000 00000000 00000000 00000000 .* |
116 |
+ [0-9a-f]+ 40000000 +.* |
117 |
+--- binutils-2.19/ld/testsuite/ld-i386/tlsgdesc.rd |
118 |
++++ binutils-2.19/ld/testsuite/ld-i386/tlsgdesc.rd |
119 |
+@@ -36,12 +36,14 @@ Program Headers: |
120 |
+ LOAD.* |
121 |
+ LOAD.* |
122 |
+ DYNAMIC.* |
123 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 |
124 |
+ |
125 |
+ Section to Segment mapping: |
126 |
+ Segment Sections... |
127 |
+ 00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * |
128 |
+ 01 +.dynamic .got .got.plt * |
129 |
+ 02 +.dynamic * |
130 |
++ 03 * |
131 |
+ |
132 |
+ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 8 entries: |
133 |
+ Offset +Info +Type +Sym.Value +Sym. Name |
134 |
+--- binutils-2.19/ld/testsuite/ld-i386/tlsnopic.rd |
135 |
++++ binutils-2.19/ld/testsuite/ld-i386/tlsnopic.rd |
136 |
+@@ -37,6 +37,7 @@ Program Headers: |
137 |
+ LOAD.* |
138 |
+ DYNAMIC.* |
139 |
+ TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1 |
140 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 |
141 |
+ |
142 |
+ Section to Segment mapping: |
143 |
+ Segment Sections... |
144 |
+@@ -44,6 +45,7 @@ Program Headers: |
145 |
+ 01 +.dynamic .got .got.plt * |
146 |
+ 02 +.dynamic * |
147 |
+ 03 +.tbss * |
148 |
++ 04 * |
149 |
+ |
150 |
+ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: |
151 |
+ Offset +Info +Type +Sym.Value +Sym. Name |
152 |
+--- binutils-2.19/ld/testsuite/ld-i386/tlspic.rd |
153 |
++++ binutils-2.19/ld/testsuite/ld-i386/tlspic.rd |
154 |
+@@ -40,6 +40,7 @@ Program Headers: |
155 |
+ LOAD.* |
156 |
+ DYNAMIC.* |
157 |
+ TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 |
158 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 |
159 |
+ |
160 |
+ Section to Segment mapping: |
161 |
+ Segment Sections... |
162 |
+@@ -47,6 +48,7 @@ Program Headers: |
163 |
+ 01 +.tdata .dynamic .got .got.plt * |
164 |
+ 02 +.dynamic * |
165 |
+ 03 +.tdata .tbss * |
166 |
++ 04 * |
167 |
+ |
168 |
+ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries: |
169 |
+ Offset +Info +Type +Sym.Value +Sym. Name |
170 |
+--- binutils-2.19/ld/testsuite/ld-scripts/empty-aligned.d |
171 |
++++ binutils-2.19/ld/testsuite/ld-scripts/empty-aligned.d |
172 |
+@@ -7,7 +7,9 @@ |
173 |
+ Program Headers: |
174 |
+ +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg +Align |
175 |
+ +LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ [RWE ]+ +0x[0-9a-f]+ |
176 |
++ +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x[48] |
177 |
+ |
178 |
+ Section to Segment mapping: |
179 |
+ +Segment Sections\.\.\. |
180 |
+ +00 +.text |
181 |
++ +01 + |
182 |
+--- binutils-2.19/ld/testsuite/ld-x86-64/hidden2.d |
183 |
++++ binutils-2.19/ld/testsuite/ld-x86-64/hidden2.d |
184 |
+@@ -8,6 +8,6 @@ |
185 |
+ Disassembly of section .text: |
186 |
+ |
187 |
+ [a-f0-9]+ <bar>: |
188 |
+-[ ]*[a-f0-9]+: e8 33 fe ff ff callq 0 <bar-0x[a-f0-9]+> |
189 |
++[ ]*[a-f0-9]+: e8 [a-f0-9]{2} fe ff ff callq 0 <bar-0x[a-f0-9]+> |
190 |
+ [ ]*[a-f0-9]+: c3 retq |
191 |
+ #pass |
192 |
+--- binutils-2.19/ld/testsuite/ld-x86-64/tlsbin.rd |
193 |
++++ binutils-2.19/ld/testsuite/ld-x86-64/tlsbin.rd |
194 |
+@@ -44,6 +44,7 @@ Program Headers: |
195 |
+ LOAD +0x0+122a 0x0+60122a 0x0+60122a 0x0+1e6 0x0+1e6 RW 0x200000 |
196 |
+ DYNAMIC +0x0+1290 0x0+601290 0x0+601290 0x0+140 0x0+140 RW 0x8 |
197 |
+ TLS +0x0+122a 0x0+60122a 0x0+60122a 0x0+60 0x0+a0 R +0x1 |
198 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 |
199 |
+ |
200 |
+ Section to Segment mapping: |
201 |
+ Segment Sections... |
202 |
+@@ -53,6 +54,7 @@ Program Headers: |
203 |
+ 03 +.tdata .dynamic .got .got.plt * |
204 |
+ 04 +.dynamic * |
205 |
+ 05 +.tdata .tbss * |
206 |
++ 06 + |
207 |
+ |
208 |
+ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: |
209 |
+ +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend |
210 |
+--- binutils-2.19/ld/testsuite/ld-x86-64/tlsbindesc.rd |
211 |
++++ binutils-2.19/ld/testsuite/ld-x86-64/tlsbindesc.rd |
212 |
+@@ -42,6 +42,7 @@ Program Headers: |
213 |
+ LOAD +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+19a 0x0+19a RW 0x200000 |
214 |
+ DYNAMIC +0x0+1258 0x0+601258 0x0+601258 0x0+100 0x0+100 RW 0x8 |
215 |
+ TLS +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+60 0x0+a0 R +0x1 |
216 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 |
217 |
+ |
218 |
+ Section to Segment mapping: |
219 |
+ Segment Sections... |
220 |
+@@ -51,6 +52,7 @@ Program Headers: |
221 |
+ 03 +.tdata .dynamic .got .got.plt * |
222 |
+ 04 +.dynamic * |
223 |
+ 05 +.tdata .tbss * |
224 |
++ 06 + |
225 |
+ |
226 |
+ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: |
227 |
+ +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend |
228 |
+--- binutils-2.19/ld/testsuite/ld-x86-64/tlsdesc.rd |
229 |
++++ binutils-2.19/ld/testsuite/ld-x86-64/tlsdesc.rd |
230 |
+@@ -15,7 +15,7 @@ Section Headers: |
231 |
+ +\[[ 0-9]+\] .dynstr +.* |
232 |
+ +\[[ 0-9]+\] .rela.dyn +.* |
233 |
+ +\[[ 0-9]+\] .rela.plt +.* |
234 |
+- +\[[ 0-9]+\] .plt +PROGBITS +0+450 0+450 0+20 10 +AX +0 +0 +4 |
235 |
++ +\[[ 0-9]+\] .plt +PROGBITS +0+488 0+488 0+20 10 +AX +0 +0 +4 |
236 |
+ +\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+154 00 +AX +0 +0 4096 |
237 |
+ +\[[ 0-9]+\] .tdata +PROGBITS +0+201154 0+1154 0+60 00 WAT +0 +0 +1 |
238 |
+ +\[[ 0-9]+\] .tbss +NOBITS +0+2011b4 0+11b4 0+20 00 WAT +0 +0 +1 |
239 |
+@@ -40,6 +40,7 @@ Program Headers: |
240 |
+ LOAD +0x0+1154 0x0+201154 0x0+201154 0x0+264 0x0+264 RW +0x200000 |
241 |
+ DYNAMIC +0x0+11b8 0x0+2011b8 0x0+2011b8 0x0+150 0x0+150 RW +0x8 |
242 |
+ TLS +0x0+1154 0x0+201154 0x0+201154 0x0+60 0x0+80 R +0x1 |
243 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 |
244 |
+ |
245 |
+ Section to Segment mapping: |
246 |
+ Segment Sections... |
247 |
+@@ -47,6 +48,7 @@ Program Headers: |
248 |
+ 01 +.tdata .dynamic .got .got.plt * |
249 |
+ 02 +.dynamic * |
250 |
+ 03 +.tdata .tbss * |
251 |
++ 04 + |
252 |
+ |
253 |
+ Dynamic section at offset 0x[0-9a-f]+ contains 16 entries: |
254 |
+ +Tag +Type +Name/Value |
255 |
+@@ -59,7 +61,7 @@ Dynamic section at offset 0x[0-9a-f]+ contains 16 entries: |
256 |
+ 0x[0-9a-f]+ +\(PLTRELSZ\).* |
257 |
+ 0x[0-9a-f]+ +\(PLTREL\).* |
258 |
+ 0x[0-9a-f]+ +\(JMPREL\).* |
259 |
+- 0x[0-9a-f]+ +\(TLSDESC_PLT\) +0x460 |
260 |
++ 0x[0-9a-f]+ +\(TLSDESC_PLT\) +0x498 |
261 |
+ 0x[0-9a-f]+ +\(TLSDESC_GOT\) +0x201348 |
262 |
+ 0x[0-9a-f]+ +\(RELA\).* |
263 |
+ 0x[0-9a-f]+ +\(RELASZ\).* |
264 |
+--- binutils-2.19/ld/testsuite/ld-x86-64/tlsgdesc.rd |
265 |
++++ binutils-2.19/ld/testsuite/ld-x86-64/tlsgdesc.rd |
266 |
+@@ -36,12 +36,14 @@ Program Headers: |
267 |
+ LOAD.* |
268 |
+ LOAD.* |
269 |
+ DYNAMIC.* |
270 |
++ PAX_FLAGS.* |
271 |
+ |
272 |
+ Section to Segment mapping: |
273 |
+ Segment Sections... |
274 |
+ 00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * |
275 |
+ 01 +.dynamic .got .got.plt * |
276 |
+ 02 +.dynamic * |
277 |
++ 03 + |
278 |
+ |
279 |
+ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries: |
280 |
+ +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend |
281 |
+--- binutils-2.19/ld/testsuite/ld-x86-64/tlspic.rd |
282 |
++++ binutils-2.19/ld/testsuite/ld-x86-64/tlspic.rd |
283 |
+@@ -40,6 +40,7 @@ Program Headers: |
284 |
+ LOAD +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+244 0x0+244 RW +0x200000 |
285 |
+ DYNAMIC +0x0+1210 0x0+201210 0x0+201210 0x0+130 0x0+130 RW +0x8 |
286 |
+ TLS +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+60 0x0+80 R +0x1 |
287 |
++ PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 |
288 |
+ |
289 |
+ Section to Segment mapping: |
290 |
+ Segment Sections... |
291 |
+@@ -47,6 +48,7 @@ Program Headers: |
292 |
+ 01 +.tdata .dynamic .got .got.plt * |
293 |
+ 02 +.dynamic * |
294 |
+ 03 +.tdata .tbss * |
295 |
++ 04 + |
296 |
+ |
297 |
+ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: |
298 |
+ +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend |
299 |
|
300 |
|
301 |
|
302 |
1.3 src/patchsets/binutils/2.19/README.history |
303 |
|
304 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.19/README.history?rev=1.3&view=markup |
305 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.19/README.history?rev=1.3&content-type=text/plain |
306 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.19/README.history?r1=1.2&r2=1.3 |
307 |
|
308 |
Index: README.history |
309 |
=================================================================== |
310 |
RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.19/README.history,v |
311 |
retrieving revision 1.2 |
312 |
retrieving revision 1.3 |
313 |
diff -u -r1.2 -r1.3 |
314 |
--- README.history 28 Nov 2008 04:48:05 -0000 1.2 |
315 |
+++ README.history 28 Nov 2008 05:42:41 -0000 1.3 |
316 |
@@ -1,5 +1,6 @@ |
317 |
-1.1 [pending] |
318 |
+1.1 11.28.2008 |
319 |
U 08_all_binutils-RPATH_ENVVAR-smack.patch |
320 |
+ U 63_all_binutils-2.19-pt-pax-flags-20081101.patch |
321 |
|
322 |
1.0 11.01.2008 |
323 |
+ 03_all_binutils-2.15.92.0.2-ppc64-pie.patch |