Add tests for PR ld/16846
[platform/upstream/binutils.git] / ld / testsuite / ChangeLog
1 2014-04-22  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR ld/16846
4         * ld-plugin/lto.exp (lto_link_tests): Add tests for PR ld/16846.
5         * ld-plugin/pr16846a.c: New file.
6         * ld-plugin/pr16846b.c: Likewise.
7         * ld-plugin/pr16846c.c: Likewise.
8
9 2014-04-22  Christian Svensson  <blue@cmd.nu>
10
11         * ld-discard/extern.d: Remove openrisc and or32 support.  Add
12         support for or1k.
13         * ld-discard/start.d: Likewise.
14         * ld-discard/static.d: Likewise.
15         * ld-elf/group1.d: Likewise.
16         * ld-elf/group3b.d: Likewise.
17         * ld-elf/group8a.d: Likewise.
18         * ld-elf/group8b.d: Likewise.
19         * ld-elf/group9a.d: Likewise.
20         * ld-elf/group9b.d: Likewise.
21         * ld-elf/linkonce2.d: Likewise.
22         * ld-elf/merge.d: Likewise.
23         * ld-elf/merge2.d: Likewise.
24         * ld-elf/orphan-region.d: Likewise.
25         * ld-elf/orphan.d: Likewise.
26         * ld-elf/orphan3.d: Likewise.
27         * ld-elf/pr12851.d: Likewise.
28         * ld-elf/pr12975.d: Likewise.
29         * ld-elf/pr13177.d: Likewise.
30         * ld-elf/pr13195.d: Likewise.
31         * ld-elf/pr349.d: Likewise.
32         * ld-elf/sec64k.exp: Likewise.
33         * ld-elf/warn1.d: Likewise.
34         * ld-elf/warn2.d: Likewise.
35         * ld-elf/warn3.d: Likewise.
36         * ld-scripts/weak.exp: Likewise.
37         * lib/ld-lib.exp: Likewise.
38
39 2014-04-17  Kwok Cheung Yeung  <kcy@codesourcery.com>
40
41         * ld-mips-elf/elf-rel-xgot-n32.d: Update for new GOT layout.
42         * ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
43         * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
44         * ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
45         * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
46
47 2014-04-15  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48
49         * ld-aarch64/tls-relax-gdesc-ie.s (var): Adjust test case
50         to include all 5 bits of LDR destination register.
51
52 2014-04-10  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
53
54         * ld-avr/norelax_diff.d: New testcase.
55         * ld-avr/relax_diff.d: Likewise.
56         * ld-avr/relax.s: Likewise.
57
58 2014-04-05  Andreas Schwab  <schwab@linux-m68k.org>
59
60         * ld-plugin/lto.exp: Make "-Wp," prefix optional when filtering
61         out _FORTIFY_SOURCE.
62         ("Build libdummy.a 9", "PR ld/12696"): Mark as c++.
63
64 2014-04-04  Alan Modra  <amodra@gmail.com>
65
66         * ld-scripts/fill.d, * ld-scripts/fill.t, * ld-scripts/fill_0.s,
67         * ld-scripts/fill_1.s, * ld-scripts/fill_2.s: New test.
68         * ld-scripts/data.exp: Run it.
69
70 2014-03-31  Marcus Shawcroft  <marcus.shawcroft@arm.com>
71
72         * ld-aarch64/eh-frame.d: Adjust FDE pc address.
73
74 2014-03-27  H.J. Lu  <hongjiu.lu@intel.com>
75
76         PR ld/16756
77         * ld-plugin/lto.exp: Expect filename and line number for PR
78         ld/12760 test.
79
80 2014-03-27  Yury Gribov  <y.gribov@samsung.com>
81             Pavel Fedin  <p.fedin@samsung.com>
82
83         * ld-arm/arm-app-abs32.d: Update expected disassembly, taking into
84         account the pretty printing of PLT entries.
85         * ld-arm/arm-app.d: Likewise.
86         * ld-arm/arm-lib-plt32.d: Likewise.
87         * ld-arm/arm-lib.d: Likewise.
88         * ld-arm/armthumb-lib.d: Likewise.
89         * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
90         * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
91         * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
92         * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
93         * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
94         * ld-arm/farcall-mixed-app-v5.d: Likewise.
95         * ld-arm/farcall-mixed-app.d: Likewise.
96         * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
97         * ld-arm/farcall-mixed-lib.d: Likewise.
98         * ld-arm/ifunc-10.dd: Likewise.
99         * ld-arm/ifunc-14.dd: Likewise.
100         * ld-arm/ifunc-15.dd: Likewise.
101         * ld-arm/ifunc-3.dd: Likewise.
102         * ld-arm/ifunc-4.dd: Likewise.
103         * ld-arm/ifunc-7.dd: Likewise.
104         * ld-arm/ifunc-8.dd: Likewise.
105         * ld-arm/ifunc-9.dd: Likewise.
106         * ld-arm/long-plt-format.d: Likewise.
107         * ld-arm/mixed-app-v5.d: Likewise.
108         * ld-arm/mixed-app.d: Likewise.
109         * ld-arm/mixed-lib.d: Likewise.
110         * ld-arm/thumb2-bl-undefweak.d: Likewise.
111         * ld-arm/thumb2-bl-undefweak1.d: Likewise.
112
113 2014-03-26  Alan Modra  <amodra@gmail.com>
114
115         * ld-powerpc/startv1.s, * ld-powerpc/startv2.s, * ld-powerpc/funref.s,
116         * ld-powerpc/funv1.s, * ld-powerpc/funv2.s,
117         * ld-powerpc/ambiguousv1.d, * ld-powerpc/ambiguousv2.d: New test files.
118         * ld-powerpc/powerpc.exp: Run new tests.
119
120 2014-03-25  Will Newton  <will.newton@linaro.org>
121
122          * ld-aarch64/aarch64-elf.exp: Add relasz dump test.
123          * ld-aarch64/relasz.d: New file.
124          * ld-aarch64/relasz.s: Likewise.
125
126 2014-03-20  Richard Sandiford  <rdsandiford@googlemail.com>
127
128         * ld-elf/merge.d: Remove MIPS XFAIL.
129
130 2014-03-20  Will Newton  <will.newton@linaro.org>
131
132         * ld-arm/ifunc-14.rd: Update symbol values.
133
134 2014-03-19  Nick Clifton  <nickc@redhat.com>
135
136         * config/default.exp (ASFLAGS): For the RX target add:
137         -muse-conventional-section-names.
138
139 2014-03-15  Alan Modra  <amodra@gmail.com>
140
141         * ld-powerpc/vle-reloc-3.d: Remove addresses.
142
143 2014-03-14  Alan Modra  <amodra@gmail.com>
144
145         * ld-powerpc/vle.ld: Place .PPC.EMB.sdata0 within 32k of 0.
146         * ld-powerpc/vle-reloc-3.d: Update.
147
148 2014-03-06  Roland McGrath  <mcgrathr@google.com>
149
150         * ld-arm/gc-hidden-1.d: Remove target, add not-target to match
151         other ELF-only tests in this directory.  Loosen regexps so they
152         don't care what the exact addresses are.
153
154 2014-03-06  Roland McGrath  <mcgrathr@google.com>
155
156         * ld-arm/arm-elf.exp (armelftests_common): Move long-plt case ...
157         (armelftests_nonacl): ... here.
158
159 2014-03-05  Alan Modra  <amodra@gmail.com>
160
161         Update copyright years.
162
163 2014-03-05  Alan Modra  <amodra@gmail.com>
164
165         * ld-powerpc/elfv2-2a.s, ld-powerpc/elfv2-2b.s: New files.
166         * ld-powerpc/elfv2-2exe.d, ld-powerpc/elfv2-2so.d: New files.
167         * ld-powerpc/powerpc.exp: Run new test.
168
169 2014-03-03  Alan Modra  <amodra@gmail.com>
170
171         * ld-scripts/phdrs2.exp: Correct copyright punctuation.
172         * ld-v850/v850.exp: Correct copyright typo.
173
174 2014-03-01  Yuri Gribov  <y.gribov@samsung.com>
175
176         * ld-arm/long-plt-format.d, ld-arm/arm-elf.exp: Adjust for arm-eabi.
177
178 2014-02-27  Yuri Gribov  <y.gribov@samsung.com>
179
180         * ld-arm/long-plt-format.s: New test case.
181         * ld-arm/long-plt-format.d: Expected disassembly.
182         * ld-arm/arm-elf.exp: Run the new test.
183
184 2014-02-27  Nick Clifton  <nickc@redhat.com>
185
186         * ld-pe/longsecn-1.d: Allow for extra sections.
187         * ld-pe/longsecn-2.d: Likewise.
188         * ld-pe/longsecn.d: Likewise.
189         * ld-pe/secrel.d: Likewise.
190
191 2014-02-21  Alan Modra  <amodra@gmail.com>
192
193         * ld-bootstrap/bootstrap.exp: Add ppc476 workaround test.
194         * ld-bootstrap/ppc476.t: New file.
195
196 2014-02-19  Igor Zamyatin  <igor.zamyatin@intel.com>
197             H.J. Lu  <hongjiu.lu@intel.com>
198
199         * ld-x86-64/mpx.exp: Run bnd-ifunc-1 and bnd-plt-1.
200         * ld-x86-64/bnd-ifunc-1.d: New file.
201         * ld-x86-64/bnd-ifunc-1.s: Likewise.
202         * ld-x86-64/bnd-plt-1.d: Likewise.
203
204 2014-02-18  Jack Carter  <jack.carter@imgtec.com>
205
206         * ld-mips-elf/pic-and-nonpic-3a.sd: Check DYNAMIC segment flags.
207
208 2014-02-16  Thomas Schwinge  <thomas@codesourcery.com>
209
210         * ld-elfweak/elfweak.exp (setup_xfail_gnu_hurd): Remove function
211         and all usage of it.
212
213 2014-02-10  H.J. Lu  <hongjiu.lu@intel.com>
214
215         PR gold/16530
216         * ld-elf/dynamic-1.c: New file.
217         * ld-elf/dynamic-1.rd: Likewise.
218         * ld-elf/dynamic-1.syms: Likewise.
219
220         * ld-elf/shared.exp (build_tests): Add dynamic-1.
221
222 2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
223
224         * ld-scripts/rgn-at9.d: New file.
225         * ld-scripts/rgn-at9.t: Likewise.
226         * ld-scripts/rgn-at10.d: Likewise.
227         * ld-scripts/rgn-at10.s: Likewise.
228         * ld-scripts/rgn-at10.t: Likewise.
229         * ld-scripts/rgn-at11.d: Likewise.
230         * ld-scripts/rgn-at11.t: Likewise.
231
232 2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
233
234         * ld-nios2/relax_call26.s: New.
235         * ld-nios2/relax_call26_boundary.ld: New.
236         * ld-nios2/relax_call26_boundary.s: New.
237         * ld-nios2/relax_call26_boundary_c8.d: New.
238         * ld-nios2/relax_call26_boundary_cc.d: New.
239         * ld-nios2/relax_call26_boundary_d0.d: New.
240         * ld-nios2/relax_call26_boundary_d4.d: New.
241         * ld-nios2/relax_call26_boundary_d8.d: New.
242         * ld-nios2/relax_call26_boundary_dc.d: New.
243         * ld-nios2/relax_call26_boundary_f0.d: New.
244         * ld-nios2/relax_call26_boundary_f4.d: New.
245         * ld-nios2/relax_call26_boundary_f8.d: New.
246         * ld-nios2/relax_call26_boundary_fc.d: New.
247         * ld-nios2/relax_call26_cache.d: New.
248         * ld-nios2/relax_call26_cache.ld: New.
249         * ld-nios2/relax_call26_cache.s: New.
250         * ld-nios2/relax_call26_multi.d: New.
251         * ld-nios2/relax_call26_multi.ld: New.
252         * ld-nios2/relax_call26_norelax.d: New.
253         * ld-nios2/relax_call26_shared.d: New.
254         * ld-nios2/relax_call26_shared.ld: New.
255
256 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
257
258         * ld-elf/rdynamic-1.c: New file.
259         * ld-elf/rdynamic-1.rd: Likewise.
260
261         * ld-elf/shared.exp (build_tests): Add rdynamic-1.
262
263 2014-01-28  Nick Clifton  <nickc@redhat.com>
264
265         PR binutils/16317
266         * ld-tic6x/shlib-1.rd: Expect I attribute with RELA sections.
267         * ld-tic6x/shlib-1b.rd: Likewise.
268         * ld-tic6x/shlib-1r.rd: Likewise.
269         * ld-tic6x/shlib-1rb.rd: Likewise.
270         * ld-tic6x/shlib-app-1rd: Likewise.
271         * ld-tic6x/shlib-app-1b.rd: Likewise.
272         * ld-tic6x/shlib-app-1r.rd: Likewise.
273         * ld-tic6x/shlib-app-1rb.rd: Likewise.
274         * ld-tic6x/shlib-noindex.rd: Likewise.
275         * ld-tic6x/static-app-1.rd: Likewise.
276         * ld-tic6x/static-app-1b.rd: Likewise.
277         * ld-tic6x/static-app-1r.rd: Likewise.
278         * ld-tic6x/static-app-1rb.rd: Likewise.
279         PR binutils/16318
280         * ld-tic6x/tic6x.exp: Expect C6000 osabi value in relocatable
281         objects.
282
283 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
284
285         * ld-elf/pr16498a.s: Replace .align with .p2align.
286
287 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
288
289         PR ld/16498
290         * ld-elf/pr16498b.d: New file.
291         * ld-elf/pr16498b.t: Likewise.
292
293 2014-01-24  H.J. Lu  <hongjiu.lu@intel.com>
294
295         PR ld/16498
296         * ld-elf/pr16498a.d: New file.
297         * ld-elf/pr16498a.s: Likewise.
298         * ld-elf/pr16498a.t: Likewise.
299
300 2014-01-22  Alan Modra  <amodra@gmail.com>
301
302         * ld-scripts/pr14962-2.d: Correct target triple.
303
304 2014-01-22  Alan Modra  <amodra@gmail.com>
305
306         * ld-shared/elf-offset.ld: Align end of .bss with canonical form
307         of ALIGN that allows an empty .bss to be removed.
308         * ld-arm/arm-dyn.ld: Likewise.
309         * ld-arm/arm-lib.ld: Likewise.
310         * ld-elfvsb/elf-offset.ld: Likewise.
311         * ld-mips-elf/mips-dyn.ld: Likewise.
312         * ld-mips-elf/mips-lib.ld: Likewise.
313         * ld-arm/arm-no-rel-plt.ld: Remove duplicate ALIGN.
314         * ld-powerpc/vle-multiseg-1.ld: Remove ALIGN at start of section.
315         ALIGN address of section instead.
316         * ld-powerpc/vle-multiseg-2.ld: Likewise.
317         * ld-powerpc/vle-multiseg-3.ld: Likewise.
318         * ld-powerpc/vle-multiseg-4.ld: Likewise.
319         * ld-powerpc/vle-multiseg-6.ld: Likewise.
320         * ld-scripts/empty-aligned.d: Check section headers not program
321         headers.  Remove xfail and notarget.
322         * ld-scripts/empty-aligned.t: Use canonical ALIGN for end of .text2.
323
324 2014-01-21  H.J. Lu  <hongjiu.lu@intel.com>
325
326         PR ld/16467
327         * ld-ifunc/dummy.c: New file.
328         * ld-ifunc/pr16467.out: Likewise.
329         * ld-ifunc/pr16467a.c: Likewise.
330         * ld-ifunc/pr16467a.map: Likewise.
331         * ld-ifunc/pr16467b.c: Likewise.
332         * ld-ifunc/pr16467b.map: Likewise.
333         * ld-ifunc/pr16467c.c: Likewise.
334
335         * ld-ifunc/ifunc.exp (run_cc_link_tests): New.
336         (run_ld_link_exec_tests): Run pr16467.
337
338 2014-01-21  H.J. Lu  <hongjiu.lu@intel.com>
339
340         PR ld/2404
341         * ld-elf/shared.exp: Add a PIE test for PR ld/2404.
342
343 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
344
345         PR ld/2404
346         * ld-elf/pr2404.out: New file.
347         * ld-elf/pr2404a.c: Likewise.
348         * ld-elf/pr2404b.c: Likewise.
349
350         * ld-elf/shared.exp (build_tests): Build libpr2404a.so and
351         libpr2404b.a.
352         (run_tests): Run pr2404.
353
354 2014-01-20  Alan Modra  <amodra@gmail.com>
355
356         * ld-scripts/pr14962-2.d,
357         * ld-scripts/pr14962-2.t: New test.
358         * ld-scripts/expr.exp: Run it.
359
360 2014-01-15  Alan Modra  <amodra@gmail.com>
361
362         * ld-elf/ehdr_start-shared.d: New.
363         * ld-elf/ehdr_start-userdef.d: xfail frv.
364         * ld-elf/ehdr_start-weak.d: Likewise.
365         * ld-elf/ehdr_start.d: Likewise.
366
367 2014-01-14  Vidya Praveen  <vidyapraveen@arm.com>
368
369         * lib/ld-lib.exp (default_ld_link): Remove support for ldflags.
370         (default_ld_simple_link): Likewise.
371
372 2014-01-10  Alan Modra  <amodra@gmail.com>
373
374         * ld-x86-64/pr14207.d: Adjust.
375
376 2014-01-09  H.J. Lu  <hongjiu.lu@intel.com>
377
378         * ld-elf/binutils.exp (binutils_test): Check if GNU_RELRO segment
379         is generated.
380
381 2014-01-09  Vidya Praveen  <vidyapraveen@arm.com>
382
383         * lib/ld-lib.exp (check_lto_shared_available): New check.
384         * ld-plugin/lto.exp: Use check_lto_shared_available.
385
386 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
387
388         PR ld/14207
389         PR ld/16322
390         PR binutils/16323
391         * ld-elf/pr16322.d: New file.
392         * ld-elf/pr16322.s: Likewise.
393
394         * ld-x86-64/pr14207.d: Expect PT_GNU_RELRO segment.
395
396 For older changes see ChangeLog-2013
397 \f
398 Copyright (C) 2014 Free Software Foundation, Inc.
399
400 Copying and distribution of this file, with or without modification,
401 are permitted in any medium without royalty provided the copyright
402 notice and this notice are preserved.
403
404 Local Variables:
405 mode: change-log
406 left-margin: 8
407 fill-column: 74
408 version-control: never
409 End: