1 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
4 * ld-elf/binutils.exp (binutils_test): Add an optional
5 readelf_options. Replace -l with $readelf_options. Add a
7 * ld/testsuite/ld-elf/gap.s: New file.
9 2014-12-26 Alan Modra <amodra@gmail.com>
11 * ld-sh/sh64/crangerel1.rd: Update.
12 * ld-sh/sh64/crangerel2.rd: Update.
14 2014-12-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
16 * ld-arm/attr-merge-2a.s: Add Tag_ABI_VFP_args.
17 * ld-arm/attr-merge-2b.s: Likewise.
18 * ld-arm/attr-merge-2.attr: Likewise.
19 * ld-arm/attr-merge-4a.s: Add Tag_ABI_FP_number_model and
21 * ld-arm/attr-merge-4b.s: Likewise.
22 * ld-arm/attr-merge-4.attr: Likewise.
23 * ld-arm/attr-merge-6a.s: Likewise.
24 * ld-arm/attr-merge-6b.s: Likewise.
25 * ld-arm/attr-merge-6.attr: Add Tag_ABI_FP_number_model.
27 2014-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
29 * ld/testsuite/ld-avr/relax-elf-flags-02.d: Add -mno-link-relax
31 * ld/testsuite/ld-avr/relax-elf-flags-03.d: Likewise.
32 * ld/testsuite/ld-avr/relax-elf-flags-04.d: Likewise.
33 * ld/testsuite/ld-avr/relax-elf-flags-05.d: Likewise.
34 * ld/testsuite/ld-avr/relax-elf-flags-06.d: Likewise.
36 2014-12-24 Alan Modra <amodra@gmail.com>
38 * ld-scripts/defined6.s,
39 * ld-scripts/defined6.t,
40 * ld-scripts/defined6.d: New test.
41 * ld-scripts/defined.exp: Run it.
43 2014-12-23 Andrew Burgess <andrew.burgess@embecosm.com>
45 * ld-avr/relax-elf-flags-01.d: New file.
46 * ld-avr/relax-elf-flags-02.d: New file.
47 * ld-avr/relax-elf-flags-03.d: New file.
48 * ld-avr/relax-elf-flags-04.d: New file.
49 * ld-avr/relax-elf-flags-05.d: New file.
50 * ld-avr/relax-elf-flags-06.d: New file.
51 * ld-avr/relax-elf-flags-07.d: New file.
52 * ld-avr/relax-elf-flags-08.d: New file.
53 * ld-avr/relax-elf-flags-a.s: New file.
54 * ld-avr/relax-elf-flags-b.s: New file.
56 2014-12-23 Alan Modra <amodra@gmail.com>
58 * ld-powerpc/sdabase.s,
59 * ld-powerpc/sdabase.t,
60 * ld-powerpc/sdabase.d: New test.
61 * ld-powerpc/sdabase2.t,
62 * ld-powerpc/sdabase2.d: New test.
63 * ld-powerpc/powerpc.exp: Run them.
65 2014-12-23 Alan Modra <amodra@gmail.com>
67 * ld-elf/endsym.s, *ld-elf/endsym.d: New test.
69 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
71 * ld-mips-elf/attr-gnu-4-00.d: Relax check for ISA extension.
72 * ld-mips-elf/attr-gnu-4-01.d: Likewise.
73 * ld-mips-elf/attr-gnu-4-02.d: Likewise.
74 * ld-mips-elf/attr-gnu-4-03.d: Likewise.
75 * ld-mips-elf/attr-gnu-4-08.d: Likewise.
76 * ld-mips-elf/attr-gnu-4-10.d: Likewise.
77 * ld-mips-elf/attr-gnu-4-11.d: Likewise.
78 * ld-mips-elf/attr-gnu-4-18.d: Likewise.
79 * ld-mips-elf/attr-gnu-4-20.d: Likewise.
80 * ld-mips-elf/attr-gnu-4-22.d: Likewise.
81 * ld-mips-elf/attr-gnu-4-28.d: Likewise.
82 * ld-mips-elf/attr-gnu-4-30.d: Likewise.
83 * ld-mips-elf/attr-gnu-4-33.d: Likewise.
84 * ld-mips-elf/attr-gnu-4-38.d: Likewise.
85 * ld-mips-elf/attr-gnu-4-44.d: Likewise.
87 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
89 * ld-mips-elf/mips-elf.exp: Update undefweak-overflow tests.
90 * ld-mips-elf/undefweak-overflow-n32.d: Remove.
91 * ld-mips-elf/undefweak-overflow-n64.d: Likewise.
92 * ld-mips-elf/undefweak-overflow.s: Set mips64r6, noreorder and
93 add a label to mark the micromips region.
94 * ld-mips-elf/undefweak-overflow.d: Update expected output.
96 2014-12-13 H.J. Lu <hongjiu.lu@intel.com>
99 * ld-x86-64/pr17689.out: New file.
100 * ld-x86-64/pr17689.rd: Likewise.
101 * ld-x86-64/pr17689a.c: Likewise.
102 * ld-x86-64/pr17689b.S: Likewise.
104 * ld-x86-64/x86-64.exp: Run PR ld/17689 tests.
106 2014-12-06 Eric Botcazou <ebotcazou@adacore.com>
108 * lib/ld-lib.exp (check_shared_lib_support): Return 0 for Visium.
109 * ld-visium/: New directory.
111 2014-12-04 Alan Modra <amodra@gmail.com>
113 * ld-powerpc/vxworks-relax.rd: Update for reloc sorting.
114 * ld-powerpc/vxworks-relax-2.rd: Likewise.
115 * ld-sh/sh64/reldl32.rd: Likewise.
116 * ld-sh/sh64/reldl64.rd: Likewise.
118 2014-12-03 H.J. Lu <hongjiu.lu@intel.com>
120 * ld-x86-64/copyreloc-main.c: Removed.
121 * ld-x86-64/copyreloc-main.S: New.
122 * ld-x86-64/x86-64.exp: Replace copyreloc-main.c with
125 2014-12-02 H.J. Lu <hongjiu.lu@intel.com>
127 * ld-x86-64/copyreloc-lib.c: New file.
128 * ld-x86-64/copyreloc-main.c: Likewise.
129 * ld-x86-64/copyreloc-main.out: Likewise.
130 * ld-x86-64/copyreloc-main1.rd: Likewise.
131 * ld-x86-64/copyreloc-main2.rd: Likewise.
133 * ld-x86-64/x86-64.exp: Run copyreloc tests.
135 2014-12-02 Andrew Bennett <andrew.bennett@imgtec.com>
137 * ld-mips-elf/mips-elf.exp: Add undefined weak overflow
138 tests for o32, n32 and n64.
139 * ld-mips-elf/undefweak-overflow.s: New test.
140 * ld-mips-elf/undefweak-overflow.d: New test.
141 * ld-mips-elf/undefweak-overflow-n32.d: New test.
142 * ld-mips-elf/undefweak-overflow-n64.d: New test.
144 2014-12-01 H.J. Lu <hongjiu.lu@intel.com>
148 * ld-elf/pr16452.map: New file.
149 * ld-elf/pr16452.od: Likewise.
150 * ld-elf/pr16452a.c: Likewise.
151 * ld-elf/pr16452b.c: Likewise.
152 * ld-elf/pr16457.od: Likewise.
154 * ld-elf/shared.exp (build_tests): Add tests for PR ld/16452 and
157 2014-11-27 H.J. Lu <hongjiu.lu@intel.com>
159 * ld-mips-elf/got-vers-1.rd: Add symbol version string to
160 versioned symbol names in dynamic relocation.
161 * ld-mips-elf/reloc-estimate-1.d: Likewise.
162 * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
163 * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
164 * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
165 * ld-mips-elf/tlslib-o32-ver.got: Likewise.
167 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
169 * ld-alpha/tlsbin.dd: Updated for secureplt.
170 * ld-alpha/tlsbin.rd: Likewise.
171 * ld-alpha/tlsbin.sd: Likewise.
172 * ld-alpha/tlsbinr.dd: Likewise.
173 * ld-alpha/tlsbinr.rd: Likewise.
174 * ld-alpha/tlspic.dd: Likewise.
175 * ld-alpha/tlspic.rd: Likewise.
176 * ld-alpha/tlspic.sd: Likewise.
178 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
181 * ld-cris/weakref3.d: Add symbol version string to versioned
182 symbol names in dynamic relocation.
183 * ld-cris/weakref4.d: Likewise.
184 * ld-elfvers/vers24.rd: Likewise.
186 * ld-elf/pr16496a.c: New file.
187 * ld-elf/pr16496a.map: Likewise.
188 * ld-elf/pr16496b.c: Likewise.
189 * ld-elf/pr16496b.od: Likewise.
191 * ld-elf/shared.exp (build_tests): Add libpr16496a.so and
192 libpr16496b.so tests.
194 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
196 * ld-i386/i386.exp: Add run-time relocation tests for plt-main.
197 * ld-i386/plt-main.rd: New file.
198 * ld-x86-64/plt-main-bnd.dd: Likewise.
199 * ld-x86-64/plt-main.rd: Likewise.
200 * ld-x86-64/x86-64.exp: Add run-time relocation tests for
203 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
205 * ld-i386/plt-lib.c: New file.
206 * ld-i386/plt-main.out: Likewise.
207 * ld-i386/plt-main1.c: Likewise.
208 * ld-i386/plt-main1.rd: Likewise.
209 * ld-i386/plt-main2.c: Likewise.
210 * ld-i386/plt-main2.rd: Likewise.
211 * ld-i386/plt-main3.c: Likewise.
212 * ld-i386/plt-main3.rd: Likewise.
213 * ld-i386/plt-main4.c: Likewise.
214 * ld-i386/plt-main4.rd: Likewise.
215 * ld-i386/plt-main5.c: Likewise.
217 * ld-i386/i386.exp: Run plt-main tests.
219 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
221 * ld-x86-64/x86-64.exp: Run plt-main test with -pie.
223 2014-11-21 Terry Guo <terry.guo@arm.com>
225 * ld-arm/tls-longplt-lib.s: Require ARMv6T2.
226 * ld-arm/tls-longplt.s: Likewise.
227 * ld-arm/tls-longplt-lib.d: Updated.
228 * ld-arm/tls-longplt.d: Likewise.
230 2014-11-21 Terry Guo <terry.guo@arm.com>
232 * ld-arm/attr-merge-vfp-4-sp.s: New test source file.
233 * ld-arm/attr-merge-vfp-5-sp.s: Likewise.
234 * ld-arm/attr-merge-vfp-5.s: Likewise.
235 * ld-arm/attr-merge-vfp-8.d: New test.
236 * ld-arm/attr-merge-vfp-8r.d: Likewise.
237 * ld-arm/attr-merge-vfp-9.d: Likewise.
238 * ld-arm/attr-merge-vfp-9r.d: Likewise.
239 * ld-arm/attr-merge-vfp-10.d: Likewise.
240 * ld-arm/attr-merge-vfp-10r.d: Likewise.
241 * ld-arm/attr-merge-vfp-11.d: Likewise.
242 * ld-arm/attr-merge-vfp-11r.d: Likewise.
243 * ld-arm/attr-merge-vfp-12.d: Likewise.
244 * ld-arm/attr-merge-vfp-12r.d: Likewise.
245 * ld-arm/attr-merge-vfp-13.d: Likewise.
246 * ld-arm/attr-merge-vfp-13r.d: Likewise.
247 * ld-arm/attr-merge-vfp-14.d: Likewise.
248 * ld-arm/attr-merge-vfp-14r.d: Likewise.
249 * ld-arm/arm-elf.exp: Run the new tests.
251 2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
253 * ld-x86-64/pr17618.d: Don't run on x32.
255 2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
257 * ld-x86-64/plt-main1.rd: Updated for x32.
258 * ld-x86-64/plt-main2.rd: Likewise.
259 * ld-x86-64/plt-main3.rd: Likewise.
260 * ld-x86-64/plt-main4.rd: Likewise.
262 2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
264 * ld-x86-64/plt-lib.c: New file.
265 * ld-x86-64/plt-main.out: Likewise.
266 * ld-x86-64/plt-main1.c: Likewise.
267 * ld-x86-64/plt-main1.rd: Likewise.
268 * ld-x86-64/plt-main2.c: Likewise.
269 * ld-x86-64/plt-main2.rd: Likewise.
270 * ld-x86-64/plt-main3.c: Likewise.
271 * ld-x86-64/plt-main3.rd: Likewise.
272 * ld-x86-64/plt-main4.c: Likewise.
273 * ld-x86-64/plt-main4.rd: Likewise.
274 * ld-x86-64/plt-main5.c: Likewise.
276 * ld-x86-64/x86-64.exp: Run plt-main tests.
278 2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
280 * ld-ifunc/ifunc-main.c (get_bar): New function.
283 2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
285 * ld-ifunc/ifunc.exp: Run ifunc-main.
286 * ld-ifunc/ifunc-lib.c: New file.
287 * ld-ifunc/ifunc-main.c: Likewise.
288 * ld-ifunc/ifunc-main.out: Likewise.
290 2014-11-20 H.J. Lu <hongjiu.lu@intel.com>
292 * lib/ld-lib.exp (check_ifunc_available): New.
293 * ld-ifunc/ifunc.exp: Run IFUNC run-time tests only if IFUNC
296 2014-11-20 Terry Guo <terry.guo@arm.com>
298 * ld-arm/attr-merge-nosection-1.d: New file.
299 * ld-arm/attr-merge-nosection-1a.s: Likewise.
300 * ld-arm/attr-merge-nosection-1b.s: Likewise.
301 * ld-arm/arm-elf.exp: Include the new test.
303 2014-11-18 H.J. Lu <hongjiu.lu@intel.com>
306 * ld-x86-64/x86-64.exp: Run pr17618 for Linux target.
308 * ld-x86-64/pr17618.d: New file.
309 * ld-x86-64/pr17618.s: Likewise.
311 2014-11-18 H.J. Lu <hongjiu.lu@intel.com>
313 * ld-x86-64/mpx.exp: Always run mpx3 and mpx4 tests in 64-bit.
315 2014-11-18 Igor Zamyatin <igor.zamyatin@intel.com>
317 * ld-x86-64/bnd-ifunc-1.d: Add bndplt option.
318 * ld-x86-64/bnd-ifunc-2.d: Likewise.
319 * ld-x86-64/bnd-plt-1.d: Likewise. Update dissassembly sections.
320 * ld-x86-64/mpx.exp: Handle mpx3 and mpx4 tests.
321 * ld-x86-64/mpx1a.rd: Remove _BND from relocation name.
322 * ld-x86-64/mpx1c.rd: Likewise.
323 * ld-x86-64/mpx2a.rd: Likewise.
324 * ld-x86-64/mpx2c.rd: Likewise.
325 * ld-x86-64/mpx3.dd: New file.
326 * ld-x86-64/mpx3a.s: Likewise.
327 * ld-x86-64/mpx3b.s: Likewise.
328 * ld-x86-64/mpx4.dd: Likewise.
329 * ld-x86-64/mpx4a.s: Likewise.
330 * ld-x86-64/mpx4b.s: Likewise.
332 2014-11-13 H.J. Lu <hongjiu.lu@intel.com>
335 * ld-x86-64/x86-64.exp: Run gotplt1.
337 * ld-x86-64/gotplt1.d: New file.
338 * ld-x86-64/gotplt1.s: Likewise.
340 2014-11-11 Jiong Wang <jiong.wang@arm.com>
342 * lib/ld-lib.exp (run_ld_link_exec_tests): Append board_cflags if gcc
343 driver used as link tool.
344 (run_cc_link_exec_tests): Likewise.
346 2014-11-07 H.J. Lu <hongjiu.lu@intel.com>
349 * ld-x86-64/tlsie4.dd: Updated.
351 2014-11-05 Matthew Fortune <matthew.fortune@imgtec.com>
353 * ld-mips-elf/abiflags-strip10-ph.d: New file.
354 * ld-mips-elf/mips-eld.exp: Run the new test.
356 2014-10-30 Will Newton <will.newton@linaro.org>
358 * ld-unique/unique.exp: Use a wider glob for matching ARM
360 * ld-unique/unique.s: Use % instead of @ in .type directive.
361 * ld-unique/unique_shared.s: Likewise.
363 2014-10-24 Tejas Belagod <tejas.belagod@arm.com>
365 * ld-aarch64/aarch64-elf.exp (aarch64elftests): Drive erratum
367 * ld-aarch64/erratum835769.d: New.
368 * ld-aarch64/erratum835769.s: New.
370 2014-10-17 Hans-Peter Nilsson <hp@axis.com>
372 * ld-scripts/sysroot-prefix.exp: Log $ld_sysroot. Handle sysroot
373 == "/" as a separate sysroot-configuration with separable
375 (sysroot_prefix_tests): Include all existing sysroot tests in
376 sysroot == "/" tests except exclude those where a --sysroot option
378 * lib/ld-lib.exp (check_sysroot_available): Rewrite to use
379 --print-sysroot instead of relying on error code from using
380 --sysroot=... Also, set $ld_sysroot.
382 2014-10-15 Hans-Peter Nilsson <hp@axis.com>
384 * ld-scripts/sysroot-prefix.exp, ld-scripts/sysroot-prefix-x.s,
385 ld-scripts/sysroot-prefix-y.s: New files.
386 * lib/ld-lib.exp (check_sysroot_available): New proc.
388 2014-10-04 Alan Modra <amodra@gmail.com>
390 * ld-elf/eh1.s: Don't create FDEs with zero address ranges.
391 * ld-elf/eh3.s: Likewise.
392 * ld-elf/eh1.d, * ld-elf/eh2.d, * ld-elf/eh3.d: Adjust.
393 * ld-mips-elf/eh-frame1-n32.d: Warning match update.
394 * ld-mips-elf/eh-frame1-n64.d: Likewise.
395 * ld-mips-elf/eh-frame2-n32.d: Likewise.
396 * ld-mips-elf/eh-frame2-n64.d: Likewise.
398 2014-09-22 Alan Modra <amodra@gmail.com>
400 * ld-plugin/lto.exp: Use both --print-file-name and --print-prog-name
401 when looking for lto plugin.
403 2014-09-16 Terry Guo <terry.guo@arm.com>
405 * ld-arm/attr-merge-arch-2.d: New test case.
406 * ld-arm/attr-merge-arch-2a.s: New test case source file.
407 * ld-arm/attr-merge-arch-2b.s: Likewise.
408 * ld-arm/arm-elf.exp: Run new test case.
410 2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
412 * ld-mips-elf/mips-elf.exp: Add support for mips*-img-elf* target
415 2014-09-10 Alan Modra <amodra@gmail.com>
417 * ld-aarch64/emit-relocs-local-addend.d: Adjust for changed
418 section header placement.
419 * ld-aarch64/local-addend-r.d: Likewise.
420 * ld-mmix/bspec1.d: Likewise.
421 * ld-mmix/bspec2.d: Likewise.
422 * ld-mmix/local1.d: Likewise.
423 * ld-mmix/local3.d: Likewise.
424 * ld-mmix/local5.d: Likewise.
425 * ld-mmix/local7.d: Likewise.
426 * ld-mmix/undef-3.d: Likewise.
427 * ld-sh/sh64/crange3-cmpct.rd: Likewise.
428 * ld-sh/sh64/crange3-media.rd: Likewise.
429 * ld-sh/sh64/crangerel1.rd: Likewise.
430 * ld-sh/sh64/crangerel2.rd: Likewise.
431 * ld-tic6x/common.d: Likewise.
432 * ld-tic6x/shlib-1.rd: Likewise.
433 * ld-tic6x/shlib-1b.rd: Likewise.
434 * ld-tic6x/shlib-1r.rd: Likewise.
435 * ld-tic6x/shlib-1rb.rd: Likewise.
436 * ld-tic6x/shlib-app-1.rd: Likewise.
437 * ld-tic6x/shlib-app-1b.rd: Likewise.
438 * ld-tic6x/shlib-app-1r.rd: Likewise.
439 * ld-tic6x/shlib-app-1rb.rd: Likewise.
440 * ld-tic6x/shlib-noindex.rd: Likewise.
441 * ld-tic6x/static-app-1.rd: Likewise.
442 * ld-tic6x/static-app-1b.rd: Likewise.
443 * ld-tic6x/static-app-1r.rd: Likewise.
444 * ld-tic6x/static-app-1rb.rd: Likewise.
445 * ld-x86-64/ilp32-4.d: Likewise.
446 * ld-x86-64/split-by-file-nacl.rd: Likewise.
447 * ld-x86-64/split-by-file.rd: Likewise.
449 2014-09-06 Matthew Fortune <matthew.fortune@imgtec.com>
451 * ld-mips-elf/abiflags-strip1-ph.d: Ignore big/little endian
452 differences. Ignore program headers other than PT_MIPS_ABIFLAGS.
453 Do not force -32, -EB and ld emulation but instead rely on the
454 test driver to build for some form of O32.
455 * ld-mips-elf/abiflags-strip2-ph.d: Likewise.
456 * ld-mips-elf/abiflags-strip3-ph.d: Likewise.
457 * ld-mips-elf/abiflags-strip4-ph.d: Likewise.
458 * ld-mips-elf/abiflags-strip5-ph.d: Likewise.
459 * ld-mips-elf/abiflags-strip6-ph.d: Likewise.
460 * ld-mips-elf/abiflags-strip7-ph.d: Likewise.
461 * ld-mips-elf/abiflags-strip8-ph.d: Likewise.
462 * ld-mips-elf/abiflags-strip9-ph.d: Likewise.
463 * ld-mips-elf/attr-gnu-4-0-ph.d: Likewise.
464 * ld-mips-elf/attr-gnu-4-05.d: Likewise.
465 * ld-mips-elf/attr-gnu-4-06.d: Likewise.
466 * ld-mips-elf/attr-gnu-4-07.d: Likewise.
467 * ld-mips-elf/attr-gnu-4-1-ph.d: Likewise.
468 * ld-mips-elf/attr-gnu-4-10.d: Likewise.
469 * ld-mips-elf/attr-gnu-4-15.d: Likewise.
470 * ld-mips-elf/attr-gnu-4-16.d: Likewise.
471 * ld-mips-elf/attr-gnu-4-17.d: Likewise.
472 * ld-mips-elf/attr-gnu-4-2-ph.d: Likewise.
473 * ld-mips-elf/attr-gnu-4-25.d: Likewise.
474 * ld-mips-elf/attr-gnu-4-26.d: Likewise.
475 * ld-mips-elf/attr-gnu-4-27.d: Likewise.
476 * ld-mips-elf/attr-gnu-4-3-ph.d: Likewise.
477 * ld-mips-elf/attr-gnu-4-35.d: Likewise.
478 * ld-mips-elf/attr-gnu-4-36.d: Likewise.
479 * ld-mips-elf/attr-gnu-4-37.d: Likewise.
480 * ld-mips-elf/attr-gnu-4-4-ph.d: Likewise.
481 * ld-mips-elf/attr-gnu-4-45.d: Likewise.
482 * ld-mips-elf/attr-gnu-4-46.d: Likewise.
483 * ld-mips-elf/attr-gnu-4-47.d: Likewise.
484 * ld-mips-elf/attr-gnu-4-5-ph.d: Likewise.
485 * ld-mips-elf/attr-gnu-4-50.d: Likewise.
486 * ld-mips-elf/attr-gnu-4-51.d: Likewise.
487 * ld-mips-elf/attr-gnu-4-52.d: Likewise.
488 * ld-mips-elf/attr-gnu-4-53.d: Likewise.
489 * ld-mips-elf/attr-gnu-4-54.d: Likewise.
490 * ld-mips-elf/attr-gnu-4-55.d: Likewise.
491 * ld-mips-elf/attr-gnu-4-56.d: Likewise.
492 * ld-mips-elf/attr-gnu-4-57.d: Likewise.
493 * ld-mips-elf/attr-gnu-4-58.d: Likewise.
494 * ld-mips-elf/attr-gnu-4-6-ph.d: Likewise.
495 * ld-mips-elf/attr-gnu-4-60.d: Likewise.
496 * ld-mips-elf/attr-gnu-4-61.d: Likewise.
497 * ld-mips-elf/attr-gnu-4-62.d: Likewise.
498 * ld-mips-elf/attr-gnu-4-63.d: Likewise.
499 * ld-mips-elf/attr-gnu-4-64.d: Likewise.
500 * ld-mips-elf/attr-gnu-4-65.d: Likewise.
501 * ld-mips-elf/attr-gnu-4-66.d: Likewise.
502 * ld-mips-elf/attr-gnu-4-67.d: Likewise.
503 * ld-mips-elf/attr-gnu-4-68.d: Likewise.
504 * ld-mips-elf/attr-gnu-4-7-ph.d: Likewise.
505 * ld-mips-elf/attr-gnu-4-70.d: Likewise.
506 * ld-mips-elf/attr-gnu-4-71.d: Likewise.
507 * ld-mips-elf/attr-gnu-4-72.d: Likewise.
508 * ld-mips-elf/attr-gnu-4-73.d: Likewise.
509 * ld-mips-elf/attr-gnu-4-74.d: Likewise.
510 * ld-mips-elf/attr-gnu-4-75.d: Likewise.
511 * ld-mips-elf/attr-gnu-4-76.d: Likewise.
512 * ld-mips-elf/attr-gnu-4-77.d: Likewise.
513 * ld-mips-elf/attr-gnu-4-78.d: Likewise.
514 * ld-mips-elf/mips-elf.exp: Update default abi_asflags(o32) to explicitly
515 pass -32 for the 'no abi' configurations. Modify the way attr-gnu* tests
516 are run to use O32 flags appropriate for the current target.
518 2014-08-29 Alan Modra <amodra@gmail.com>
520 * lib/ld-lib.exp (ld_simple_link_defsyms): Provide both __main
521 and ___main for windows targets.
523 2014-08-27 H.J. Lu <hongjiu.lu@intel.com>
526 * ld-i386/i386.exp (i386tests): Add tests for PR ld/17306.
527 * ld-x86-64/x86-64.exp (x86_64tests): Likewise.
529 * ld-i386/pr17306a.s: New file.
530 * ld-i386/pr17306b.s: Likewise.
531 * ld-x86-64/pr17306a.s: Likewise.
532 * ld-x86-64/pr17306b.s: Likewise.
534 2014-08-27 H.J. Lu <hongjiu.lu@intel.com>
537 * ld-i386/i386.exp (i386tests): Add tests for PR ld/17313.
538 * ld-x86-64/x86-64.exp (x86_64tests): Likewise.
540 2014-08-26 Jiong Wang <jiong.wang@arm.com>
542 * ld-aarch64/copy-relocs-so.s: New test file.
543 * ld-aarch64/copy-relocs-exe.s: Likewise.
544 * ld-aarch64/copy-relocs.d: New expectation file.
545 * ld-aarch64/emit-relocs-264-bad.d: New test file.
546 * ld-aarch64/emit-relocs-266-bad.d: Likewise.
547 * ld-aarch64/emit-relocs-268-bad.d: Likewise.
548 * ld-aarch64/emit-relocs-269-bad.d: Likewise.
549 * ld-aarch64/aarch64-elf.exp: Run new added test.
551 2014-08-26 Nick Clifton <nickc@redhat.com>
553 * ld-aarch64/eh-frame-foo.s: Use 8-byte offset for X30.
554 * ld-aarch64/eh-frame-bar.s: Likewise.
555 * ld-aarch64/eh-frame.d: Updated to match current readelf output.
556 * ld-elf/eh5.d: Allow any register names.
558 2014-08-22 Maciej W. Rozycki <macro@codesourcery.com>
560 * ld-powerpc/apuinfo-vle.rd: New test.
561 * ld-powerpc/apuinfo-vle.s: New test source.
562 * ld-powerpc/apuinfo.rd: Adjust according to GAS PPC_APUINFO_VLE
564 * ld-powerpc/powerpc.exp: Run the new test.
566 2014-08-21 Tony Wang <tony.wang@arm.com>
568 * ld-arm/jump-reloc-veneers-cond.s: New test.
569 * ld-arm/farcall-cond-thumb-arm.s: Ditto.
570 * ld-arm/jump-reloc-veneers-cond-short.d: Expected output
571 for target without a veneer generation.
572 * ld-arm/jump-reloc-veneers-cond-long.d: Expected output
573 for target with a veneer generation.
574 * ld-arm/farcall-cond-thumb-arm.d: Expected output for
575 inter working veneer generation.
576 * ld-arm/arm-elf.exp: Add tests for conditional branch veneer.
578 2014-08-20 Roland McGrath <mcgrathr@google.com>
581 * ld-arm/pcrel-shared.s: New file.
582 * ld-arm/pcrel-shared.rd: New file.
583 * ld-arm/arm-elf.exp (armelftests_common): Add it.
585 2014-08-18 Alan Modra <amodra@gmail.com>
587 * ld-plugin/lto.exp: Use gcc -print-file-name to find lto plugin.
589 2014-08-18 Alan Modra <amodra@gmail.com>
591 * ld-plugin/needed3.c: New file.
592 * ld-elf/shared.exp: Add needed3 test.
594 2014-08-12 Alan Modra <amodra@gmail.com>
596 * lib/ld-lib.exp (check_plugin_api_available): Match "-plugin PLUGIN".
598 2014-08-07 H.J. Lu <hongjiu.lu@intel.com>
601 * ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
602 * ld-plugin/pr16746a.c: New file.
603 * ld-plugin/pr16746b.c: Likewise.
604 * ld-plugin/pr16746c.c: Likewise.
605 * ld-plugin/pr16746d.c: Likewise.
607 2014-08-06 Alan Modra <amodra@gmail.com>
609 * lib/ld-lib.exp (check_lto_fat_available): New.
610 (check_lto_available): Remove -ffat-lto-objects test.
611 * ld-plugin/lto.exp: Use [list ] rather than { } to set up list
612 variables, allowing substition of vars. Set lto_fat and plug_opt
613 and add to various tests.
615 2014-08-01 Takashi Yoshii <yoshii.takashi@renesas.com>
618 * ld-sh/sh1.s: Add jmp relaxing test.
619 * ld-sh/sh.exp: Likewise.
621 2014-08-01 Takashi Yoshii <yoshii.takashi@renesas.com>
624 * ld-sh/adjsw8.s: New.
625 * ld-sh/sh.exp: Add switch8 adjustment test.
627 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
629 * ld-mips-elf/abiflags-strip1-ph.d: New.
630 * ld-mips-elf/abiflags-strip2-ph.d: Likewise.
631 * ld-mips-elf/abiflags-strip3-ph.d: Likewise.
632 * ld-mips-elf/abiflags-strip4-ph.d: Likewise.
633 * ld-mips-elf/abiflags-strip5-ph.d: Likewise.
634 * ld-mips-elf/abiflags-strip6-ph.d: Likewise.
635 * ld-mips-elf/abiflags-strip7-ph.d: Likewise.
636 * ld-mips-elf/abiflags-strip8-ph.d: Likewise.
637 * ld-mips-elf/abiflags-strip9-ph.d: Likewise.
638 * ld-mips-elf/attr-gnu-4-0-n32-ph.d: Likewise.
639 * ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
640 * ld-mips-elf/attr-gnu-4-0-ph.d: Likewise.
641 * ld-mips-elf/attr-gnu-4-06.d: Likewise.
642 * ld-mips-elf/attr-gnu-4-07.d: Likewise.
643 * ld-mips-elf/attr-gnu-4-08.d: Likewise.
644 * ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
645 * ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
646 * ld-mips-elf/attr-gnu-4-1-ph.d: Likewise.
647 * ld-mips-elf/attr-gnu-4-16.d: Likewise.
648 * ld-mips-elf/attr-gnu-4-17.d: Likewise.
649 * ld-mips-elf/attr-gnu-4-18.d: Likewise.
650 * ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
651 * ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
652 * ld-mips-elf/attr-gnu-4-2-ph.d: Likewise.
653 * ld-mips-elf/attr-gnu-4-26.d: Likewise.
654 * ld-mips-elf/attr-gnu-4-27.d: Likewise.
655 * ld-mips-elf/attr-gnu-4-28.d: Likewise.
656 * ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
657 * ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
658 * ld-mips-elf/attr-gnu-4-3-ph.d: Likewise.
659 * ld-mips-elf/attr-gnu-4-36.d: Likewise.
660 * ld-mips-elf/attr-gnu-4-37.d: Likewise.
661 * ld-mips-elf/attr-gnu-4-38.d: Likewise.
662 * ld-mips-elf/attr-gnu-4-4-ph.d: Likewise.
663 * ld-mips-elf/attr-gnu-4-46.d: Likewise.
664 * ld-mips-elf/attr-gnu-4-47.d: Likewise.
665 * ld-mips-elf/attr-gnu-4-48.d: Likewise.
666 * ld-mips-elf/attr-gnu-4-5-ph.d: Likewise.
667 * ld-mips-elf/attr-gnu-4-50.d: Likewise.
668 * ld-mips-elf/attr-gnu-4-52.d: Likewise.
669 * ld-mips-elf/attr-gnu-4-53.d: Likewise.
670 * ld-mips-elf/attr-gnu-4-54.d: Likewise.
671 * ld-mips-elf/attr-gnu-4-55.d: Likewise.
672 * ld-mips-elf/attr-gnu-4-56.d: Likewise.
673 * ld-mips-elf/attr-gnu-4-57.d: Likewise.
674 * ld-mips-elf/attr-gnu-4-58.d: Likewise.
675 * ld-mips-elf/attr-gnu-4-6-ph.d: Likewise.
676 * ld-mips-elf/attr-gnu-4-6.s: Likewise.
677 * ld-mips-elf/attr-gnu-4-60.d: Likewise.
678 * ld-mips-elf/attr-gnu-4-61.d: Likewise.
679 * ld-mips-elf/attr-gnu-4-62.d: Likewise.
680 * ld-mips-elf/attr-gnu-4-63.d: Likewise.
681 * ld-mips-elf/attr-gnu-4-64.d: Likewise.
682 * ld-mips-elf/attr-gnu-4-65.d: Likewise.
683 * ld-mips-elf/attr-gnu-4-66.d: Likewise.
684 * ld-mips-elf/attr-gnu-4-67.d: Likewise.
685 * ld-mips-elf/attr-gnu-4-68.d: Likewise.
686 * ld-mips-elf/attr-gnu-4-7-ph.d: Likewise.
687 * ld-mips-elf/attr-gnu-4-7.s: Likewise.
688 * ld-mips-elf/attr-gnu-4-70.d: Likewise.
689 * ld-mips-elf/attr-gnu-4-71.d: Likewise.
690 * ld-mips-elf/attr-gnu-4-72.d: Likewise.
691 * ld-mips-elf/attr-gnu-4-73.d: Likewise.
692 * ld-mips-elf/attr-gnu-4-74.d: Likewise.
693 * ld-mips-elf/attr-gnu-4-75.d: Likewise.
694 * ld-mips-elf/attr-gnu-4-76.d: Likewise.
695 * ld-mips-elf/attr-gnu-4-77.d: Likewise.
696 * ld-mips-elf/attr-gnu-4-78.d: Likewise.
697 * ld-mips-elf/attr-gnu-4-8.s: Likewise.
698 * ld-mips-elf/attr-gnu-4-81.d: Likewise.
699 * ld-mips-elf/empty.s: Likewise.
700 * ld-mips-elf/attr-gnu-4-00.d: Adjust expected output.
701 * ld-mips-elf/attr-gnu-4-01.d: Likewise.
702 * ld-mips-elf/attr-gnu-4-02.d: Likewise.
703 * ld-mips-elf/attr-gnu-4-03.d: Likewise.
704 * ld-mips-elf/attr-gnu-4-04.d: Likewise.
705 * ld-mips-elf/attr-gnu-4-05.d: Likewise.
706 * ld-mips-elf/attr-gnu-4-10.d: Likewise.
707 * ld-mips-elf/attr-gnu-4-11.d: Likewise.
708 * ld-mips-elf/attr-gnu-4-14.d: Likewise.
709 * ld-mips-elf/attr-gnu-4-15.d: Likewise.
710 * ld-mips-elf/attr-gnu-4-2.s: Likewise.
711 * ld-mips-elf/attr-gnu-4-20.d: Likewise.
712 * ld-mips-elf/attr-gnu-4-22.d: Likewise.
713 * ld-mips-elf/attr-gnu-4-24.d: Likewise.
714 * ld-mips-elf/attr-gnu-4-25.d: Likewise.
715 * ld-mips-elf/attr-gnu-4-3.s: Likewise.
716 * ld-mips-elf/attr-gnu-4-30.d: Likewise.
717 * ld-mips-elf/attr-gnu-4-33.d: Likewise.
718 * ld-mips-elf/attr-gnu-4-34.d: Likewise.
719 * ld-mips-elf/attr-gnu-4-35.d: Likewise.
720 * ld-mips-elf/attr-gnu-4-40.d: Likewise.
721 * ld-mips-elf/attr-gnu-4-41.d: Likewise.
722 * ld-mips-elf/attr-gnu-4-42.d: Likewise.
723 * ld-mips-elf/attr-gnu-4-43.d: Likewise.
724 * ld-mips-elf/attr-gnu-4-44.d: Likewise.
725 * ld-mips-elf/attr-gnu-4-45.d: Likewise.
726 * ld-mips-elf/attr-gnu-4-5.s: Likewise.
727 * ld-mips-elf/attr-gnu-4-51.d: Likewise.
728 * ld-mips-elf/attr-gnu-8-00.d: Likewise.
729 * ld-mips-elf/attr-gnu-8-01.d: Likewise.
730 * ld-mips-elf/attr-gnu-8-02.d: Likewise.
731 * ld-mips-elf/attr-gnu-8-10.d: Likewise.
732 * ld-mips-elf/attr-gnu-8-11.d: Likewise.
733 * ld-mips-elf/attr-gnu-8-20.d: Likewise.
734 * ld-mips-elf/attr-gnu-8-22.d: Likewise.
735 * ld-mips-elf/jalx-2.dd: Likewise.
736 * ld-mips-elf/mips16-pic-1.gd: Likewise.
737 * ld-mips-elf/mips16-pic-2.gd: Likewise.
738 * ld-mips-elf/mips16-pic-3.gd: Likewise.
739 * ld-mips-elf/mips16-pic-4a.gd: Likewise.
740 * ld-mips-elf/multi-got-no-shared.d: Likewise.
741 * ld-mips-elf/nan-2008.d: Likewise.
742 * ld-mips-elf/nan-legacy.d: Rework test.
743 * ld-mips-elf/pic-and-nonpic-3a.gd: Likewise.
744 * ld-mips-elf/pic-and-nonpic-3b.gd: Likewise.
745 * ld-mips-elf/pic-and-nonpic-5b.gd: Likewise.
746 * ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
747 * ld-mips-elf/rel32-n32.d: Likewise.
748 * ld-mips-elf/rel32-o32.d: Likewise.
749 * ld-mips-elf/rel64.d: Likewise.
750 * ld-mips-elf/tls-multi-got-1.r: Likewise.
751 * ld-elf/group.ld: Discard .MIPS.abiflags and .gnu.attributes.
752 * ld-elf/orphan-region.ld: Likewise.
753 * ld-elf/orphan.ld: Likewise.
754 * ld-mips-elf/compressed-plt-1.ld: Likewise.
755 * ld-mips-elf/dyn-sec64.ld: Likewise.
756 * ld-mips-elf/got-dump-1.ld: Likewise.
757 * ld-mips-elf/got-dump-2.ld: Likewise.
758 * ld-mips-elf/got-page-1.ld: Likewise.
759 * ld-mips-elf/mips-dyn.ld: Likewise.
760 * ld-mips-elf/mips-lib.ld: Likewise.
761 * ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
762 * ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
763 * ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
764 * ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
765 * ld-mips-elf/region1.t: Likewise.
766 * ld-mips-elf/stub-dynsym-1.ld: Likewise.
767 * ld-mips-elf/tls-hidden3.ld: Likewise.
768 * ld-mips-elf/vxworks1.ld: Likewise.
769 * ld-scripts/overlay-size.t: Likewise.
770 * ld-mips-elf/elf-rel-got-n32-embed.d: Remove .MIPS.abiflags from
772 * ld-mips-elf/elf-rel-got-n32.d: Likewise.
773 * ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
774 * ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
775 * ld-mips-elf/elf-rel-got-n64.d: Likewise.
776 * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
777 * ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
778 * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
779 * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
780 * ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
781 * ld-mips-elf/mips-elf.exp: Add new tests.
783 2014-07-16 H.J. Lu <hongjiu.lu@intel.com>
786 * ld-ifunc/pr17154-i386.d: New file.
787 * ld-ifunc/pr17154-x86-64.d: Likewise.
788 * ld-ifunc/pr17154-x86.s: Likewise.
789 * ld-x86-64/bnd-ifunc-2.d: Likewise.
790 * ld-x86-64/bnd-ifunc-2.s: Likewise.
791 * ld-x86-64/mpx.exp: Run bnd-ifunc-2.
792 * ld-x86-64/tlsdesc-nacl.pd: Updated.
793 * ld-x86-64/tlsdesc.pd: Likewise.
795 2014-07-15 H.J. Lu <hongjiu.lu@intel.com>
798 * ld-i386/i386.exp: Run pr17057.
799 * ld-i386/pr17057.d: New file.
800 * ld-i386/pr17057.s: Likewise.
802 2014-07-15 Jiong Wang <jiong.wang@arm.com>
804 * ld-aarch64/emit-relocs-local-addend.d: Use target linker script.
806 2014-07-10 Will Newton <will.newton@linaro.org>
808 * ld-arm/arm-elf.exp (armelftests_nonacl): Move Cortex-A8 fix
809 tests, IFUNC tests and other EABI requiring tests to...
810 (armeabitests_nonacl): ...here.
811 * ld-arm/arm-app-abs32.d: Loosen regex for architecture type
812 to allow test to pass on configurations without an attributes
814 * ld-arm/arm-app.d: Likewise.
815 * ld-arm/arm-lib-plt32.d: Likewise.
816 * ld-arm/arm-lib.d: Likewise.
817 * ld-arm/arm-static-app.d: Likewise.
818 * ld-arm/armthumb-lib.d: Likewise.
819 * ld-arm/cortex-a8-far.d: Likewise.
820 * ld-arm/farcall-mixed-app.d: Likewise.
821 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
822 * ld-arm/farcall-mixed-lib.d: Likewise.
823 * ld-arm/mixed-app-v5.d: Likewise.
824 * ld-arm/mixed-app.d: Likewise.
825 * ld-arm/mixed-lib.d: Likewise.
826 * ld-arm/tls-app.d: Likewise.
827 * ld-arm/tls-descrelax-be32.d: Likewise.
828 * ld-arm/tls-descrelax.d: Likewise.
829 * ld-arm/tls-descseq.d: Likewise.
830 * ld-arm/tls-gdesc-got.d: Likewise.
831 * ld-arm/tls-gdesc.d: Likewise.
832 * ld-arm/tls-gdierelax.d: Likewise.
833 * ld-arm/tls-gdierelax2.d: Likewise.
834 * ld-arm/tls-gdlerelax.d: Likewise.
835 * ld-arm/tls-lib-loc.d: Likewise.
836 * ld-arm/tls-lib.d: Likewise.
837 * ld-arm/tls-thumb1.d: Likewise.
839 * ld-elfvers/vers.exp: Set pic to yes for ARM targets.
841 2014-07-08 Will Newton <will.newton@linaro.org>
843 * ld-arm/arm-lib.ld: Increase MAXPAGESIZE value to
845 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Update offsets to
846 take into account increased segment alignment.
847 * ld-arm/ifunc-gdesc.r: Likewise.
848 * ld-arm/tls-lib.d: Likewise.
850 2014-07-08 Jiong Wang <jiong.wang@arm.com>
852 * ld-aarch64/emit-relocs-local-addend-bar.s: New source file.
853 * ld-aarch64/emit-relocs-local-addend-foo.s: Likewise.
854 * ld-aarch64/emit-relocs-local-addend.d: New testcase.
855 * ld-aarch64/local-addend-r.d: Likewise.
857 2014-07-08 Alan Modra <amodra@gmail.com>
859 * ld-powerpc/defsym.s, * ld-powerpc/defsym.d: New test.
860 * ld-powerpc/powerpc.exp: Run it.
862 2014-07-08 Alan Modra <amodra@gmail.com>
865 * ld-plugin/lto.exp: When building liblti-11.a, pass
866 --plugin path_to_gcc/liblto_plugin.so to ar.
868 2014-07-07 Alan Modra <amodra@gmail.com>
870 * lib/ld-lib.exp (check_lto_shared_available): Reinstate compiler
873 2014-07-07 Nick Clifton <nickc@redhat.com>
875 * lib/ld-lib.exp (check_lto_available): Check that a compiler is
876 available before testing for LTO support.
878 2014-07-07 Alan Modra <amodra@gmail.com>
880 * config/default.exp: Don't make tmpdir/gas. Put as symlink into
882 (gcc_gas_flag, gcc_ld_flag): Delete.
883 (gcc_B_opt, ld_L_opt): New globals.
884 ld-elf/shared.exp: Remove all refs to gcc_gas_flag and gcc_ld_flag.
885 ld-plugin/lto.exp: Likewise.
886 lib/ld-lib.exp (run_host_cmd): Add gcc_B_opt and ld_L_opt here.
887 (ld_simple_link): Remove -B handling now that this is done in
888 run_host_cmd. Simplify.
889 (default_ld_compile): Simplify.
890 (check_lto_available): Use run_host_cmd_yesno.
891 (check_lto_shared_available): Likewise.
893 2014-07-05 Alan Modra <amodra@gmail.com>
895 * lib/ld-lib.exp (run_ld_link_tests): Stop after assembling objects
897 (run_ld_link_exec_tests, run_cc_link_tests): Likewise. Tidy
899 * ld-plugin/lto.exp: Don't use libdummy.a trick to compile objects.
900 Instead use an empty output file.
902 2014-07-03 Alan Modra <amodra@gmail.com>
904 * ld-elf/pr17068.s: New.
905 * ld-elf/pr17068a.s: New.
906 * ld-elf/pr17068b.s: New.
907 * ld-elf/pr17068c.s: New.
908 * ld-elf/pr17068d.s: New.
909 * ld-elf/pr17068e.s: New.
910 * ld-elf/pr17068ez.s: New.
911 * ld-elf/elf.exp: Run new test.
913 2014-07-02 Alan Modra <amodra@gmail.com>
915 * ld-powerpc/ambiguousv1.d: Match symbol table too.
916 * ld-powerpc/ambiguousv2.d: Likewise.
917 * ld-powerpc/ambiguousv1b.d: New.
918 * ld-powerpc/ambiguousv2b.d: New.
919 * ld-powerpc/powerpc.exp: Run new tests.
921 2014-06-25 Kyle McMartin <kyle@redhat.com>
923 * ld-arm/tls-gdierelax2.d: Fix expected offsets.
925 2014-06-16 Will Newton <will.newton@linaro.org>
927 * ld-arm/arm-elf.exp: Add ifunc-gdesc test.
928 * ld-arm/ifunc-gdesc.r: New file.
929 * ld-arm/ifunc-gdesc.s: Likewise.
930 * ld-arm/ifunc-gdesc.ver: Likewise.
932 2014-06-09 Ryan Mansfield <rmansfield@qnx.com>
934 * config/default.exp (GASP): Remove.
936 2014-06-03 Alan Modra <amodra@gmail.com>
938 * ld-powerpc/elfv2exe.d: Update for changed plt call stubs.
940 2014-05-28 Matthew Fortune <matthew.fortune@imgtec.com>
942 * lib/ld-lib.exp: Add objcopy_objects command to run_dump_test.
943 This allows each input object to be optionally run through
944 objcopy before linking.
946 2014-05-20 Will Newton <will.newton@linaro.org>
948 * ld-shared/shared.exp: Mark non-PIC shared object tests
951 2014-05-19 Andreas Tobler <andreast@fgznet.ch>
953 * ld-elf/shared.exp: Introduce the extralibs variable to control
954 the libraries to be linked. Don't link -ldl on *-*-freebsd*.
956 * ld-bootstrap/bootstrap.exp: Do not add -ldl to the extralibs on
959 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
961 * ld-mmix/wrap1.d, ld-mmix/wrap1a.s, ld-mmix/wrap1b.s,
962 ld-mmix/wrap1c.s, ld-mmix/wrap2.d, ld-mmix/wrap3.d,
963 ld-mmix/wrap3a.s, ld-mmix/wrap3b.s, ld-mmix/wrap4.d: New
966 2014-05-09 H.J. Lu <hongjiu.lu@intel.com>
968 * ld-x86-64/tlsbin.dd: Replace data32 with data16.
969 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
970 * ld-x86-64/tlsgdesc.dd: Likewise.
971 * ld-x86-64/tlsld1.dd: Likewise.
972 * ld-x86-64/tlsld3.dd: Likewise.
973 * ld-x86-64/tlspic.dd: Likewise.
975 2014-05-02 Max Filippov <jcmvbkbc@gmail.com>
977 * ld-xtensa/diff_overflow.exp, * ld-xtensa/diff_overflow1.s,
978 * ld-xtensa/diff_overflow2.s: Add test for DIFF* relocation
979 signedness and overflow checking.
981 2014-05-01 Hans-Peter Nilsson <hp@bitrange.com>
983 * ld-mmix/sec-11.d, ld-mmix/sec-11.ld, ld-mmix/sec-10.s,
984 ld-mmix/sec-10.d, ld-mmix/b-offlocmis.s, ld-mmix/sec-12.d: New
986 * ld-mmix/b-offloc.s: Correct address in comment.
988 2014-04-23 Will Newton <will.newton@linaro.org>
990 * ld-arm/arm-no-rel-plt.ld: Remove OUTPUT_FORMAT and
992 * ld-arm/arm-rel32.d: Update regexps to allow test to
993 pass on armeb-linux-eabi configuration.
994 * ld-arm/data-only-map.d: Likewise.
995 * ld-arm/fix-arm1176-off.d: Likewise.
996 * ld-arm/fix-arm1176-on.d: Likewise.
997 * ld-arm/ifunc-1.gd: Likewise.
998 * ld-arm/ifunc-10.gd: Likewise.
999 * ld-arm/ifunc-11.gd: Likewise.
1000 * ld-arm/ifunc-12.gd: Likewise.
1001 * ld-arm/ifunc-13.gd: Likewise.
1002 * ld-arm/ifunc-14.gd: Likewise.
1003 * ld-arm/ifunc-15.gd: Likewise.
1004 * ld-arm/ifunc-16.gd: Likewise.
1005 * ld-arm/ifunc-17.gd: Likewise.
1006 * ld-arm/ifunc-2.gd: Likewise.
1007 * ld-arm/ifunc-3.gd: Likewise.
1008 * ld-arm/ifunc-4.gd: Likewise.
1009 * ld-arm/ifunc-5.gd: Likewise.
1010 * ld-arm/ifunc-6.gd: Likewise.
1011 * ld-arm/ifunc-7.gd: Likewise.
1012 * ld-arm/ifunc-8.gd: Likewise.
1013 * ld-arm/ifunc-9.gd: Likewise.
1014 * ld-arm/jump-reloc-veneers-long.d: Likewise.
1015 * ld-arm/reloc-boundaries.d: Likewise.
1017 2014-04-22 H.J. Lu <hongjiu.lu@intel.com>
1020 * ld-plugin/lto.exp (lto_link_tests): Add tests for PR ld/16846.
1021 * ld-plugin/pr16846a.c: New file.
1022 * ld-plugin/pr16846b.c: Likewise.
1023 * ld-plugin/pr16846c.c: Likewise.
1025 2014-04-22 Christian Svensson <blue@cmd.nu>
1027 * ld-discard/extern.d: Remove openrisc and or32 support. Add
1029 * ld-discard/start.d: Likewise.
1030 * ld-discard/static.d: Likewise.
1031 * ld-elf/group1.d: Likewise.
1032 * ld-elf/group3b.d: Likewise.
1033 * ld-elf/group8a.d: Likewise.
1034 * ld-elf/group8b.d: Likewise.
1035 * ld-elf/group9a.d: Likewise.
1036 * ld-elf/group9b.d: Likewise.
1037 * ld-elf/linkonce2.d: Likewise.
1038 * ld-elf/merge.d: Likewise.
1039 * ld-elf/merge2.d: Likewise.
1040 * ld-elf/orphan-region.d: Likewise.
1041 * ld-elf/orphan.d: Likewise.
1042 * ld-elf/orphan3.d: Likewise.
1043 * ld-elf/pr12851.d: Likewise.
1044 * ld-elf/pr12975.d: Likewise.
1045 * ld-elf/pr13177.d: Likewise.
1046 * ld-elf/pr13195.d: Likewise.
1047 * ld-elf/pr349.d: Likewise.
1048 * ld-elf/sec64k.exp: Likewise.
1049 * ld-elf/warn1.d: Likewise.
1050 * ld-elf/warn2.d: Likewise.
1051 * ld-elf/warn3.d: Likewise.
1052 * ld-scripts/weak.exp: Likewise.
1053 * lib/ld-lib.exp: Likewise.
1055 2014-04-17 Kwok Cheung Yeung <kcy@codesourcery.com>
1057 * ld-mips-elf/elf-rel-xgot-n32.d: Update for new GOT layout.
1058 * ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
1059 * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
1060 * ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
1061 * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
1063 2014-04-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
1065 * ld-aarch64/tls-relax-gdesc-ie.s (var): Adjust test case
1066 to include all 5 bits of LDR destination register.
1068 2014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1070 * ld-avr/norelax_diff.d: New testcase.
1071 * ld-avr/relax_diff.d: Likewise.
1072 * ld-avr/relax.s: Likewise.
1074 2014-04-05 Andreas Schwab <schwab@linux-m68k.org>
1076 * ld-plugin/lto.exp: Make "-Wp," prefix optional when filtering
1077 out _FORTIFY_SOURCE.
1078 ("Build libdummy.a 9", "PR ld/12696"): Mark as c++.
1080 2014-04-04 Alan Modra <amodra@gmail.com>
1082 * ld-scripts/fill.d, * ld-scripts/fill.t, * ld-scripts/fill_0.s,
1083 * ld-scripts/fill_1.s, * ld-scripts/fill_2.s: New test.
1084 * ld-scripts/data.exp: Run it.
1086 2014-03-31 Marcus Shawcroft <marcus.shawcroft@arm.com>
1088 * ld-aarch64/eh-frame.d: Adjust FDE pc address.
1090 2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
1093 * ld-plugin/lto.exp: Expect filename and line number for PR
1096 2014-03-27 Yury Gribov <y.gribov@samsung.com>
1097 Pavel Fedin <p.fedin@samsung.com>
1099 * ld-arm/arm-app-abs32.d: Update expected disassembly, taking into
1100 account the pretty printing of PLT entries.
1101 * ld-arm/arm-app.d: Likewise.
1102 * ld-arm/arm-lib-plt32.d: Likewise.
1103 * ld-arm/arm-lib.d: Likewise.
1104 * ld-arm/armthumb-lib.d: Likewise.
1105 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
1106 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
1107 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
1108 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
1109 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
1110 * ld-arm/farcall-mixed-app-v5.d: Likewise.
1111 * ld-arm/farcall-mixed-app.d: Likewise.
1112 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
1113 * ld-arm/farcall-mixed-lib.d: Likewise.
1114 * ld-arm/ifunc-10.dd: Likewise.
1115 * ld-arm/ifunc-14.dd: Likewise.
1116 * ld-arm/ifunc-15.dd: Likewise.
1117 * ld-arm/ifunc-3.dd: Likewise.
1118 * ld-arm/ifunc-4.dd: Likewise.
1119 * ld-arm/ifunc-7.dd: Likewise.
1120 * ld-arm/ifunc-8.dd: Likewise.
1121 * ld-arm/ifunc-9.dd: Likewise.
1122 * ld-arm/long-plt-format.d: Likewise.
1123 * ld-arm/mixed-app-v5.d: Likewise.
1124 * ld-arm/mixed-app.d: Likewise.
1125 * ld-arm/mixed-lib.d: Likewise.
1126 * ld-arm/thumb2-bl-undefweak.d: Likewise.
1127 * ld-arm/thumb2-bl-undefweak1.d: Likewise.
1129 2014-03-26 Alan Modra <amodra@gmail.com>
1131 * ld-powerpc/startv1.s, * ld-powerpc/startv2.s, * ld-powerpc/funref.s,
1132 * ld-powerpc/funv1.s, * ld-powerpc/funv2.s,
1133 * ld-powerpc/ambiguousv1.d, * ld-powerpc/ambiguousv2.d: New test files.
1134 * ld-powerpc/powerpc.exp: Run new tests.
1136 2014-03-25 Will Newton <will.newton@linaro.org>
1138 * ld-aarch64/aarch64-elf.exp: Add relasz dump test.
1139 * ld-aarch64/relasz.d: New file.
1140 * ld-aarch64/relasz.s: Likewise.
1142 2014-03-20 Richard Sandiford <rdsandiford@googlemail.com>
1144 * ld-elf/merge.d: Remove MIPS XFAIL.
1146 2014-03-20 Will Newton <will.newton@linaro.org>
1148 * ld-arm/ifunc-14.rd: Update symbol values.
1150 2014-03-19 Nick Clifton <nickc@redhat.com>
1152 * config/default.exp (ASFLAGS): For the RX target add:
1153 -muse-conventional-section-names.
1155 2014-03-15 Alan Modra <amodra@gmail.com>
1157 * ld-powerpc/vle-reloc-3.d: Remove addresses.
1159 2014-03-14 Alan Modra <amodra@gmail.com>
1161 * ld-powerpc/vle.ld: Place .PPC.EMB.sdata0 within 32k of 0.
1162 * ld-powerpc/vle-reloc-3.d: Update.
1164 2014-03-06 Roland McGrath <mcgrathr@google.com>
1166 * ld-arm/gc-hidden-1.d: Remove target, add not-target to match
1167 other ELF-only tests in this directory. Loosen regexps so they
1168 don't care what the exact addresses are.
1170 2014-03-06 Roland McGrath <mcgrathr@google.com>
1172 * ld-arm/arm-elf.exp (armelftests_common): Move long-plt case ...
1173 (armelftests_nonacl): ... here.
1175 2014-03-05 Alan Modra <amodra@gmail.com>
1177 Update copyright years.
1179 2014-03-05 Alan Modra <amodra@gmail.com>
1181 * ld-powerpc/elfv2-2a.s, ld-powerpc/elfv2-2b.s: New files.
1182 * ld-powerpc/elfv2-2exe.d, ld-powerpc/elfv2-2so.d: New files.
1183 * ld-powerpc/powerpc.exp: Run new test.
1185 2014-03-03 Alan Modra <amodra@gmail.com>
1187 * ld-scripts/phdrs2.exp: Correct copyright punctuation.
1188 * ld-v850/v850.exp: Correct copyright typo.
1190 2014-03-01 Yuri Gribov <y.gribov@samsung.com>
1192 * ld-arm/long-plt-format.d, ld-arm/arm-elf.exp: Adjust for arm-eabi.
1194 2014-02-27 Yuri Gribov <y.gribov@samsung.com>
1196 * ld-arm/long-plt-format.s: New test case.
1197 * ld-arm/long-plt-format.d: Expected disassembly.
1198 * ld-arm/arm-elf.exp: Run the new test.
1200 2014-02-27 Nick Clifton <nickc@redhat.com>
1202 * ld-pe/longsecn-1.d: Allow for extra sections.
1203 * ld-pe/longsecn-2.d: Likewise.
1204 * ld-pe/longsecn.d: Likewise.
1205 * ld-pe/secrel.d: Likewise.
1207 2014-02-21 Alan Modra <amodra@gmail.com>
1209 * ld-bootstrap/bootstrap.exp: Add ppc476 workaround test.
1210 * ld-bootstrap/ppc476.t: New file.
1212 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
1213 H.J. Lu <hongjiu.lu@intel.com>
1215 * ld-x86-64/mpx.exp: Run bnd-ifunc-1 and bnd-plt-1.
1216 * ld-x86-64/bnd-ifunc-1.d: New file.
1217 * ld-x86-64/bnd-ifunc-1.s: Likewise.
1218 * ld-x86-64/bnd-plt-1.d: Likewise.
1220 2014-02-18 Jack Carter <jack.carter@imgtec.com>
1222 * ld-mips-elf/pic-and-nonpic-3a.sd: Check DYNAMIC segment flags.
1224 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1226 * ld-elfweak/elfweak.exp (setup_xfail_gnu_hurd): Remove function
1227 and all usage of it.
1229 2014-02-10 H.J. Lu <hongjiu.lu@intel.com>
1232 * ld-elf/dynamic-1.c: New file.
1233 * ld-elf/dynamic-1.rd: Likewise.
1234 * ld-elf/dynamic-1.syms: Likewise.
1236 * ld-elf/shared.exp (build_tests): Add dynamic-1.
1238 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
1240 * ld-scripts/rgn-at9.d: New file.
1241 * ld-scripts/rgn-at9.t: Likewise.
1242 * ld-scripts/rgn-at10.d: Likewise.
1243 * ld-scripts/rgn-at10.s: Likewise.
1244 * ld-scripts/rgn-at10.t: Likewise.
1245 * ld-scripts/rgn-at11.d: Likewise.
1246 * ld-scripts/rgn-at11.t: Likewise.
1248 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
1250 * ld-nios2/relax_call26.s: New.
1251 * ld-nios2/relax_call26_boundary.ld: New.
1252 * ld-nios2/relax_call26_boundary.s: New.
1253 * ld-nios2/relax_call26_boundary_c8.d: New.
1254 * ld-nios2/relax_call26_boundary_cc.d: New.
1255 * ld-nios2/relax_call26_boundary_d0.d: New.
1256 * ld-nios2/relax_call26_boundary_d4.d: New.
1257 * ld-nios2/relax_call26_boundary_d8.d: New.
1258 * ld-nios2/relax_call26_boundary_dc.d: New.
1259 * ld-nios2/relax_call26_boundary_f0.d: New.
1260 * ld-nios2/relax_call26_boundary_f4.d: New.
1261 * ld-nios2/relax_call26_boundary_f8.d: New.
1262 * ld-nios2/relax_call26_boundary_fc.d: New.
1263 * ld-nios2/relax_call26_cache.d: New.
1264 * ld-nios2/relax_call26_cache.ld: New.
1265 * ld-nios2/relax_call26_cache.s: New.
1266 * ld-nios2/relax_call26_multi.d: New.
1267 * ld-nios2/relax_call26_multi.ld: New.
1268 * ld-nios2/relax_call26_norelax.d: New.
1269 * ld-nios2/relax_call26_shared.d: New.
1270 * ld-nios2/relax_call26_shared.ld: New.
1272 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1274 * ld-elf/rdynamic-1.c: New file.
1275 * ld-elf/rdynamic-1.rd: Likewise.
1277 * ld-elf/shared.exp (build_tests): Add rdynamic-1.
1279 2014-01-28 Nick Clifton <nickc@redhat.com>
1282 * ld-tic6x/shlib-1.rd: Expect I attribute with RELA sections.
1283 * ld-tic6x/shlib-1b.rd: Likewise.
1284 * ld-tic6x/shlib-1r.rd: Likewise.
1285 * ld-tic6x/shlib-1rb.rd: Likewise.
1286 * ld-tic6x/shlib-app-1rd: Likewise.
1287 * ld-tic6x/shlib-app-1b.rd: Likewise.
1288 * ld-tic6x/shlib-app-1r.rd: Likewise.
1289 * ld-tic6x/shlib-app-1rb.rd: Likewise.
1290 * ld-tic6x/shlib-noindex.rd: Likewise.
1291 * ld-tic6x/static-app-1.rd: Likewise.
1292 * ld-tic6x/static-app-1b.rd: Likewise.
1293 * ld-tic6x/static-app-1r.rd: Likewise.
1294 * ld-tic6x/static-app-1rb.rd: Likewise.
1296 * ld-tic6x/tic6x.exp: Expect C6000 osabi value in relocatable
1299 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
1301 * ld-elf/pr16498a.s: Replace .align with .p2align.
1303 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
1306 * ld-elf/pr16498b.d: New file.
1307 * ld-elf/pr16498b.t: Likewise.
1309 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
1312 * ld-elf/pr16498a.d: New file.
1313 * ld-elf/pr16498a.s: Likewise.
1314 * ld-elf/pr16498a.t: Likewise.
1316 2014-01-22 Alan Modra <amodra@gmail.com>
1318 * ld-scripts/pr14962-2.d: Correct target triple.
1320 2014-01-22 Alan Modra <amodra@gmail.com>
1322 * ld-shared/elf-offset.ld: Align end of .bss with canonical form
1323 of ALIGN that allows an empty .bss to be removed.
1324 * ld-arm/arm-dyn.ld: Likewise.
1325 * ld-arm/arm-lib.ld: Likewise.
1326 * ld-elfvsb/elf-offset.ld: Likewise.
1327 * ld-mips-elf/mips-dyn.ld: Likewise.
1328 * ld-mips-elf/mips-lib.ld: Likewise.
1329 * ld-arm/arm-no-rel-plt.ld: Remove duplicate ALIGN.
1330 * ld-powerpc/vle-multiseg-1.ld: Remove ALIGN at start of section.
1331 ALIGN address of section instead.
1332 * ld-powerpc/vle-multiseg-2.ld: Likewise.
1333 * ld-powerpc/vle-multiseg-3.ld: Likewise.
1334 * ld-powerpc/vle-multiseg-4.ld: Likewise.
1335 * ld-powerpc/vle-multiseg-6.ld: Likewise.
1336 * ld-scripts/empty-aligned.d: Check section headers not program
1337 headers. Remove xfail and notarget.
1338 * ld-scripts/empty-aligned.t: Use canonical ALIGN for end of .text2.
1340 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
1343 * ld-ifunc/dummy.c: New file.
1344 * ld-ifunc/pr16467.out: Likewise.
1345 * ld-ifunc/pr16467a.c: Likewise.
1346 * ld-ifunc/pr16467a.map: Likewise.
1347 * ld-ifunc/pr16467b.c: Likewise.
1348 * ld-ifunc/pr16467b.map: Likewise.
1349 * ld-ifunc/pr16467c.c: Likewise.
1351 * ld-ifunc/ifunc.exp (run_cc_link_tests): New.
1352 (run_ld_link_exec_tests): Run pr16467.
1354 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
1357 * ld-elf/shared.exp: Add a PIE test for PR ld/2404.
1359 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1362 * ld-elf/pr2404.out: New file.
1363 * ld-elf/pr2404a.c: Likewise.
1364 * ld-elf/pr2404b.c: Likewise.
1366 * ld-elf/shared.exp (build_tests): Build libpr2404a.so and
1368 (run_tests): Run pr2404.
1370 2014-01-20 Alan Modra <amodra@gmail.com>
1372 * ld-scripts/pr14962-2.d,
1373 * ld-scripts/pr14962-2.t: New test.
1374 * ld-scripts/expr.exp: Run it.
1376 2014-01-15 Alan Modra <amodra@gmail.com>
1378 * ld-elf/ehdr_start-shared.d: New.
1379 * ld-elf/ehdr_start-userdef.d: xfail frv.
1380 * ld-elf/ehdr_start-weak.d: Likewise.
1381 * ld-elf/ehdr_start.d: Likewise.
1383 2014-01-14 Vidya Praveen <vidyapraveen@arm.com>
1385 * lib/ld-lib.exp (default_ld_link): Remove support for ldflags.
1386 (default_ld_simple_link): Likewise.
1388 2014-01-10 Alan Modra <amodra@gmail.com>
1390 * ld-x86-64/pr14207.d: Adjust.
1392 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
1394 * ld-elf/binutils.exp (binutils_test): Check if GNU_RELRO segment
1397 2014-01-09 Vidya Praveen <vidyapraveen@arm.com>
1399 * lib/ld-lib.exp (check_lto_shared_available): New check.
1400 * ld-plugin/lto.exp: Use check_lto_shared_available.
1402 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
1407 * ld-elf/pr16322.d: New file.
1408 * ld-elf/pr16322.s: Likewise.
1410 * ld-x86-64/pr14207.d: Expect PT_GNU_RELRO segment.
1412 For older changes see ChangeLog-2013
1414 Copyright (C) 2014 Free Software Foundation, Inc.
1416 Copying and distribution of this file, with or without modification,
1417 are permitted in any medium without royalty provided the copyright
1418 notice and this notice are preserved.
1424 version-control: never