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