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