2016-06-06 Christian Groessler <chris@groessler.org>
[external/binutils.git] / ld / ChangeLog
1 2016-06-04  Christian Groessler  <chris@groessler.org>
2
3         * testsuite/ld-z8k/0filler.s: New file.
4         * testsuite/ld-z8k/branch-target.s: New file.
5         * testsuite/ld-z8k/branch-target2.s: New file.
6         * testsuite/ld-z8k/calr-back-8001.d: New file.
7         * testsuite/ld-z8k/calr-back-8002.d: New file.
8         * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
9         * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
10         * testsuite/ld-z8k/calr-forw-8001.d: New file.
11         * testsuite/ld-z8k/calr-forw-8002.d: New file.
12         * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
13         * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
14         * testsuite/ld-z8k/calr-opcode.s: New file.
15         * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
16         * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
17         * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
18         * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
19         * testsuite/ld-z8k/dbjnz-opcode.s: New file.
20         * testsuite/ld-z8k/djnz-back-8001.d: New file.
21         * testsuite/ld-z8k/djnz-back-8002.d: New file.
22         * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
23         * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
24         * testsuite/ld-z8k/djnz-forw-8001.d: New file.
25         * testsuite/ld-z8k/djnz-forw-8002.d: New file.
26         * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
27         * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
28         * testsuite/ld-z8k/djnz-opcode.s: New file.
29         * testsuite/ld-z8k/filler.s: New file.
30         * testsuite/ld-z8k/jr-back-8001.d: New file.
31         * testsuite/ld-z8k/jr-back-8002.d: New file.
32         * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
33         * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
34         * testsuite/ld-z8k/jr-forw-8001.d: New file.
35         * testsuite/ld-z8k/jr-forw-8002.d: New file.
36         * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
37         * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
38         * testsuite/ld-z8k/jr-opcode.s: New file.
39         * testsuite/ld-z8k/ldr-back-8001.d: New file.
40         * testsuite/ld-z8k/ldr-back-8002.d: New file.
41         * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
42         * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
43         * testsuite/ld-z8k/ldr-forw-8001.d: New file.
44         * testsuite/ld-z8k/ldr-forw-8002.d: New file.
45         * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
46         * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
47         * testsuite/ld-z8k/ldr-opcode.s: New file.
48         * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
49         * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
50         * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
51         * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
52         * testsuite/ld-z8k/ldrb-opcode.s: New file.
53         * testsuite/ld-z8k/ldrb-opcode2.s: New file.
54         * testsuite/ld-z8k/other-file.s: New file.
55         * testsuite/ld-z8k/reloc.dd: New file.
56         * testsuite/ld-z8k/reloc.ld: New file.
57         * testsuite/ld-z8k/relocseg.dd: New file.
58         * testsuite/ld-z8k/relocseg.ld: New file.
59         * testsuite/ld-z8k/relocseg1.dd: New file.
60         * testsuite/ld-z8k/this-file.s: New file.
61         * testsuite/ld-z8k/z8k.exp: New file.
62
63 2016-06-03  H.J. Lu  <hongjiu.lu@intel.com>
64
65         * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
66         with -mrelax-relocations=yes.
67         * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
68         * testsuite/ld-i386/lea1b.d (as): Likewise.
69         * testsuite/ld-i386/lea1d.d (as): Likewise.
70         * testsuite/ld-i386/lea1e.d (as): Likewise.
71         * testsuite/ld-i386/lea1f.d (as): Likewise.
72         * testsuite/ld-i386/load7.d (as): Likewise.
73         * testsuite/ld-i386/mov1b.d (as): Likewise.
74         * testsuite/ld-i386/pr19175.d (as): Likewise.
75         * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
76         * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
77         * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
78         * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
79         gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
80
81 2016-06-02  Vineet Gupta  <Vineet.Gupta1@synopsys.com>
82
83         * configure.tgt: Replace -uclibc with *.
84
85 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
86
87         * testsuite/ld-mips-elf/unaligned-branch.d: New test.
88         * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
89         * testsuite/ld-mips-elf/unaligned-text.s: New test source.
90         * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
91
92 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
93
94         * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
95         * testsuite/ld-mips-elf/unaligned-data.s: ... this.
96         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
97         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
98         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
99         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
100
101 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
102
103         * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
104         * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
105         * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
106         * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
107         * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
108         * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
109         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
110
111 2016-05-28  Alan Modra  <amodra@gmail.com>
112
113         * ldmain.c (multiple_definition, multiple_common, add_to_set,
114         constructor_callback, warning_callback, undefined_symbol,
115         reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
116         * emultempl/elf32.em: Adjust callback calls.
117
118 2016-05-27  Maciej W. Rozycki  <macro@imgtec.com>
119
120         * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
121         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
122         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
123         test.
124         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
125         test.
126         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
127         test.
128         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
129         test.
130         * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
131         source.
132         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
133         source.
134         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
135
136 2016-05-27  Maciej W. Rozycki  <macro@imgtec.com>
137
138         * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
139         * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
140         new test.
141         * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
142
143 2016-05-26  Maciej W. Rozycki  <macro@imgtec.com>
144
145         * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
146         `unaligned-jalx-2' here.
147         * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
148         `unaligned-jalx-mips16-2' here.
149         * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
150         `unaligned-jalx-micromips-2' here.
151         * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
152         * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
153         message.
154         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
155         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
156         * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
157         * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
158         * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
159         test.
160         * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
161         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
162         `unaligned-lwpc-3' here.
163         * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
164         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
165         `unaligned-lwpc-2' here.
166         * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
167         * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
168         * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
169         * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
170         * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
171         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
172         `unaligned-ldpc-4' here.
173         * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
174         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
175         message.  Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
176         * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
177         * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
178         * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
179         * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
180         * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
181         * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
182         * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
183         * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
184
185 2016-05-26  Nick Clifton  <nickc@redhat.com>
186
187         PR target/20134
188         * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
189         __bsssize.
190         * scripttempl/elf32msp430_3.sc (.bss): Likewise.
191
192 2016-05-25  Maciej W. Rozycki  <macro@imgtec.com>
193
194         * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
195         * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
196         * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
197         * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
198         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
199         * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
200         * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
201         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
202         * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
203         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
204         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
205         * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
206         * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
207         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
208         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
209         * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
210         * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
211         * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
212         * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
213         * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
214         * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
215         * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
216         * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
217         * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
218         * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
219         * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
220         * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
221         * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
222         * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
223         * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
224         * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
225         * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
226         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
227
228 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
229
230         PR ld/20103
231         * ldmain.c (add_archive_element): Don't claim new IR symbols
232         after all IR symbols have been claimed.
233         * plugin.c (plugin_call_claim_file): Remove no_more_claiming
234         check.
235         * testsuite/ld-plugin/lto.exp (pr20103): New proc.
236         Run PR ld/20103 tests.
237         * testsuite/ld-plugin/pr20103a.c: New file.
238         * testsuite/ld-plugin/pr20103b.c: Likewise.
239         * testsuite/ld-plugin/pr20103c.c: Likewise.
240
241 2016-05-24  Maciej W. Rozycki  <macro@imgtec.com>
242     
243         * testsuite/ld-mips-elf/jalx-local.d: New test.
244         * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
245         * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
246         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
247
248 2016-05-23  Kuba Sejdak  <jakub.sejdak@phoesys.com>
249
250         * Makefile.am: Add earmelf_phoenix.c.
251         * Makefile.in: Regenerate.
252         * configure.tgt: Add entry for arm-phoenix.
253         * emulparams/armelf_phoenix.sh: New file.
254
255 2016-05-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>
256
257         * emultempl/armelf.em (arm_elf_before_allocation): Call
258         bfd_elf32_arm_keep_private_stub_output_sections before generic
259         before_allocation function.
260
261 2016-05-20  Maciej W. Rozycki  <macro@imgtec.com>
262
263         * testsuite/ld-mips-elf/jalx-addend.d: New test.
264         * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
265         * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
266         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
267
268 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
269
270         PR ld/20117
271         * testsuite/ld-i386/i386.exp: Run pr20117.
272         * testsuite/ld-i386/pr19609-1i.d: Updated.
273         * testsuite/ld-i386/pr20117.d: New file.
274         * testsuite/ld-i386/pr20117.s: Likewise.
275
276 2016-05-19  Cupertino Miranda  <cmiranda@synopsys.com>
277
278         * testsuite/ld-elf/compressed1d.d: Removed from notarget.
279         * testsuite/ld-elf/group8a.d: Likewise.
280         * testsuite/ld-elf/group8b.d: Likewise.
281         * testsuite/ld-elf/group9a.d: Likewise.
282         * testsuite/ld-elf/group9b.d: Likewise.
283         * testsuite/ld-elf/pr12851.d: Likewise.
284         * testsuite/ld-elf/pr12975.d: Likewise.
285         * testsuite/ld-elf/pr13177.d: Likewise.
286         * testsuite/ld-elf/pr13195.d: Likewise.
287         * testsuite/ld-elf/pr17615.d: Likewise.
288         * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
289         * testsuite/ld-elf/group3b.d: Likewise.
290         * testsuite/ld-srec/srec.exp: Likewise.
291         * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
292         as supporting gc.
293         (check_shared_lib_support): Mark ARC as supporting.
294
295 2016-05-19  Cupertino Miranda  <cmiranda@synopsys.com>
296
297         * emulparams/arcelf.sh: Changed.
298         * emulparams/arclinux.sh: Likewise.
299         * scripttempl/arclinux.sc: Moved to a more standard implementation
300         similar to elf.sc.
301
302 2016-05-19  Maciej W. Rozycki  <macro@imgtec.com>
303
304         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
305         `ft32-*-*' behind `frv-*-*'.
306
307 2016-05-19  Maciej W. Rozycki  <macro@imgtec.com>
308
309         * configure.tgt: Remove `am34-*-linux*' support.
310
311 2016-05-19  Alan Modra  <amodra@gmail.com>
312
313         * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
314         * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
315         * testsuite/ld-scripts/cross3.t: Likewise.
316         * testsuite/ld-scripts/cross4.t: Likewise.
317         * testsuite/ld-scripts/cross5.t: Likewise.
318         * testsuite/ld-scripts/cross6.t: Likewise.
319         * testsuite/ld-scripts/cross7.t: Likewise.
320
321 2016-05-19  Alan Modra  <amodra@gmail.com>
322
323         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
324         exe name rather than constructing testname.  Fix typo in
325         sub-test name.  Log copying.  Use -rpath rather than -R.
326
327 2016-05-18  Nick Clifton  <nickc@redhat.com>
328
329         * scripttempl/ft32.sc: Use fixed constants for memory region
330         lengths.  Include DWARF debug sections.
331         (.data .bss): Do not assign locations during relocatable links.
332         * testsuite/ld-elf/compressed1d.d: Skip for FT32.
333         * testsuite/ld-elf/sec-to-seg.exp: Likewise.
334         * testsuite/ld-elf/sec64k.exp: Likewise.
335         * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
336         * testsuite/ld-elf/merge.d: Likewise.
337         * testsuite/ld-elf/orphan-region.d: Likewise.
338         * testsuite/ld-elf/orphan.s: Likewise.
339         * testsuite/ld-elf/orphan3.d: Likewise.
340         * testsuite/ld-elf/pr349.d: Likewise.
341         * testsuite/ld-elf/warn2.d: Likewise.
342         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
343         that the FT32 does not support shared libraries.
344
345 2016-05-17  H.J. Lu  <hongjiu.lu@intel.com>
346
347         * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
348         global CC.
349
350 2016-05-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
351
352         * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
353         above .progmem*.
354         * scripttempl/avrtiny.sc (text): Likewise.
355
356 2016-05-17  Maciej W. Rozycki  <macro@imgtec.com>
357
358         * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
359         `supports_gnu_unique' to qualify testing.
360
361 2016-05-16  Maciej W. Rozycki  <macro@imgtec.com>
362
363         * testsuite/ld-elf/flags1.d: Update the xfail list.
364
365 2016-05-15  Maciej W. Rozycki  <macro@imgtec.com>
366
367         * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
368         removal.
369
370 2016-05-14  H.J. Lu  <hongjiu.lu@intel.com>
371
372         PR ld/20097
373         * testplug2.c (onall_symbols_read): Remove redundant sizeof
374         on EXPECTED_VIEW_LENGTH.
375         * testplug4.c (onall_symbols_read): Likewise.
376
377 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
378
379         PR ld/20093
380         * testsuite/ld-x86-64/pr20093-1.d: New file.
381         * testsuite/ld-x86-64/pr20093-1.s: Likewise.
382         * testsuite/ld-x86-64/pr20093-2.d: Likewise.
383         * testsuite/ld-x86-64/pr20093-2.s: Likewise.
384         * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
385
386 2016-05-13  Alan Modra  <amodra@gmail.com>
387
388         * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
389         Use different output file name for static app without .rel.plt.
390         * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
391         * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
392         * testsuite/ld-arm/arm-no-rel-plt.r: New.
393         * testsuite/ld-arm/arm-static-app.d: Don't check file name.
394         * testsuite/ld-arm/arm-static-app.r: Likewise.
395
396 2016-05-12  H.J. Lu  <hongjiu.lu@intel.com>
397
398         PR ld/20070
399         * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
400         (libldtestplug4_la_SOURCES): New.
401         (libldtestplug4_la_CFLAGS): Likewise.
402         (libldtestplug4_la_LDFLAGS): Likewise.
403         * Makefile.in: Regenerated.
404         * plugin.c (get_symbols): Return resolution based on IR symbol
405         kinds for symbols defined/referenced only within IR.
406         * testplug4.c: New file.
407         * ld/testsuite/ld-plugin/pr20070.d: Likewise.
408         * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
409         * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
410         * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
411         (plugin4_path): Likewise.
412         Add a test for ld/20070.
413
414 2016-05-11  Alan Modra  <amodra@gmail.com>
415
416         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
417         Call elf32_hppa_init_stub_bfd.
418
419 2016-05-11  Alan Modra  <amodra@gmail.com>
420
421         PR 20060
422         * testsuite/ld-powerpc/powerpc.exp: Run new tests.
423         * testsuite/ld-powerpc/tlsdll.s: New.
424         * testsuite/ld-powerpc/tlsdll.ver: New.
425         * testsuite/ld-powerpc/tlsdll_32.s: New.
426         * testsuite/ld-powerpc/tlsopt5.d: New.
427         * testsuite/ld-powerpc/tlsopt5.s: New.
428         * testsuite/ld-powerpc/tlsopt5_32.d: New.
429         * testsuite/ld-powerpc/tlsopt5_32.s: New.
430
431 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
432
433         * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
434         ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
435
436 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
437
438         * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
439         parameter and rename input_section parameter to after_input_section.
440         Append input stub section to the output section if after_input_section
441         is NULL.
442
443 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
444
445         * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
446         test.
447         * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
448         * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
449
450 2016-05-10  Christophe Lyon  <christophe.lyon@linaro.org>
451
452         * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
453
454 2016-05-09  Christophe Monat  <christophe.monat@st.com>
455
456         PR ld/20030
457         * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
458         tests. Fix misnamed stm32l4xx-fix-all.
459         * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
460         loads with DP registers.
461         * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
462         * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
463         * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
464         loads with DP registers.
465         * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
466
467 2016-05-09  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
468
469         * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
470         program headers.
471         (xfail): Remove avr-*-*.
472         Update regex to check the section flags.
473         * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
474
475 2016-05-09  Alan Modra  <amodra@gmail.com>
476
477         * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
478         * Makefile.in: Regenerate.
479
480 2016-05-09  Alan Modra  <amodra@gmail.com>
481
482         * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
483         * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
484         * testsuite/ld-scripts/section-match-1.t: Likewise.
485
486 2016-05-06  H.J. Lu  <hongjiu.lu@intel.com>
487
488         PR ld/17550
489         * testsuite/ld-elf/pr17550-1.s: New file.
490         * testsuite/ld-elf/pr17550-2.s: Likewise.
491         * testsuite/ld-elf/pr17550-3.s: Likewise.
492         * testsuite/ld-elf/pr17550-4.s: Likewise.
493         * testsuite/ld-elf/pr17550a.d: Likewise.
494         * testsuite/ld-elf/pr17550b.d: Likewise.
495         * testsuite/ld-elf/pr17550c.d: Likewise.
496         * testsuite/ld-elf/pr17550d.d: Likewise.
497
498 2016-05-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
499
500         * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
501
502 2016-05-06  H.J. Lu  <hongjiu.lu@intel.com>
503
504         * testsuite/ld-i386/i386.exp: Run load7.
505         * testsuite/ld-i386/load7.d: New file.
506         * testsuite/ld-i386/load7.map: Likewise.
507         * testsuite/ld-i386/load7.s: Likewise.
508         * testsuite/ld-x86-64/load2.d: Likewise.
509         * testsuite/ld-x86-64/load2.map: Likewise.
510         * testsuite/ld-x86-64/load2.s: Likewise.
511         * testsuite/ld-x86-64/x86-64.exp: Run load2.
512
513 2016-05-05  H.J. Lu  <hongjiu.lu@intel.com>
514
515         * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
516         * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
517         Likewise.
518         * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
519         Likewise.
520
521 2016-05-05  H.J. Lu  <hongjiu.lu@intel.com>
522
523         * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
524
525 2016-05-04  H.J. Lu  <hongjiu.lu@intel.com>
526
527         * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
528
529 2016-05-04  Maciej W. Rozycki  <macro@imgtec.com>
530
531         * testsuite/ld-unique/unique.d: New test.
532         * testsuite/ld-unique/unique.exp: Run the new test.  Adjust
533         messages for compiled tests.
534
535 2016-05-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
536
537         * testsuite/ld-elf/pr18735.d: Allow other symbols.
538         * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
539         * testsuite/ld-gc/pr14265.d: Allow other symbols.
540         * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
541         plugin_tests only if check_shared_lib_support is true.
542         * testsuite/ld-selective/selective.exp: Add --section-start
543         flag for avr.
544
545 2016-05-03  Maciej W. Rozycki  <macro@imgtec.com>
546
547         PR 10549
548         * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
549
550 2016-05-03  Jiong Wang  <jiong.wang@arm.com>
551
552         * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
553         * NEWS: Mention --no-apply-dynamic-relocs.
554         * ld.texinfo (ld and the ARM family): Document
555         --no-apply-dynamic-relocs.
556         * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
557         * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
558         * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
559         * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
560         option.
561
562 2016-05-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
563
564         * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
565         before running STT_COMMON tests.
566
567 2016-04-29  H.J. Lu  <hongjiu.lu@intel.com>
568
569         * config/default.exp (NOPIE_CFLAGS): Download source only on
570         remote host.
571         (NOPIE_LDFLAGS): Likewise.
572         * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
573         (check_lto_fat_available): Likewise.
574         (check_lto_shared_available): Likewise.
575         (check_ifunc_available): Likewise.
576         (check_ifunc_attribute_available): Likewise.
577
578 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
579
580         * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
581
582 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
583
584         PR ld/20006
585         * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
586         (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
587         ELF targets.
588
589 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
590
591         * testsuite/ld-elf/compressed1b.d: Pass
592         --compress-debug-sections=none to ld.
593         * testsuite/ld-elf/compressed1c.d: Likewise.
594
595 2016-04-27  Alan Modra  <amodra@gmail.com>
596
597         PR target/19985
598         * configure.tgt: Don't use var+=.
599
600 2016-04-25  Nick Clifton  <nickc@redhat.com>
601
602         PR target/19985
603         * configure.tgt: Include big endian PPC64 emulations with little
604         endian PPC64 targets.
605
606 2016-04-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
607
608         * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
609
610 2016-04-21  Nick Clifton  <nickc@redhat.com>
611
612         * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
613         prefernce to _bfd_elf_link_check_relocs.  Drop test for ELF
614         targets.  Do not stop the checks when problems are encountered.
615
616 2016-04-21  Alan Modra  <amodra@gmail.com>
617
618         * testsuite/ld-scripts/cross3.t: Add commonly used data
619         and text section names to output section statements.
620         * testsuite/ld-scripts/cross4.t: Likewise.
621         * testsuite/ld-scripts/cross5.t: Likewise.
622         * testsuite/ld-scripts/cross6.t: Likewise.
623         * testsuite/ld-scripts/cross7.t: Likewise.
624
625 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
626
627         * ldlang.c (lang_check_relocs): New function.
628         (lang_process): Call lang_check_relocs after lang_gc_sections.
629         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
630         call _bfd_elf_link_check_relocs here.
631
632 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
633
634         PR ld/19972
635         * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
636         R_386_NONE or R_X86_64_NONE.
637
638 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
639
640         * testsuite/ld-x86-64/pic1.d: New file.
641         * testsuite/ld-x86-64/pic1.s: Likewise.
642         * testsuite/ld-x86-64/x86-64.exp: Run pic1.
643
644 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
645
646         * testsuite/ld-x86-64/pie2.d: New file.
647         * testsuite/ld-x86-64/pie2.s: Likewise.
648         * testsuite/ld-x86-64/x86-64.exp: Run pie2.
649
650 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
651
652         PR ld/19969
653         * testsuite/ld-x86-64/pr19969.d: New file.
654         * testsuite/ld-x86-64/pr19969a.S: Likewise.
655         * testsuite/ld-x86-64/pr19969b.S: Likewise.
656         * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
657
658 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
659
660         * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
661         New.
662         * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
663         Likewise.
664         * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
665         Likewise.
666         * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
667         Likewise.
668         * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
669         Likewise.
670         * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
671         Likewise.
672         * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
673         Likewise.
674         * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
675         Likewise.
676         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
677         Set check_relocs_after_open_input to TRUE if
678         CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
679         (gld${EMULATION_NAME}_after_open): Call
680         _bfd_elf_link_check_relocs on all inputs if
681         check_relocs_after_open_input is TRUE.
682
683 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
684
685         * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
686         my_personality_v0.
687
688 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
689
690         * emultempl/scoreelf.em: Likewise.
691
692 2016-04-19  H.J. Lu  <hongjiu.lu@intel.com>
693
694         PR ld/19719
695         * testsuite/ld-x86-64/pr19719.d: New file.
696         * testsuite/ld-x86-64/pr19719.s: Likewise.
697         * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
698
699 2016-04-18  Matthew Fortune  <matthew.fortune@imgtec.com>
700
701         * ld.texinfo: Document NOCROSSREFS_TO script command.
702         * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
703         (lang_add_nocrossref_to): New prototype.
704         * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
705         symbols defined in the first section.
706         (check_nocrossref): Likewise.
707         * ldgram.y (NOCROSSREFS_TO): New script command.
708         * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
709         (lang_add_nocrossref_to): New function.
710         * ldlex.l (NOCROSSREFS_TO): New token.
711         * NEWS: Mention NOCROSSREFS_TO.
712         * testsuite/ld-scripts/cross4.t: New file.
713         * testsuite/ld-scripts/cross5.t: Likewise.
714         * testsuite/ld-scripts/cross6.t: Likewise.
715         * testsuite/ld-scripts/cross7.t: Likewise.
716         * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
717         tests.
718
719 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
720
721         * Makefile.in: Regenerated with automake 1.11.6.
722         * aclocal.m4: Likewise.
723
724 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
725
726         * testsuite/ld-arc/arc.exp: New file.
727         * testsuite/ld-arc/nps-1.s: New file.
728         * testsuite/ld-arc/nps-1a.d: New file.
729         * testsuite/ld-arc/nps-1b.d: New file.
730         * testsuite/ld-arc/nps-1b.err: New file.
731
732 2016-04-14  Nick Clifton  <nickc@redhat.com>
733
734         PR 19457
735         * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
736         exceptions for Mingw and Cygwin.
737
738 2016-04-13  Andrew Burgess  <andrew.burgess@embecosm.com>
739
740         * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
741         check_ld(terminal).
742
743 2016-04-13  H.J. Lu  <hongjiu.lu@intel.com>
744
745         PR ld/19774
746         * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
747         tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
748         tests.
749
750 2016-04-11  H.J. Lu  <hongjiu.lu@intel.com>
751
752         PR ld/19939
753         * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
754         * testsuite/ld-x86-64/x86-64.exp: Likewise.
755         * testsuite/ld-i386/pr19939.s: New file.
756         * testsuite/ld-i386/pr19939a.d: Likewise.
757         * testsuite/ld-i386/pr19939b.d: Likewise.
758         * testsuite/ld-x86-64/pr19939.s: Likewise.
759         * testsuite/ld-x86-64/pr19939a.d: Likewise.
760         * testsuite/ld-x86-64/pr19939b.d: Likewise.
761
762 2016-04-09  Oleg Endo  <olegendo@gcc.gnu.org>
763
764         * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
765
766 2016-04-08  Alan Modra  <amodra@gmail.com>
767
768         PR 18452
769         * ldlang.c (maybe_overlays): Delete.
770         (lang_size_sections_1): Remove code setting maybe_overlays.
771         (lang_check_section_addresses): Instead detect overlays by
772         exact match of section VMAs here.  Fix memory leak.
773
774 2016-04-08  Dan Gisselquist  <dgisselq@ieee.org>
775
776         * ldlang.c (print_output_section_statement): Show minfo size
777         in target machine address units.
778         (print_reloc_statement): Likewise.
779         (print_padding_statement): Likewise.
780         (print_data_statement): Likewise.  Ensure minimum print_dot
781         increment of one address unit.
782
783 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
784
785         * emulparams/arc-endianness.sh: Make little endian default choice.
786
787 2016-04-07  Nick Clifton  <nickc@redhat.com>
788
789         * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
790         section name.
791         * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
792
793 2016-04-05  Andrew Burgess  <andrew.burgess@embecosm.com>
794
795         * emulparams/arc-endianness.sh: New file.
796         * emulparams/arcebelf.sh: Deleted.
797         * emulparams/arcebelf_prof.sh: Deleted.
798         * emulparams/arceblinux.sh: Deleted.
799         * emulparams/arceblinux_prof.sh: Deleted.
800         * emulparams/arcelf.sh: Include arc-endinness.sh.
801         * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
802         * emulparams/arclinux.sh: Include arc-endinness.sh.
803         * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
804         * emulparams/arcv2elf.sh: Include arc-endinness.sh.
805         * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
806         * testsuite/ld-elf/compressed1d.d: Update pattern for big and
807         little endian arc targets.
808         * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
809         * testsuite/ld-elf/group1.d: Likewise.
810         * testsuite/ld-elf/group3b.d: Likewise.
811         * testsuite/ld-elf/group8a.d: Likewise.
812         * testsuite/ld-elf/group8b.d: Likewise.
813         * testsuite/ld-elf/group9a.d: Likewise.
814         * testsuite/ld-elf/group9b.d: Likewise.
815         * testsuite/ld-elf/linkonce2.d: Likewise.
816         * testsuite/ld-elf/pr12851.d: Likewise.
817         * testsuite/ld-elf/pr12975.d: Likewise.
818         * testsuite/ld-elf/pr13177.d: Likewise.
819         * testsuite/ld-elf/pr13195.d: Likewise.
820         * testsuite/ld-elf/pr17615.d: Likewise.
821         * testsuite/ld-elf/pr19162.d: Likewise.
822         * testsuite/ld-elf/sec64k.exp: Likewise.
823         * testsuite/lib/ld-lib.exp: Likewise.
824
825 2016-04-05  Maciej W. Rozycki  <macro@imgtec.com>
826
827         PR ld/19908
828         * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
829         handling fix.
830         * testsuite/ld-cris/tls-e-20a.d: Likewise.
831         * testsuite/ld-cris/tls-e-21.d: Likewise.
832         * testsuite/ld-cris/tls-e-23.d: Likewise.
833         * testsuite/ld-cris/tls-e-80.d: Likewise.
834         * testsuite/ld-cris/tls-gd-3h.d: Likewise.
835         * testsuite/ld-cris/tls-leie-19.d: Likewise.
836         * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
837         * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
838         * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
839         * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
840         * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
841         * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
842         * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
843         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
844
845 2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>
846
847         * testsuite/ld-discard/extern.d: Removed xfail for ARC.
848         * testsuite/ld-discard/start.d: Likewise.
849         * testsuite/ld-discard/static.d: Likewise.
850         * testsuite/ld-elf/group1.d: Likewise.
851         * testsuite/ld-elf/group3b.d: Likewise.
852         * testsuite/ld-elf/orphan-region.d: Likewise.
853         * testsuite/ld-elf/orphan.d: Likewise.
854         * testsuite/ld-elf/orphan3.d: Likewise.
855         * testsuite/ld-elf/pr349.d: Likewise.
856         * testsuite/ld-elf/warn1.d: Likewise.
857         * testsuite/ld-elf/warn2.d: Likewise.
858         * testsuite/ld-elf/warn3.d: Likewise.
859         * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
860         through linker flags.
861         * testsuite/ld-srec/srec.exp: Set as xfail.
862
863 2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
864
865         PR ld/19827
866         * testsuite/ld-i386/pr19827-nacl.rd: New file.
867         * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
868
869 2016-04-04  Nick Clifton  <nickc@redhat.com>
870
871         PR 19803
872         * emultempl/pe.em (change_undef): New function.  Encapsulates
873         duplicated code in pe_fixup_stdcalls and adds the newly defined
874         sym to the gc root list.
875         (pe_fixup_stdcall): Use the new function.
876         * pe-dll.c (process_def_file_and_drectve); Add alias of exported
877         symbol to gc root list.
878
879 2016-03-31  Alan Modra  <amodra@gmail.com>
880
881         * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
882         (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
883         (print_input_section): Don't use TO_ADDR when printing section
884         size.
885         (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
886         (lang_size_sections): Use TO_ADDR in relro end calculation.
887
888 2016-03-30  Andrew Burgess  <andrew.burgess@embecosm.com>
889
890         * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
891         value from regexp_diff.
892         * testsuite/ld-elf/orphan-5.l: Fix expected output.
893         * testsuite/ld-elf/orphan-6.l: Likewise.
894
895 2016-03-30  Alan Modra  <amodra@gmail.com>
896
897         PR 18452
898         * ldlang.c (maybe_overlays): New static var.
899         (lang_size_sections_1): Set it here.
900         (struct check_sec): New.
901         (sort_sections_by_lma): Adjust for array of structs.
902         (sort_sections_by_vma): New function.
903         (lang_check_section_addresses): Check both LMA and VMA for overlap.
904         * testsuite/ld-scripts/rgn-over7.d: Adjust.
905
906 2016-03-30  Alan Modra  <amodra@gmail.com>
907
908         * ldlang.c (lang_size_sections_1): Correct code detecting a
909         backward non-overlapping move.
910
911 2016-03-30  Alan Modra  <amodra@gmail.com>
912
913         * ldlang.c (IS_TBSS): New macro, extracted from..
914         (IGNORE_SECTION): ..here.
915         (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
916         (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
917
918 2016-03-22  Nick Clifton  <nickc@redhat.com>
919
920         PR ld/19803
921         * ldlang.c (lang_add_gc_name): New function.  Adds the provided
922         symbol name to the list of gc symbols.
923         (lang_process): Call lang_add_gc_name with entry_symbol_default if
924         entry_symbol.name is NULL.  Use lang_add_gc_name to add the init
925         and fini function names.
926         * pe-dll.c (process_def_file_and_drectve): Add exported names to
927         the gc symbol list.
928         * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
929         * testsuite/ld-pe/pr19803.d: Tweak expected output.
930
931 2016-03-22  Nick Clifton  <nickc@redhat.com>
932
933         * configure: Regenerate.
934
935 2016-03-21  Nick Clifton  <nickc@redhat.com>
936
937         * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
938         * plugin.c: Likewise.
939         * pe-dll.c: Likewise.
940
941 2016-03-18  Awson  <kyrab@mail.ru>
942
943         PR 19531
944         * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
945         this section.
946         * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
947
948 2016-03-18  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
949
950         * ld-avr/gc-section-debugline.d: Relax regex check for CU.
951
952 2016-03-15  H.J. Lu  <hongjiu.lu@intel.com>
953
954         PR ld/19827
955         * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
956         * testsuite/ld-x86-64/x86-64.exp: Likewise.
957         * testsuite/ld-i386/pr19827.rd: New file.
958         * testsuite/ld-i386/pr19827a.S: Likewise.
959         * testsuite/ld-i386/pr19827b.S: Likewise.
960         * testsuite/ld-x86-64/pr19827.rd: Likewise.
961         * testsuite/ld-x86-64/pr19827a.S: Likewise.
962         * testsuite/ld-x86-64/pr19827b.S: Likewise.
963
964 2016-03-15  H.J. Lu  <hongjiu.lu@intel.com>
965
966         PR ld/19807
967         * Makefile.am (ELF_X86_DEPS): Add
968         $(srcdir)/emulparams/reloc_overflow.sh.
969         * Makefile.in: Regenerated.
970         * NEWS: Mention -z noreloc-overflow.
971         * ld.texinfo: Document -z noreloc-overflow.
972         * emulparams/elf32_x86_64.sh: Source
973         ${srcdir}/emulparams/reloc_overflow.sh.
974         * emulparams/elf_x86_64.sh: Likewise.
975         * emulparams/reloc_overflow.sh: New file.
976         * testsuite/ld-x86-64/pr19807-1.s: New file.
977         * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
978         * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
979         * testsuite/ld-x86-64/pr19807-2.s: Likewise.
980         * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
981         * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
982         * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
983         * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
984         * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
985         * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
986
987 2016-03-13  H.J. Lu  <hongjiu.lu@intel.com>
988
989         PR ld/19539
990         * testsuite/ld-i386/i386.exp: Run pr19539.
991         * testsuite/ld-i386/pr19539.d: New file.
992         * testsuite/ld-i386/pr19539.s: Likewise.
993         * testsuite/ld-i386/pr19539.t: Likewise.
994         * testsuite/ld-x86-64/pr19539.s: Likewise.
995         * testsuite/ld-x86-64/pr19539.t: Likewise.
996         * testsuite/ld-x86-64/pr19539a.d: Likewise.
997         * testsuite/ld-x86-64/pr19539b.d: Likewise.
998         * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
999
1000 2016-03-10  Mickael Guene  <mickael.guene@st.com>
1001
1002         PR gas/19744
1003         * testsuite/ld-arm/arm-elf.exp: New tests.
1004         * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1005         * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1006
1007 2016-03-10  Nick Clifton  <nickc@redhat.com>
1008
1009         * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1010
1011 2016-03-09  Pedro Alves  <palves@redhat.com>
1012
1013         * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1014         * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1015
1016 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1017
1018         PR ld/19789
1019         * testsuite/ld-elf/pr19789.d: New file.
1020         * testsuite/ld-elf/pr19789.s: Likewise.
1021
1022 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1023
1024         PR ld/19784
1025         * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1026         * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1027         * testsuite/ld-i386/pr19636-2e.d: Here.  Remove notarget.
1028         * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1029         * testsuite/ld-ifunc/pass.out: New file.
1030         * testsuite/ld-ifunc/pr19784a.c: Likewise.
1031         * testsuite/ld-ifunc/pr19784b.c: Likewise.
1032         * testsuite/ld-ifunc/pr19784c.c: Likewise.
1033
1034 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1035
1036         PR ld/19774
1037         * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1038         tmpdir/libpr18808.so.  Link tmpdir/pr18841a.o before
1039         tmpdir/libpr18841b.so and tmpdir/libpr18841c.so.  Test
1040         --as-needed for pr18841c.
1041
1042 2016-03-07  H.J. Lu  <hongjiu.lu@intel.com>
1043
1044         PR ld/19774
1045         * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1046         tmpdir/pr18900.so and test --as-needed.  Link tmpdir/gotpc1.o
1047         before tmpdir/got1d.so and test --as-needed.
1048         * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1049         tmpdir/pr18900.so and test --as-needed.
1050
1051 2016-03-07  Jiong Wang  <jiong.wang@arm.com>
1052
1053         * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1054         * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1055         result.
1056         * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1057
1058 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1059
1060         * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1061         before tmpdir/copyreloc-lib.so and test --as-needed.
1062         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1063
1064 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1065
1066         PR ld/19579
1067         * testsuite/ld-elf/pr19579a.c: New file.
1068         * testsuite/ld-elf/pr19579b.c: Likewise.
1069         * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1070
1071 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1072
1073         * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1074
1075 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1076
1077         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1078         Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1079
1080 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1081
1082         PR ld/19739
1083         * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1084         input sections for relocatable link.
1085         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1086         * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1087
1088 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1089
1090         PR ld/19739
1091         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1092         merge flags of other input sections for relocatable link.
1093
1094 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1095
1096         * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1097
1098 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1099
1100         * testsuite/ld-elf/pr19162.d: Skip arc target.
1101
1102 2016-02-29  H.J. Lu  <hongjiu.lu@intel.com>
1103
1104         PR ld/19162
1105         * testsuite/ld-elf/pr19162.d: New file.
1106         * testsuite/ld-elf/pr19162a.s: Likwise.
1107         * testsuite/ld-elf/pr19162b.s: Likwise.
1108
1109 2016-02-29 Cupertino Miranda  <cmiranda@synopsys.com>
1110
1111         * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1112         * testsuite/ld-elf/merge2.d: Likewise.
1113         * testsuite/ld-elf/merge3.d: Likewise.
1114
1115 2016-02-29  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
1116
1117         * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1118         generated.
1119
1120 2016-02-26  Renlin Li  <renlin.li@arm.com>
1121
1122         * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1123         * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1124         * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1125         * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1126         * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1127         * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1128         * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1129         * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1130         * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1131         * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1132
1133 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
1134
1135         PR ld/19609
1136         * testsuite/ld-i386/got1.dd: Updated.
1137         * testsuite/ld-i386/lea1c.d: Likewise.
1138         * testsuite/ld-i386/load1-nacl.d: Likewise.
1139         * testsuite/ld-i386/load1.d: Likewise.
1140         * testsuite/ld-i386/load4b.d: Likewise.
1141         * testsuite/ld-i386/load5b.d: Likewise.
1142         * testsuite/ld-i386/mov1b.d: Likewise.
1143         * testsuite/ld-x86-64/mov1b.d: Likewise.
1144         * testsuite/ld-x86-64/mov1d.d: Likewise.
1145         * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1146         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1147         * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1148         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1149         * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1150         * testsuite/ld-x86-64/lea1a.d: Likewise.
1151         * testsuite/ld-x86-64/lea1b.d: Likewise.
1152         * testsuite/ld-x86-64/lea1c.d: Likewise.
1153         * testsuite/ld-x86-64/lea1d.d: Likewise.
1154         * testsuite/ld-x86-64/lea1e.d: Likewise.
1155         * testsuite/ld-x86-64/lea1f.d: Likewise.
1156         * testsuite/ld-x86-64/mov1b.d: Likewise.
1157         * testsuite/ld-x86-64/mov1d.d: Likewise.
1158         * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1159         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1160         * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1161         * testsuite/ld-i386/pr19609-1.s: New file.
1162         * testsuite/ld-i386/pr19609-1a.d: Likewise.
1163         * testsuite/ld-i386/pr19609-1b.d: Likewise.
1164         * testsuite/ld-i386/pr19609-1c.d: Likewise.
1165         * testsuite/ld-i386/pr19609-1d.d: Likewise.
1166         * testsuite/ld-i386/pr19609-1e.d: Likewise.
1167         * testsuite/ld-i386/pr19609-1f.d: Likewise.
1168         * testsuite/ld-i386/pr19609-1g.d: Likewise.
1169         * testsuite/ld-i386/pr19609-1h.d: Likewise.
1170         * testsuite/ld-i386/pr19609-1i.d: Likewise.
1171         * testsuite/ld-i386/pr19609-2.s: Likewise.
1172         * testsuite/ld-i386/pr19609-2a.d: Likewise.
1173         * testsuite/ld-i386/pr19609-2b.d: Likewise.
1174         * testsuite/ld-i386/pr19609-2c.d: Likewise.
1175         * testsuite/ld-i386/undefweak.s: Likewise.
1176         * testsuite/ld-i386/undefweaka.d: Likewise.
1177         * testsuite/ld-i386/undefweakb.d: Likewise.
1178         * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1179         * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1180         * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1181         * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1182         * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1183         * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1184         * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1185         * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1186         * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1187         * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1188         * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1189         * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1190         * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1191         * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1192         * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1193         * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1194         * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1195         * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1196         * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1197         * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1198         * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1199         * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1200         * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1201         * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1202         * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1203         * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1204         * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1205         * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1206         * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1207         * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1208         * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1209         * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1210         * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1211         * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1212         * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1213         * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1214         * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1215         * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1216         * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1217         * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1218         * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1219         * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1220         * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1221         * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1222         * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1223         * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1224         * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1225         PR ld/19609.
1226         * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1227         and tests for PR ld/19609.
1228
1229 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
1230
1231         PR ld/19645
1232         * NEWS: Mention -z common/-z nocommon for ELF targets.
1233         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1234         -z common and -z nocommon.
1235         * ld.texinfo: Document -z common/-z nocommon.
1236         * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1237         * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1238         --elf-stt-common=yes with assembler.
1239         * testsuite/ld-elfcomm/common-1.s: New file.
1240         * testsuite/ld-elfcomm/common-1a.d: Likewise.
1241         * testsuite/ld-elfcomm/common-1b.d: Likewise.
1242         * testsuite/ld-elfcomm/common-1c.d: Likewise.
1243         * testsuite/ld-elfcomm/common-1d.d: Likewise.
1244         * testsuite/ld-elfcomm/common-1e.d: Likewise.
1245         * testsuite/ld-elfcomm/common-1f.d: Likewise.
1246         * testsuite/ld-elfcomm/common-2.s: Likewise.
1247         * testsuite/ld-elfcomm/common-2a.d: Likewise.
1248         * testsuite/ld-elfcomm/common-2b.d: Likewise.
1249         * testsuite/ld-elfcomm/common-2c.d: Likewise.
1250         * testsuite/ld-elfcomm/common-2d.d: Likewise.
1251         * testsuite/ld-elfcomm/common-2e.d: Likewise.
1252         * testsuite/ld-elfcomm/common-2f.d: Likewise.
1253         * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1254         * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1255         * testsuite/ld-i386/pr19645.d: Likewise.
1256         * testsuite/ld-i386/pr19645.s: Likewise.
1257         * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1258         * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1259         * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1260         * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1261         * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1262         * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1263         * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1264         * testsuite/ld-x86-64/pr19645.d: Likewise.
1265         * testsuite/ld-x86-64/pr19645.s: Likewise.
1266         * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1267         with assembler.
1268         (assembler_generates_commons): Removed.
1269         Run -z common/-z nocommon tests.  Run *.d tests.
1270         * testsuite/ld-i386/i386.exp: Run pr19645.
1271         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1272         * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1273         assembler.  Test STT_COMMON with readelf.
1274
1275 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
1276
1277         PR ld/19636
1278         PR ld/19704
1279         PR ld/19719
1280         * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1281         * Makefile.in: Regenerated.
1282         * NEWS: Mention -z nodynamic-undefined-weak.
1283         * ld.texinfo: Document -z nodynamic-undefined-weak.
1284         * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1285         * emulparams/dynamic_undefined_weak.sh: New file.
1286         * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1287         * emulparams/elf_i386.sh: Likewise.
1288         * emulparams/elf_i386_be.sh: Likewise.
1289         * emulparams/elf_i386_chaos.sh: Likewise.
1290         * emulparams/elf_i386_ldso.sh: Likewise.
1291         * emulparams/elf_i386_vxworks.sh: Likewise.
1292         * emulparams/elf_iamcu.sh: Likewise.
1293         * emulparams/elf_k1om.sh: Likewise.
1294         * emulparams/elf_l1om.sh: Likewise.
1295         * emulparams/elf_x86_64.sh: Likewise.
1296         * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1297         Append.
1298         (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1299         * testsuite/ld-elf/pr19719a.c: New file.
1300         * testsuite/ld-elf/pr19719b.c: Likewise.
1301         * testsuite/ld-elf/pr19719c.c: Likewise.
1302         * testsuite/ld-elf/pr19719d.c: Likewise.
1303         * testsuite/ld-i386/pr19636-1.s: Likewise.
1304         * testsuite/ld-i386/pr19636-1a.d: Likewise.
1305         * testsuite/ld-i386/pr19636-1b.d: Likewise.
1306         * testsuite/ld-i386/pr19636-1c.d: Likewise.
1307         * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1308         * testsuite/ld-i386/pr19636-1d.d: Likewise.
1309         * testsuite/ld-i386/pr19636-1e.d: Likewise.
1310         * testsuite/ld-i386/pr19636-1f.d: Likewise.
1311         * testsuite/ld-i386/pr19636-1g.d: Likewise.
1312         * testsuite/ld-i386/pr19636-1h.d: Likewise.
1313         * testsuite/ld-i386/pr19636-1i.d: Likewise.
1314         * testsuite/ld-i386/pr19636-2.s: Likewise.
1315         * testsuite/ld-i386/pr19636-2a.d: Likewise.
1316         * testsuite/ld-i386/pr19636-2b.d: Likewise.
1317         * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1318         * testsuite/ld-i386/pr19636-2c.d: Likewise.
1319         * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1320         * testsuite/ld-i386/pr19636-2d.d: Likewise.
1321         * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1322         * testsuite/ld-i386/pr19636-2e.d: Likewise.
1323         * testsuite/ld-i386/pr19636-3.s: Likewise.
1324         * testsuite/ld-i386/pr19636-3a.d: Likewise.
1325         * testsuite/ld-i386/pr19636-3b.d: Likewise.
1326         * testsuite/ld-i386/pr19636-3c.d: Likewise.
1327         * testsuite/ld-i386/pr19636-3d.d: Likewise.
1328         * testsuite/ld-i386/pr19636-3e.d: Likewise.
1329         * testsuite/ld-i386/pr19636-3f.d: Likewise.
1330         * testsuite/ld-i386/pr19636-3g.d: Likewise.
1331         * testsuite/ld-i386/pr19636-4.s: Likewise.
1332         * testsuite/ld-i386/pr19636-4a.d: Likewise.
1333         * testsuite/ld-i386/pr19636-4b.d: Likewise.
1334         * testsuite/ld-i386/pr19636-4c.d: Likewise.
1335         * testsuite/ld-i386/pr19636-4d.d: Likewise.
1336         * testsuite/ld-i386/pr19704.out: Likewise.
1337         * testsuite/ld-i386/pr19704a.c: Likewise.
1338         * testsuite/ld-i386/pr19704b.c: Likewise.
1339         * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1340         * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1341         * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1342         * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1343         * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1344         * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1345         * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1346         * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1347         * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1348         * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1349         * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1350         * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1351         * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1352         * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1353         * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1354         * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1355         * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1356         * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1357         * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1358         * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1359         * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1360         * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1361         * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1362         * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1363         * testsuite/ld-x86-64/pr19704.out: Likewise.
1364         * testsuite/ld-x86-64/pr19704a.c: Likewise.
1365         * testsuite/ld-x86-64/pr19704b.c: Likewise.
1366         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1367         Run mix_pic_and_non_pic.
1368         * testsuite/ld-i386/i386.exp (undefined_weak): New.
1369         Run undefined_weak and PR ld/19636 tests.
1370         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1371         * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1372         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1373
1374 2016-02-25  Nick Clifton  <nickc@redhat.com>
1375
1376         * ld.h (struct ld_config_type): Remove specified_data_size field.
1377
1378 2016-02-24  H.J. Lu  <hongjiu.lu@intel.com>
1379
1380         PR ld/19698
1381         * testsuite/ld-elf/pr19698.d: New file.
1382         * testsuite/ld-elf/pr19698.s: Likewise.
1383         * testsuite/ld-elf/pr19698.t: Likewise.
1384
1385 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1386
1387         * Makefile.am (ELF_X86_DEPS): New.
1388         (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1389         (eelf_i386_chaos.c): Likewise.
1390         (eelf_i386_fbsd.c): Likewise.
1391         (eelf_i386_ldso.c): Likewise.
1392         (eelf_i386_nacl.c): Likewise.
1393         (eelf_i386_sol2.c): Likewise.
1394         (eelf_iamcu.c): Likewise.
1395         (eelf32_x86_64.c): Likewise.
1396         (eelf32_x86_64_nacl.c): Likewise.
1397         (eelf_l1om.c): Likewise.
1398         (eelf_l1om_fbsd.c): Likewise.
1399         (eelf_k1om.c): Likewise.
1400         (eelf_k1om_fbsd.c): Likewise.
1401         (eelf_x86_64.c): Likewise.
1402         (eelf_x86_64_cloudabi.c): Likewise.
1403         (eelf_x86_64_fbsd.c): Likewise.
1404         (eelf_x86_64_sol2.c): Likewise.
1405         * Makefile.in: Regenerated.
1406
1407 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1408
1409         * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1410         * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1411         * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1412         * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1413
1414 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
1415
1416         * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1417
1418 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1419
1420         * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1421         *-*-gnu* and *-*-solaris*.
1422         * testsuite/ld-elf/pr19617b.d: Likewise.
1423         * testsuite/ld-elf/pr19617c.d: Likewise.
1424
1425 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1426
1427         PR ld/19617
1428         * testsuite/ld-elf/pr19617.s: New file.
1429         * testsuite/ld-elf/pr19617a.d: Likewise.
1430         * testsuite/ld-elf/pr19617b.d: Likewise.
1431         * testsuite/ld-elf/pr19617c.d: Likewise.
1432
1433 2016-02-18  Nick Clifton  <nickc@redhat.com>
1434
1435         * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1436         in-tree xg++ executable after checking for the presence of an
1437         in-tree g++ executable.
1438         * Makefile.in: Regenerate.
1439
1440 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1441
1442         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1443         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1444         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1445
1446 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1447
1448         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1449         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1450         * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1451         * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1452         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1453         * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1454         * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1455         * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1456         * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1457         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1458         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1459         * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1460         * testsuite/ld-x86-64/load1c.d: Likewise.
1461         * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1462         * testsuite/ld-x86-64/load1d.d: Likewise.
1463         * testsuite/ld-x86-64/pr14207.d: Likewise.
1464         * testsuite/ld-x86-64/pr19162.d: Likewise.
1465         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1466         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1467         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1468         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1469         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1470         * testsuite/ld-x86-64/tlspic.rd: Likewise.
1471
1472 2016-02-17  Nick Clifton  <nickc@redhat.com>
1473
1474         * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1475
1476 2016-02-15  Nick Clifton  <nickc@redhat.com>
1477
1478         * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1479         description of the flags produced by readelf.
1480         * testsuite/ld-i386/pr12921.d: Likewise.
1481         * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1482         * testsuite/ld-i386/tlsbin.rd: Likewise.
1483         * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1484         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1485         * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1486         * testsuite/ld-i386/tlsdesc.rd: Likewise.
1487         * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1488         * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1489         * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1490         * testsuite/ld-i386/tlsnopic.rd: Likewise.
1491         * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1492         * testsuite/ld-i386/tlspic.rd: Likewise.
1493         * testsuite/ld-s390/tlsbin.rd: Likewise.
1494         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1495         * testsuite/ld-s390/tlspic.rd: Likewise.
1496         * testsuite/ld-s390/tlspic_64.rd: Likewise.
1497         * testsuite/ld-sh/tlsbin-2.d: Likewise.
1498         * testsuite/ld-sh/tlspic-2.d: Likewise.
1499         * testsuite/ld-tic6x/common.d: Likewise.
1500         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1501         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1502         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1503         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1504         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1505         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1506         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1507         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1508         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1509         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1510         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1511         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1512         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1513         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1514         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1515         * testsuite/ld-x86-64/pr12718.d: Likewise.
1516         * testsuite/ld-x86-64/pr12921.d: Likewise.
1517         * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1518         * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1519         * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1520         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1521         * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1522         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1523         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1524         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1525         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1526         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1527         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1528         * testsuite/ld-x86-64/tlspic.rd: Likewise.
1529         * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1530         * testsuite/ld-xtensa/tlspic.rd: Likewise.
1531
1532 2016-02-11  H.J. Lu  <hongjiu.lu@intel.com>
1533
1534         PR ld/19615
1535         * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1536         PIE.
1537         * lexsup.c (parse_args): Enable -Bsymbolic and
1538         -Bsymbolic-functions for PIE.
1539         * testsuite/ld-i386/i386.exp: Run pr19615.
1540         * testsuite/ld-i386/pr19615.d: New file.
1541         * testsuite/ld-i386/pr19615.s: Likewise.
1542         * testsuite/ld-x86-64/pr19615.d: Likewise.
1543         * testsuite/ld-x86-64/pr19615.s: Likewise.
1544
1545 2016-02-09  Nick Clifton  <nickc@redhat.com>
1546
1547         * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1548         * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1549         * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1550         * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1551
1552 2016-02-04  Nick Clifton  <nickc@redhat.com>
1553
1554         * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1555         * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1556         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1557         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1558         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1559         * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1560         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1561         * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1562         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1563
1564 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
1565
1566         PR gas/19520
1567         * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1568         * testsuite/ld-i386/call1.d: Likewise.
1569         * testsuite/ld-i386/call2.d: Likewise.
1570         * testsuite/ld-i386/call3a.d: Likewise.
1571         * testsuite/ld-i386/call3b.d: Likewise.
1572         * testsuite/ld-i386/call3c.d: Likewise.
1573         * testsuite/ld-i386/call3d.d: Likewise.
1574         * testsuite/ld-i386/call3e.d: Likewise.
1575         * testsuite/ld-i386/call3f.d: Likewise.
1576         * testsuite/ld-i386/call3g.d: Likewise.
1577         * testsuite/ld-i386/call3h.d: Likewise.
1578         * testsuite/ld-i386/jmp1.d: Likewise.
1579         * testsuite/ld-i386/jmp2.d: Likewise.
1580         * testsuite/ld-i386/lea1c.d: Likewise.
1581         * testsuite/ld-i386/load1.d: Likewise.
1582         * testsuite/ld-i386/load2.d: Likewise.
1583         * testsuite/ld-i386/load3.d: Likewise.
1584         * testsuite/ld-i386/load4a.d: Likewise.
1585         * testsuite/ld-i386/load5a.d: Likewise.
1586         * testsuite/ld-i386/mov2b.d: Likewise.
1587         * testsuite/ld-i386/mov3.d: Likewise.
1588         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1589         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1590         * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1591         * testsuite/ld-x86-64/call1a.d: Likewise.
1592         * testsuite/ld-x86-64/call1b.d: Likewise.
1593         * testsuite/ld-x86-64/call1c.d: Likewise.
1594         * testsuite/ld-x86-64/call1d.d: Likewise.
1595         * testsuite/ld-x86-64/call1e.d: Likewise.
1596         * testsuite/ld-x86-64/call1f.d: Likewise.
1597         * testsuite/ld-x86-64/call1h.d: Likewise.
1598         * testsuite/ld-x86-64/call1i.d: Likewise.
1599         * testsuite/ld-x86-64/load1a.d: Likewise.
1600         * testsuite/ld-x86-64/load1b.d: Likewise.
1601         * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1602         * testsuite/ld-i386/got1.dd: Updated.
1603         * testsuite/ld-i386/got1d.S (1): Removed.
1604         * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1605         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1606
1607 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
1608
1609         PR ld/18591
1610         * testsuite/ld-x86-64/pr18591.d: New file.
1611         * testsuite/ld-x86-64/pr18591.s: Likewise.
1612         * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1613
1614 2016-02-01  H.J. Lu  <hongjiu.lu@intel.com>
1615
1616         PR ld/19553
1617         * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1618         * testsuite/ld-elf/pr19553.map: New file.
1619         * testsuite/ld-elf/pr19553.map: Likewise.
1620         * testsuite/ld-elf/pr19553a.c: Likewise.
1621         * testsuite/ld-elf/pr19553b.c: Likewise.
1622         * testsuite/ld-elf/pr19553b.out: Likewise.
1623         * testsuite/ld-elf/pr19553c.c: Likewise.
1624         * testsuite/ld-elf/pr19553c.out: Likewise.
1625         * testsuite/ld-elf/pr19553d.c: Likewise.
1626         * testsuite/ld-elf/pr19553d.out: Likewise.
1627
1628 2016-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1629
1630         PR ld/19539
1631         * testsuite/ld-elf/pr19539.d: New file.
1632         * testsuite/ld-elf/pr19539.s: Likewise.
1633         * testsuite/ld-elf/pr19539.t: Likewise.
1634
1635 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
1636
1637         PR ld/19533
1638         * configure.ac (compressed_debug_sections): Replace == with =.
1639         * configure: Regenerated.
1640
1641 2016-01-22  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
1642
1643         * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1644         * scripttempl/avrtiny.sc (.noinit): Likewise.
1645
1646 2016-01-21  Nick Clifton  <nickc@redhat.com>
1647
1648         PR ld/19453
1649         * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1650         the arm-netbsdelf target.
1651
1652         PR ld/19455
1653         * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1654         disassmebler output.
1655         * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1656         * testsuite/ld-arm/vxworks1.dd: Likewise.
1657         * testsuite/ld-arm/vxworks1.rd: Likewise.
1658         * testsuite/ld-arm/vxworks1.ld: Set the output format.
1659
1660 2016-01-20  Jiong Wang  <jiong.wang@arm.com>
1661
1662         * testsuite/ld-aarch64/farcall-section.d: Delete.
1663         * testsuite/ld-aarch64/farcall-section.s: Delete.
1664         * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1665         * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1666         * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1667         * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1668         * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1669
1670 2016-01-20  Nick Clifton  <nickc@redhat.com>
1671
1672         PR 19457
1673         * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1674         early for PE based targets.
1675         * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1676         * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1677
1678 2016-01-20  Mickael Guene  <mickael.guene@st.com>
1679
1680         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1681         Add 'y' attribute usage.
1682         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1683         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1684         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1685
1686 2016-01-19  Nick Clifton  <nickc@redhat.com>
1687
1688         * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1689         foo@FOO and bar@@FOO.
1690
1691 2016-01-18  Alan Modra  <amodra@gmail.com>
1692
1693         * configure: Regenerate.
1694
1695 2016-01-18  Nick Clifton  <nickc@redhat.com>
1696
1697         * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1698         is not configured to support plugins.
1699
1700         * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1701         but with 16 byte section alignment.
1702         * testsuite/ld-scripts/rgn-at11.d: Use new source file.  Reenable
1703         test for MIPS targets.
1704
1705 2016-01-17  Alan Modra  <amodra@gmail.com>
1706
1707         * configure: Regenerate.
1708
1709 2016-01-17  Alan Modra  <amodra@gmail.com>
1710
1711         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1712         * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1713         * testsuite/ld-elf/pr14156a.d: Likewise.
1714         * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1715         * testsuite/ld-elf/sec64k.exp: Likewise.
1716
1717 2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1718
1719         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1720         Set address of .foo section when linking.
1721         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1722         in .foo section.
1723         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1724         output to the above changes.
1725
1726 2016-01-13  Nick Clifton  <nickc@redhat.com>
1727
1728         * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1729         for MIPS targets.
1730
1731         * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1732         fail for MIPS targets.
1733
1734         * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1735         MIPS targets.
1736
1737 2016-01-12  Yury Usishchev  <y.usishchev@samsung.com>
1738
1739         * testsuite/ld-arm/arm-elf.exp: New test.
1740         * testsuite/ld-arm/unwind-mix.d: New file.
1741         * testsuite/ld-arm/unwind-mix1.s: New file.
1742         * testsuite/ld-arm/unwind-mix2.s: New file.
1743
1744 2016-01-08  Jiong Wang  <jiong.wang@arm.com>
1745
1746         PR ld/19368
1747         * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1748         * testsuite/ld-arm/ifunc-4.rd: Likewise.
1749         * testsuite/ld-arm/ifunc-9.rd: Likewise.
1750         * testsuite/ld-arm/ifunc-10.rd: Likewise.
1751         * testsuite/ld-arm/ifunc-12.rd: Likewise.
1752         * testsuite/ld-arm/ifunc-13.rd: Likewise.
1753
1754 2016-01-05  Nick Clifton  <nickc@redhat.com>
1755
1756         * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1757         MSP430 hardware multiply address range.
1758         * scripttempl/elf32msp430.sc (__romdatastart): Define.
1759         (__romdatacopysize): Define.
1760         * scripttempl/elf32msp430_3.sc: Likewise.
1761
1762 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
1763
1764         * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1765         OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1766
1767 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
1768
1769         * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1770         messages expected according to MIPS BFD private data merge
1771         changes.
1772         * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1773         * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1774         * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1775         * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1776         * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1777         * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1778         * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1779         * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1780         * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1781         * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1782         * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1783         * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1784         * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1785
1786 2016-01-01  Alan Modra  <amodra@gmail.com>
1787
1788         Update year range in copyright notice of all files.
1789
1790 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1791 \f
1792 Copyright (C) 2016 Free Software Foundation, Inc.
1793
1794 Copying and distribution of this file, with or without modification,
1795 are permitted in any medium without royalty provided the copyright
1796 notice and this notice are preserved.
1797
1798 Local Variables:
1799 mode: change-log
1800 left-margin: 8
1801 fill-column: 74
1802 version-control: never
1803 End: