1 2012-04-24 Roland McGrath <mcgrathr@google.com>
3 * ld-x86-64/plt-nacl.pd: Fix expected nop padding.
4 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
6 2012-04-24 Hans-Peter Nilsson <hp@axis.com>
9 * ld-arm/arm-elf.exp: Run gc-hidden-1.
10 * ld-arm/gc-hidden-1.d: New test-file.
11 * ld-arm/gcdfn.s, ld-arm/hideall.ld, ld-arm/hidfn.s,
12 ld-arm/main.s: New files.
14 2012-04-23 Andreas Schwab <schwab@linux-m68k.org>
16 * ld-pie/pie.exp: Remove extra braces.
18 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21 * ld-x86-64/x86-64.exp: Run pr13947.
22 * ld-x86-64/pr13947.d: New file.
23 * ld-x86-64/pr13947.s: Likewise.
25 2012-04-13 Roland McGrath <mcgrathr@google.com>
27 * ld-arm/arm-elf.exp (armelftests_common): Move cases using
29 (armelftests_nonacl): ... here.
31 2012-04-12 Roland McGrath <mcgrathr@google.com>
33 * ld-arm/arm-elf.exp (armelftests): Split out into ...
34 (armelftests_common, armelftests_nonacl): ... these two.
35 (armeabitests): Split out into ...
36 (armeabitests_common, armeabitests_nonacl): ... these two.
37 Omit _nonacl sets for arm*-*-nacl* targets.
39 * ld-arm/farcall-mix.d: Don't match exact addresses, only symbolic ones.
40 * ld-arm/farcall-mix2.d: Likewise.
41 * ld-arm/farcall-group.d: Likewise.
43 * ld-arm/tls-gdesc-got.d: Match variant file formats too.
44 Accept some variation in exact addresses.
46 * ld-arm/thumb2-b-interwork.d: Match variant file formats too.
47 Fix regexps not to care about exact addresses where not relevant.
49 * ld-arm/thumb2-bl-undefweak.d: Match any hex strings, not any
50 strings of particular exact lengths.
51 * ld-arm/thumb2-bl-undefweak1.d: Likewise.
53 * ld-arm/arm-app.r: Match variant file formats too.
54 * ld-arm/arm-app-abs32.r: Likewise.
55 * ld-arm/arm-lib.d: Likewise.
56 * ld-arm/arm-lib.r: Likewise.
57 * ld-arm/arm-static-app.r: Likewise.
58 * ld-arm/armv4-bx.d: Likewise.
59 * ld-arm/data-only-map.d: Likewise.
60 * ld-arm/group-relocs.d: Likewise.
61 * ld-arm/jump19.d: Likewise.
62 * ld-arm/reloc-boundaries.d: Likewise.
63 * ld-arm/thumb1-bl.d: Likewise.
64 * ld-arm/thumb2-bl.d: Likewise.
65 * ld-arm/tls-app.d: Likewise.
66 * ld-arm/tls-app.r: Likewise.
67 * ld-arm/tls-gdierelax.d: Likewise.
68 * ld-arm/tls-gdierelax2.d: Likewise.
69 * ld-arm/tls-gdlerelax.d: Likewise.
70 * ld-arm/tls-lib.d: Likewise.
71 * ld-arm/tls-lib.r: Likewise.
72 * ld-arm/tls-mixed.r: Likewise.
73 * ld-arm/vfp11-fix-none.d: Likewise.
74 * ld-arm/vfp11-fix-scalar.d: Likewise.
75 * ld-arm/vfp11-fix-vector.d: Likewise.
76 * ld-arm/arm-static-app.d: Likewise.
77 Fix regexps not to care about exact number of leading spaces.
78 * ld-arm/arm-app-abs32.d: Likewise.
79 * ld-arm/fix-arm1176-off.d: Likewise.
80 * ld-arm/fix-arm1176-on.d: Likewise.
82 * ld-arm/arm-elf.exp: Treat nacl targets like eabi targets.
84 2012-04-09 Roland McGrath <mcgrathr@google.com>
86 * ld-elf/eh1.d: Add explicit --64 to as options, and explicit
87 -melf_x86_64 and -Ttext to ld options, so we don't assume every
88 x86_64-*-* target uses --64 (vs --x32) by default or has the
89 same address space layout.
90 * ld-elf/eh2.d: Likewise.
91 * ld-elf/eh3.d: Likewise.
92 * ld-elf/eh4.d: Likewise.
93 * ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to
94 map -melf_x86_64 to -melf_x86_64_nacl.
96 2012-04-07 David S. Miller <davem@davemloft.net>
98 * ld-sparc/tlssunbin32.rd: Fix regexp.
99 * ld-sparc/tlssunbin64.rd: Likewise.
101 2012-04-03 Roland McGrath <mcgrathr@google.com>
103 * ld-x86-64/ilp32-4-nacl.d: New file.
104 * ld-x86-64/x86-64.exp: Run it.
106 * ld-discard/discard.exp: Accept nacl targets too.
107 * ld-elf/binutils.exp: Likewise.
108 * ld-elf/comm-data.exp: Likewise.
109 * ld-elf/elf.exp: Likewise.
110 * ld-elf/tls_common.exp: Likewise.
111 * ld-elfvers/vers.exp: Likewise.
112 * ld-elfvsb/elfvsb.exp: Likewise.
113 * ld-elfweak/elfweak.exp: Likewise.
114 * ld-gc/gc.exp: Likewise.
115 * ld-ifunc/binutils.exp: Likewise.
116 * ld-ifunc/ifunc.exp: Likewise.
117 * ld-linkonce/linkonce.exp:Likewise.
118 * ld-pie/pie.exp: Likewise.
119 * ld-shared/shared.exp: Likewise.
120 * ld-undefined/weak-undef.exp: Likewise.
121 * ld-unique/unique.exp: Likewise.
122 * ld-x86-64/dwarfreloc.exp: Likewise.
123 * ld-x86-64/line.exp: Likewise.
125 * lib/ld-lib.exp (slurp_options): Support global array
126 options_regsub to apply substitutions to the contents
127 of options lines read from the file.
128 * ld-i386/emit-relocs.d: Renamed to ...
129 * ld-i386/emit-relocs.rd: ... this.
130 * ld-i386/i386.exp: Accept nacl targets too.
131 For them, use options_regsub to replace elf_i386 with
132 elf_i386_nacl in run_dump_test cases; apply the same
133 substitution in $i386tests; replace foo.rd expectations
134 files with foo-nacl.rd in $i386tests.
135 (i386tests): Change emit-relocs.d to emit-relocs.rd here.
136 * ld-i386/emit-relocs-nacl.rd: New file.
137 * ld-i386/plt-nacl.pd: New file.
138 * ld-i386/plt-pic-nacl.pd: New file.
139 * ld-i386/tlsbin-nacl.rd: New file.
140 * ld-i386/tlsbindesc-nacl.rd: New file.
141 * ld-i386/tlsdesc-nacl.rd: New file.
142 * ld-i386/tlsgdesc-nacl.rd: New file.
143 * ld-i386/tlsnopic-nacl.rd: New file.
144 * ld-i386/tlspic-nacl.rd: New file.
145 * ld-x86-64/x86-64.exp: Accept nacl targets too.
146 For them, use options_regsub to replace elf_x86_64 with
147 elf_x86_64_nacl in run_dump_test cases; apply the same
148 substitution in $x86_64tests; replace foo.rd expectations
149 files with foo-nacl.rd in $x86_64tests.
150 Add explicit -melf_x86_64 to ld options in tests that need it,
151 in case the default emulation is x32 (as it is for x86_64-nacl).
152 * ld/testsuite/ld-x86-64/plt-nacl.pd: New file.
153 * ld/testsuite/ld-x86-64/split-by-file-nacl.rd: New file.
154 * ld/testsuite/ld-x86-64/tlsbin-nacl.rd: New file.
155 * ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd: New file.
156 * ld/testsuite/ld-x86-64/tlsdesc-nacl.pd: New file.
157 * ld/testsuite/ld-x86-64/tlsdesc-nacl.rd: New file.
158 * ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd: New file.
159 * ld/testsuite/ld-x86-64/tlspic-nacl.rd: New file.
161 * ld-i386/hidden2.d: Loosen regexps to match any file format variant,
162 and not to depend on exact addresses, displacements, etc. where
164 * ld-i386/pcrel16.d: Likewise.
165 * ld-i386/pcrel16abs.d: Likewise.
166 * ld-i386/pr12718.d: Likewise.
167 * ld-i386/pr12921.d: Likewise.
168 * ld-i386/reloc.d: Likewise.
169 * ld-i386/tlsbin.dd: Likewise.
170 * ld-i386/tlsbin.sd: Likewise.
171 * ld-i386/tlsbin.td: Likewise.
172 * ld-i386/tlsbindesc.dd: Likewise.
173 * ld-i386/tlsbindesc.sd: Likewise.
174 * ld-i386/tlsbindesc.td: Likewise.
175 * ld-i386/tlsdesc.dd: Likewise.
176 * ld-i386/tlsdesc.sd: Likewise.
177 * ld-i386/tlsdesc.td: Likewise.
178 * ld-i386/tlsg.sd: Likewise.
179 * ld-i386/tlsgdesc.dd: Likewise.
180 * ld-i386/tlsindntpoff.dd: Likewise.
181 * ld-i386/tlsnopic.dd: Likewise.
182 * ld-i386/tlsnopic.sd: Likewise.
183 * ld-i386/tlspic.dd: Likewise.
184 * ld-i386/tlspic.sd: Likewise.
185 * ld-i386/tlspic.td: Likewise.
186 * ld-i386/tlspie2.d: Likewise.
187 * ld-x86-64/hidden2.d: Likewise.
188 * ld-x86-64/pcrel16.d: Likewise.
189 * ld-x86-64/pr12718.d: Likewise.
190 * ld-x86-64/pr12921.d: Likewise.
191 * ld-x86-64/protected3.d: Likewise.
192 * ld-x86-64/tlsbin.dd: Likewise.
193 * ld-x86-64/tlsbin.sd: Likewise.
194 * ld-x86-64/tlsbin.td: Likewise.
195 * ld-x86-64/tlsbindesc.dd: Likewise.
196 * ld-x86-64/tlsbindesc.sd: Likewise.
197 * ld-x86-64/tlsbindesc.td: Likewise.
198 * ld-x86-64/tlsdesc.dd: Likewise.
199 * ld-x86-64/tlsdesc.sd: Likewise.
200 * ld-x86-64/tlsdesc.td: Likewise.
201 * ld-x86-64/tlsg.sd: Likewise.
202 * ld-x86-64/tlsgd5.dd: Likewise.
203 * ld-x86-64/tlsgd6.dd: Likewise.
204 * ld-x86-64/tlsgdesc.dd: Likewise.
205 * ld-x86-64/tlspic.dd: Likewise.
206 * ld-x86-64/tlspic.sd: Likewise.
207 * ld-x86-64/tlspic.td: Likewise.
209 * ld-x86-64/ilp32-8.d: Match any file format variant.
210 Use a -Ttext and adjust expected results, to handle variant layouts.
211 * ld-x86-64/ilp32-9.d: Likewise.
213 * ld-i386/alloc.t: Remove superfluous OUTPUT_FORMAT statement.
214 * ld-i386/pr12627.t: Likewise.
216 * ld-x86-64/abs-l1om.d: Add target: constraint.
217 * ld-x86-64/protected2-l1om.d: Likewise.
218 * ld-x86-64/protected3-l1om.d: Likewise.
219 * ld-x86-64/ilp32-4.d: Likewise.
221 * ld-x86-64/plt.s: New file.
222 * ld-x86-64/pltlib.s: New file.
223 * ld-x86-64/plt.pd: New file.
224 * ld-x86-64/x86-64.exp (x86_64tests): Add them.
226 * ld-i386/plt.s: New file.
227 * ld-i386/pltlib.s: New file.
228 * ld-i386/plt.pd: New file.
229 * ld-i386/plt-pic.s: New file.
230 * ld-i386/plt-pic.pd: New file.
231 * ld-i386/i386.exp (i386tests): Add them.
233 2012-03-25 Alan Modra <amodra@gmail.com>
235 * ld-powerpc/vxworks-relax.rd: Remove check on reloc section
236 file offset and reloc symbol indices.
238 2012-03-21 Hans-Peter Nilsson <hp@axis.com>
241 * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
242 tests, also specify assembler option -march=mips3.
244 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
247 * ld-i386/i386.exp: Run protected4 and protected5.
248 * ld-x86-64/x86-64.exp: Likewise.
250 * ld-i386/protected4.d: New.
251 * ld-i386/protected4.s: Likewise.
252 * ld-i386/protected5.d: Likewise.
253 * ld-i386/protected5.s: Likewise.
254 * ld-x86-64/protected4.d: Likewise.
255 * ld-x86-64/protected4.s: Likewise.
256 * ld-x86-64/protected5.d: Likewise.
257 * ld-x86-64/protected5.s: Likewise.
259 2012-03-19 Andreas Schwab <schwab@linux-m68k.org>
261 * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass
262 --copy-dt-needed-entries.
264 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
266 * ld-arm/arm-elf.exp: Add new testcases.
267 * ld-arm/attr-merge-2.attr: Update ouput.
268 * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test.
269 * ld-arm/attr-merge-2b.s: Likewise.
270 * ld-arm/attr-merge-3.attr: Updated expected output.
271 * ld-arm/attr-merge-4.attr: Likewise.
272 * ld-arm/attr-merge-5.attr: Likewise.
273 * ld-arm/attr-merge-6.attr: Likewise.
274 * ld-arm/attr-merge-7.attr: Likewise.
275 * ld-arm/attr-merge-arch-1.attr: Likewise.
276 * ld-arm/attr-merge-arch-2.attr: Likewise.
277 * ld-arm/attr-merge-unknown-2.d: Likewise.
278 * ld-arm/attr-merge-unknown-2r.d: Likewise.
279 * ld-arm/attr-merge-unknown-3.d: Likewise.
280 * ld-arm/attr-merge-vfp-1.d: Likewise.
281 * ld-arm/attr-merge-vfp-1r.d: Likewise.
282 * ld-arm/attr-merge-vfp-2.d: Likewise.
283 * ld-arm/attr-merge-vfp-2r.d: Likewise.
284 * ld-arm/attr-merge-vfp-3.d: Likewise.
285 * ld-arm/attr-merge-vfp-3r.d: Likewise.
286 * ld-arm/attr-merge-vfp-4.d: Likewise.
287 * ld-arm/attr-merge-vfp-4r.d: Likewise.
288 * ld-arm/attr-merge-vfp-5.d: Likewise.
289 * ld-arm/attr-merge-vfp-5r.d: Likewise.
290 * ld-arm/attr-merge-vfp-6.d: Likewise.
291 * ld-arm/attr-merge-vfp-6r.d: Likewise.
292 * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
293 * ld-arm/attr-merge-wchar-00.d: Likewise.
294 * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
295 * ld-arm/attr-merge-wchar-02.d: Likewise.
296 * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
297 * ld-arm/attr-merge-wchar-04.d: Likewise.
298 * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
299 * ld-arm/attr-merge-wchar-20.d: Likewise.
300 * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
301 * ld-arm/attr-merge-wchar-22.d: Likewise.
302 * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
303 * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
304 * ld-arm/attr-merge-wchar-40.d: Likewise.
305 * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
306 * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
307 * ld-arm/attr-merge-wchar-44.d: Likewise.
308 * ld-arm/attr-merge.attr: Likewise.
309 * ld-arm/attr-merge-div-0.s: New testcase.
310 * ld-arm/attr-merge-div-00.d: Likewise.
311 * ld-arm/attr-merge-div-01-m3.d: Likewise.
312 * ld-arm/attr-merge-div-01.d: Likewise.
313 * ld-arm/attr-merge-div-02.d: Likewise.
314 * ld-arm/attr-merge-div-1.s: Likewise.
315 * ld-arm/attr-merge-div-10-m3.d: Likewise.
316 * ld-arm/attr-merge-div-10.d: Likewise.
317 * ld-arm/attr-merge-div-11.d: Likewise.
318 * ld-arm/attr-merge-div-12.d: Likewise.
319 * ld-arm/attr-merge-div-120.d: Likewise.
320 * ld-arm/attr-merge-div-2.s: Likewise.
321 * ld-arm/attr-merge-div-20.d: Likewise.
322 * ld-arm/attr-merge-div-21.d: Likewise.
323 * ld-arm/attr-merge-div-22.d: Likewise.
325 2012-03-16 Alan Modra <amodra@gmail.com>
327 * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms.
329 2012-03-15 Alan Modra <amodra@gmail.com>
331 * config/default.exp: Update copyright date.
332 * ld-elf/shared.exp: Pass --no-as-needed to various tests linking
334 * ld-elfvers/vers.exp: Likewise.
336 2012-03-14 H.J. Lu <hongjiu.lu@intel.com>
339 * ld-elf/pr13839.d: New.
340 * ld-elf/pr13839.s: Likewise.
341 * ld-elf/pr13839.t: Likewise.
343 2012-03-09 H.J. Lu <hongjiu.lu@intel.com>
346 * ld-i386/pr13302.d: Updated.
347 * ld-x86-64/pr13082-5b.d: Likewise.
348 * ld-x86-64/pr13082-6a.d: Likewise.
349 * ld-x86-64/pr13082-6b.d: Likewise.
351 2012-03-06 Alan Modra <amodra@gmail.com>
354 * ld-gc/pr13683.d: Allow non-zero top address digit.
356 2012-03-05 Hans-Peter Nilsson <hp@axis.com>
359 * ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
360 address of func_to_branch_to.
362 2012-03-01 Hans-Peter Nilsson <hp@axis.com>
365 * ld-elf/zerosize1.d: Allow xyzzy to be either OBJECT or NOTYPE.
367 2012-02-25 Walter Lee <walt@tilera.com>
369 * ld-tilegx/reloc-be.d: New.
370 * ld-tilegx/reloc-le.d: New.
371 * ld-tilegx/reloc.d: Delete.
372 * ld-tilegx/tilegx.exp: Test big and little endian.
374 2012-02-22 Nick Clifton <nickc@redhat.com>
377 * ld-gc/pr13683.c: New test source file.
378 * ld-gc/pr13683.d: New test control and output file.
379 * ld-gc/gc.exp: Run the pr13683 test.
381 * ld-cris/tls-gc-68: Update expected symbol table dump.
382 * ld-cris/tls-gc-69: Likewise.
383 * ld-cris/tls-gc-70: Likewise.
384 * ld-cris/tls-gc-71: Likewise.
385 * ld-cris/tls-gc-75: Likewise.
386 * ld-cris/tls-gc-76.d: Likewise.
387 * ld-cris/tls-gc-79.d: Likewise.
389 2012-02-20 Thomas Schwinge <thomas@schwinge.name>
391 * ld-elf/comm-data.exp: Run for *-*-gnu*.
393 2012-02-14 Alan Modra <amodra@gmail.com>
395 * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux.
396 * ld-elf/pr11304a.s: Always have whitespace before directives.
397 * ld-elf/pr11304b.s: Likewise.
398 * ld-selective/selective.exp: Test m68hc1* variant of m6811, m6812.
399 * lib/ld-lib.exp: Likewise, and vice versa.
401 2012-02-13 Richard Henderson <rth@redhat.com>
404 * ld-elf/warn2.d: Expect ABS section for Foo.
405 * ld-elf/zerosize1.d, ld-elf/zerosize1.s: New test.
407 2012-02-13 Alan Modra <amodra@gmail.com>
409 * ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
410 * ld-m68hc11/adj-brset.d: Remove redundant #target line. Add
411 -m m68hc11elf to ld invocation.
412 * ld-m68hc11/adj-jump.d: Likewise.
413 * ld-m68hc11/bug-1403.d: Likewise.
414 * ld-m68hc11/bug-1417.d: Likewise.
415 * ld-m68hc11/bug-3331.d: Likewise.
416 * ld-m68hc11/relax-direct.d: Likewise.
417 * ld-m68hc11/relax-group.d: Likewise.
418 * ld-m68hc11/far-hc11.d: Remove redundant #target line. Adjust for
420 * ld-m68hc11/far-hc12.d: Remove redundant #target line.
421 * ld-m68hc11/link-hcs12.d: Likewise, and adjust for header changes.
423 2012-02-09 H.J. Lu <hongjiu.lu@intel.com>
426 * ld-i386/tlsnopic.dd: Update no-op padding.
427 * ld-i386/tlspic.dd: Likewise.
429 2012-01-31 H.J. Lu <hongjiu.lu@intel.com>
432 * ld-i386/tlsbindesc.dd: Update no-op padding.
433 * ld-i386/tlsnopic.dd: Likewise.
434 * ld-i386/tlspic.dd: Likewise.
435 * ld-x86-64/tlsbin.dd: Likewise.
436 * ld-x86-64/tlsbindesc.dd: Likewise.
437 * ld-x86-64/tlspic.dd: Likewise.
439 2012-01-17 Alan Modra <amodra@gmail.com>
441 * config/default.exp: Provide tmpdir/ld/collect-ld.
443 2012-01-10 H.J. Lu <hongjiu.lu@intel.com>
446 * ld-x86-64/ilp32-4.s: New.
447 * ld-x86-64/ilp32-10.d: Likewise.
448 * ld-x86-64/ilp32-10.s: Likewise.
450 * ld-x86-64/ilp32-4.d: Adjusted.
451 * ld-x86-64/ilp32-5.d: Likewise.
452 * ld-x86-64/ilp32-5.s: Likewise.
454 * ld-x86-64/x86-64.exp: Run ilp32-10.
456 2012-01-05 Nick Clifton <nickc@redhat.com>
458 * ld-x86-64/x86-64.exp: Add test of linking mixed 32-bit and
459 64-bit objects when the 32-bit object (loaded first) contains 32+
460 local symbols, all referenced by relocs and the 64-bit object
461 contains a reloc that uses a symbol in the 32-bit object.
462 * 32bit.s: New source file.
463 * 64bit.s: New source file.
464 * incompatible.l: New expected linker output file.
466 For older changes see ChangeLog-2011
472 version-control: never