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