bfd/
[deliverable/binutils-gdb.git] / ld / testsuite / ChangeLog
1 2012-04-03 Roland McGrath <mcgrathr@google.com>
2
3 * ld-x86-64/ilp32-4-nacl.d: New file.
4 * ld-x86-64/x86-64.exp: Run it.
5
6 * ld-discard/discard.exp: Accept nacl targets too.
7 * ld-elf/binutils.exp: Likewise.
8 * ld-elf/comm-data.exp: Likewise.
9 * ld-elf/elf.exp: Likewise.
10 * ld-elf/tls_common.exp: Likewise.
11 * ld-elfvers/vers.exp: Likewise.
12 * ld-elfvsb/elfvsb.exp: Likewise.
13 * ld-elfweak/elfweak.exp: Likewise.
14 * ld-gc/gc.exp: Likewise.
15 * ld-ifunc/binutils.exp: Likewise.
16 * ld-ifunc/ifunc.exp: Likewise.
17 * ld-linkonce/linkonce.exp:Likewise.
18 * ld-pie/pie.exp: Likewise.
19 * ld-shared/shared.exp: Likewise.
20 * ld-undefined/weak-undef.exp: Likewise.
21 * ld-unique/unique.exp: Likewise.
22 * ld-x86-64/dwarfreloc.exp: Likewise.
23 * ld-x86-64/line.exp: Likewise.
24
25 * lib/ld-lib.exp (slurp_options): Support global array
26 options_regsub to apply substitutions to the contents
27 of options lines read from the file.
28 * ld-i386/emit-relocs.d: Renamed to ...
29 * ld-i386/emit-relocs.rd: ... this.
30 * ld-i386/i386.exp: Accept nacl targets too.
31 For them, use options_regsub to replace elf_i386 with
32 elf_i386_nacl in run_dump_test cases; apply the same
33 substitution in $i386tests; replace foo.rd expectations
34 files with foo-nacl.rd in $i386tests.
35 (i386tests): Change emit-relocs.d to emit-relocs.rd here.
36 * ld-i386/emit-relocs-nacl.rd: New file.
37 * ld-i386/plt-nacl.pd: New file.
38 * ld-i386/plt-pic-nacl.pd: New file.
39 * ld-i386/tlsbin-nacl.rd: New file.
40 * ld-i386/tlsbindesc-nacl.rd: New file.
41 * ld-i386/tlsdesc-nacl.rd: New file.
42 * ld-i386/tlsgdesc-nacl.rd: New file.
43 * ld-i386/tlsnopic-nacl.rd: New file.
44 * ld-i386/tlspic-nacl.rd: New file.
45 * ld-x86-64/x86-64.exp: Accept nacl targets too.
46 For them, use options_regsub to replace elf_x86_64 with
47 elf_x86_64_nacl in run_dump_test cases; apply the same
48 substitution in $x86_64tests; replace foo.rd expectations
49 files with foo-nacl.rd in $x86_64tests.
50 Add explicit -melf_x86_64 to ld options in tests that need it,
51 in case the default emulation is x32 (as it is for x86_64-nacl).
52 * ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
53 * ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
54 * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
55 * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
56 * ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
57 * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
58 * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
59 * ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.
60
61 * ld-i386/hidden2.d: Loosen regexps to match any file format variant,
62 and not to depend on exact addresses, displacements, etc. where
63 they are irrelevant.
64 * ld-i386/pcrel16.d: Likewise.
65 * ld-i386/pcrel16abs.d: Likewise.
66 * ld-i386/pr12718.d: Likewise.
67 * ld-i386/pr12921.d: Likewise.
68 * ld-i386/reloc.d: Likewise.
69 * ld-i386/tlsbin.dd: Likewise.
70 * ld-i386/tlsbin.sd: Likewise.
71 * ld-i386/tlsbin.td: Likewise.
72 * ld-i386/tlsbindesc.dd: Likewise.
73 * ld-i386/tlsbindesc.sd: Likewise.
74 * ld-i386/tlsbindesc.td: Likewise.
75 * ld-i386/tlsdesc.dd: Likewise.
76 * ld-i386/tlsdesc.sd: Likewise.
77 * ld-i386/tlsdesc.td: Likewise.
78 * ld-i386/tlsg.sd: Likewise.
79 * ld-i386/tlsgdesc.dd: Likewise.
80 * ld-i386/tlsindntpoff.dd: Likewise.
81 * ld-i386/tlsnopic.dd: Likewise.
82 * ld-i386/tlsnopic.sd: Likewise.
83 * ld-i386/tlspic.dd: Likewise.
84 * ld-i386/tlspic.sd: Likewise.
85 * ld-i386/tlspic.td: Likewise.
86 * ld-i386/tlspie2.d: Likewise.
87 * ld-x86-64/hidden2.d: Likewise.
88 * ld-x86-64/pcrel16.d: Likewise.
89 * ld-x86-64/pr12718.d: Likewise.
90 * ld-x86-64/pr12921.d: Likewise.
91 * ld-x86-64/protected3.d: Likewise.
92 * ld-x86-64/tlsbin.dd: Likewise.
93 * ld-x86-64/tlsbin.sd: Likewise.
94 * ld-x86-64/tlsbin.td: Likewise.
95 * ld-x86-64/tlsbindesc.dd: Likewise.
96 * ld-x86-64/tlsbindesc.sd: Likewise.
97 * ld-x86-64/tlsbindesc.td: Likewise.
98 * ld-x86-64/tlsdesc.dd: Likewise.
99 * ld-x86-64/tlsdesc.sd: Likewise.
100 * ld-x86-64/tlsdesc.td: Likewise.
101 * ld-x86-64/tlsg.sd: Likewise.
102 * ld-x86-64/tlsgd5.dd: Likewise.
103 * ld-x86-64/tlsgd6.dd: Likewise.
104 * ld-x86-64/tlsgdesc.dd: Likewise.
105 * ld-x86-64/tlspic.dd: Likewise.
106 * ld-x86-64/tlspic.sd: Likewise.
107 * ld-x86-64/tlspic.td: Likewise.
108
109 * ld-x86-64/ilp32-8.d: Match any file format variant.
110 Use a -Ttext and adjust expected results, to handle variant layouts.
111 * ld-x86-64/ilp32-9.d: Likewise.
112
113 * ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
114 * ld-i386/pr12627.t: Likewise.
115
116 * ld-x86-64/abs-l1om.d: Add target: constraint.
117 * ld-x86-64/protected2-l1om.d: Likewise.
118 * ld-x86-64/protected3-l1om.d: Likewise.
119 * ld-x86-64/ilp32-4.d: Likewise.
120
121 * ld-x86-64/plt.s: New file.
122 * ld-x86-64/pltlib.s: New file.
123 * ld-x86-64/plt.pd: New file.
124 * ld-x86-64/x86-64.exp (x86_64tests): Add them.
125
126 * ld-i386/plt.s: New file.
127 * ld-i386/pltlib.s: New file.
128 * ld-i386/plt.pd: New file.
129 * ld-i386/plt-pic.s: New file.
130 * ld-i386/plt-pic.pd: New file.
131 * ld-i386/i386.exp (i386tests): Add them.
132
133 2012-03-25 Alan Modra <amodra@gmail.com>
134
135 * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
136 file offset and reloc symbol indices.
137
138 2012-03-21 Hans-Peter Nilsson <hp@axis.com>
139
140 PR ld/13813
141 * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
142 tests, also specify assembler option -march=mips3.
143
144 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
145
146 PR ld/13880
147 * ld-i386/i386.exp: Run protected4 and protected5.
148 * ld-x86-64/x86-64.exp: Likewise.
149
150 * ld-i386/protected4.d: New.
151 * ld-i386/protected4.s: Likewise.
152 * ld-i386/protected5.d: Likewise.
153 * ld-i386/protected5.s: Likewise.
154 * ld-x86-64/protected4.d: Likewise.
155 * ld-x86-64/protected4.s: Likewise.
156 * ld-x86-64/protected5.d: Likewise.
157 * ld-x86-64/protected5.s: Likewise.
158
159 2012-03-19 Andreas Schwab <schwab@linux-m68k.org>
160
161 * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass
162 --copy-dt-needed-entries.
163
164 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
165
166 * ld-arm/arm-elf.exp: Add new testcases.
167 * ld-arm/attr-merge-2.attr: Update ouput.
168 * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
169 * ld-arm/attr-merge-2b.s: Likewise.
170 * ld-arm/attr-merge-3.attr: Updated expected output.
171 * ld-arm/attr-merge-4.attr: Likewise.
172 * ld-arm/attr-merge-5.attr: Likewise.
173 * ld-arm/attr-merge-6.attr: Likewise.
174 * ld-arm/attr-merge-7.attr: Likewise.
175 * ld-arm/attr-merge-arch-1.attr: Likewise.
176 * ld-arm/attr-merge-arch-2.attr: Likewise.
177 * ld-arm/attr-merge-unknown-2.d: Likewise.
178 * ld-arm/attr-merge-unknown-2r.d: Likewise.
179 * ld-arm/attr-merge-unknown-3.d: Likewise.
180 * ld-arm/attr-merge-vfp-1.d: Likewise.
181 * ld-arm/attr-merge-vfp-1r.d: Likewise.
182 * ld-arm/attr-merge-vfp-2.d: Likewise.
183 * ld-arm/attr-merge-vfp-2r.d: Likewise.
184 * ld-arm/attr-merge-vfp-3.d: Likewise.
185 * ld-arm/attr-merge-vfp-3r.d: Likewise.
186 * ld-arm/attr-merge-vfp-4.d: Likewise.
187 * ld-arm/attr-merge-vfp-4r.d: Likewise.
188 * ld-arm/attr-merge-vfp-5.d: Likewise.
189 * ld-arm/attr-merge-vfp-5r.d: Likewise.
190 * ld-arm/attr-merge-vfp-6.d: Likewise.
191 * ld-arm/attr-merge-vfp-6r.d: Likewise.
192 * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
193 * ld-arm/attr-merge-wchar-00.d: Likewise.
194 * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
195 * ld-arm/attr-merge-wchar-02.d: Likewise.
196 * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
197 * ld-arm/attr-merge-wchar-04.d: Likewise.
198 * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
199 * ld-arm/attr-merge-wchar-20.d: Likewise.
200 * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
201 * ld-arm/attr-merge-wchar-22.d: Likewise.
202 * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
203 * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
204 * ld-arm/attr-merge-wchar-40.d: Likewise.
205 * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
206 * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
207 * ld-arm/attr-merge-wchar-44.d: Likewise.
208 * ld-arm/attr-merge.attr: Likewise.
209 * ld-arm/attr-merge-div-0.s: New testcase.
210 * ld-arm/attr-merge-div-00.d: Likewise.
211 * ld-arm/attr-merge-div-01-m3.d: Likewise.
212 * ld-arm/attr-merge-div-01.d: Likewise.
213 * ld-arm/attr-merge-div-02.d: Likewise.
214 * ld-arm/attr-merge-div-1.s: Likewise.
215 * ld-arm/attr-merge-div-10-m3.d: Likewise.
216 * ld-arm/attr-merge-div-10.d: Likewise.
217 * ld-arm/attr-merge-div-11.d: Likewise.
218 * ld-arm/attr-merge-div-12.d: Likewise.
219 * ld-arm/attr-merge-div-120.d: Likewise.
220 * ld-arm/attr-merge-div-2.s: Likewise.
221 * ld-arm/attr-merge-div-20.d: Likewise.
222 * ld-arm/attr-merge-div-21.d: Likewise.
223 * ld-arm/attr-merge-div-22.d: Likewise.
224
225 2012-03-16 Alan Modra <amodra@gmail.com>
226
227 * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.
228
229 2012-03-15 Alan Modra <amodra@gmail.com>
230
231 * config/default.exp: Update copyright date.
232 * ld-elf/shared.exp: Pass --no-as-needed to various tests linking
233 shared libs.
234 * ld-elfvers/vers.exp: Likewise.
235
236 2012-03-14 H.J. Lu <hongjiu.lu@intel.com>
237
238 PR ld/13839
239 * ld-elf/pr13839.d: New.
240 * ld-elf/pr13839.s: Likewise.
241 * ld-elf/pr13839.t: Likewise.
242
243 2012-03-09 H.J. Lu <hongjiu.lu@intel.com>
244
245 PR ld/13817
246 * ld-i386/pr13302.d: Updated.
247 * ld-x86-64/pr13082-5b.d: Likewise.
248 * ld-x86-64/pr13082-6a.d: Likewise.
249 * ld-x86-64/pr13082-6b.d: Likewise.
250
251 2012-03-06 Alan Modra <amodra@gmail.com>
252
253 PR ld/13683
254 * ld-gc/pr13683.d: Allow non-zero top address digit.
255
256 2012-03-05 Hans-Peter Nilsson <hp@axis.com>
257
258 PR ld/13803
259 * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
260 address of func_to_branch_to.
261
262 2012-03-01 Hans-Peter Nilsson <hp@axis.com>
263
264 PR ld/13789
265 * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
266
267 2012-02-25 Walter Lee <walt@tilera.com>
268
269 * ld-tilegx/reloc-be.d: New.
270 * ld-tilegx/reloc-le.d: New.
271 * ld-tilegx/reloc.d: Delete.
272 * ld-tilegx/tilegx.exp: Test big and little endian.
273
274 2012-02-22 Nick Clifton <nickc@redhat.com>
275
276 PR ld/13683
277 * ld-gc/pr13683.c: New test source file.
278 * ld-gc/pr13683.d: New test control and output file.
279 * ld-gc/gc.exp: Run the pr13683 test.
280
281 * ld-cris/tls-gc-68: Update expected symbol table dump.
282 * ld-cris/tls-gc-69: Likewise.
283 * ld-cris/tls-gc-70: Likewise.
284 * ld-cris/tls-gc-71: Likewise.
285 * ld-cris/tls-gc-75: Likewise.
286 * ld-cris/tls-gc-76.d: Likewise.
287 * ld-cris/tls-gc-79.d: Likewise.
288
289 2012-02-20 Thomas Schwinge <thomas@schwinge.name>
290
291 * ld-elf/comm-data.exp: Run for *-*-gnu*.
292
293 2012-02-14 Alan Modra <amodra@gmail.com>
294
295 * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
296 * ld-elf/pr11304a.s: Always have whitespace before directives.
297 * ld-elf/pr11304b.s: Likewise.
298 * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
299 * lib/ld-lib.exp: Likewise, and vice versa.
300
301 2012-02-13 Richard Henderson <rth@redhat.com>
302
303 PR ld/13621
304 * ld-elf/warn2.d: Expect ABS section for Foo.
305 * ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
306
307 2012-02-13 Alan Modra <amodra@gmail.com>
308
309 * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
310 * ld-m68hc11/adj-brset.d: Remove redundant #target line. Add
311 -m m68hc11elf to ld invocation.
312 * ld-m68hc11/adj-jump.d: Likewise.
313 * ld-m68hc11/bug-1403.d: Likewise.
314 * ld-m68hc11/bug-1417.d: Likewise.
315 * ld-m68hc11/bug-3331.d: Likewise.
316 * ld-m68hc11/relax-direct.d: Likewise.
317 * ld-m68hc11/relax-group.d: Likewise.
318 * ld-m68hc11/far-hc11.d: Remove redundant #target line. Adjust for
319 changed addresses.
320 * ld-m68hc11/far-hc12.d: Remove redundant #target line.
321 * ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
322
323 2012-02-09 H.J. Lu <hongjiu.lu@intel.com>
324
325 PR ld/13675
326 * ld-i386/tlsnopic.dd: Update no-op padding.
327 * ld-i386/tlspic.dd: Likewise.
328
329 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
330
331 PR ld/13616
332 * ld-i386/tlsbindesc.dd: Update no-op padding.
333 * ld-i386/tlsnopic.dd: Likewise.
334 * ld-i386/tlspic.dd: Likewise.
335 * ld-x86-64/tlsbin.dd: Likewise.
336 * ld-x86-64/tlsbindesc.dd: Likewise.
337 * ld-x86-64/tlspic.dd: Likewise.
338
339 2012-01-17 Alan Modra <amodra@gmail.com>
340
341 * config/default.exp: Provide tmpdir/ld/collect-ld.
342
343 2012-01-10 H.J. Lu <hongjiu.lu@intel.com>
344
345 PR ld/13581
346 * ld-x86-64/ilp32-4.s: New.
347 * ld-x86-64/ilp32-10.d: Likewise.
348 * ld-x86-64/ilp32-10.s: Likewise.
349
350 * ld-x86-64/ilp32-4.d: Adjusted.
351 * ld-x86-64/ilp32-5.d: Likewise.
352 * ld-x86-64/ilp32-5.s: Likewise.
353
354 * ld-x86-64/x86-64.exp: Run ilp32-10.
355
356 2012-01-05 Nick Clifton <nickc@redhat.com>
357
358 * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and
359 64-bit objects when the 32-bit object (loaded first) contains 32+
360 local symbols, all referenced by relocs and the 64-bit object
361 contains a reloc that uses a symbol in the 32-bit object.
362 * 32bit.s: New source file.
363 * 64bit.s: New source file.
364 * incompatible.l: New expected linker output file.
365
366 For older changes see ChangeLog-2011
367 \f
368 Local Variables:
369 mode: change-log
370 left-margin: 8
371 fill-column: 74
372 version-control: never
373 End:
This page took 0.03973 seconds and 5 git commands to generate.