Move ChangeLog entry for PR ld/20376
[external/binutils.git] / ld / ChangeLog
1 2016-07-21  Alan Modra  <amodra@gmail.com>
2
3         * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
4         "targets_to_xfail" parameter with "args".
5         * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
6         all calls to run_ld_link_exec_tests.
7         * testsuite/ld-elf/dwarf.exp: Likewise.
8         * testsuite/ld-elf/indirect.exp: Likewise.
9         * testsuite/ld-elf/wrap.exp: Likewise.
10         * testsuite/ld-i386/i386.exp: Likewise.
11         * testsuite/ld-i386/no-plt.exp: Likewise.
12         * testsuite/ld-i386/tls.exp: Likewise.
13         * testsuite/ld-ifunc/ifunc.exp: Likewise.
14         * testsuite/ld-pie/pie.exp: Likewise.
15         * testsuite/ld-plugin/lto.exp: Likewise.
16         * testsuite/ld-size/size.exp: Likewise.
17         * testsuite/ld-x86-64/mpx.exp: Likewise.
18         * testsuite/ld-x86-64/no-plt.exp: Likewise.
19         * testsuite/ld-x86-64/tls.exp: Likewise.
20         * testsuite/ld-x86-64/x86-64.exp: Likewise.
21         * testsuite/ld-elf/elf.exp: Likewise.  Reorder args when providing
22         xfails and simplify lists.
23         * testsuite/ld-elf/shared.exp: Likewise.
24
25 2016-07-21  Alan Modra  <amodra@gmail.com>
26
27         * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
28         parameter to pass list of xfails.
29         * testsuite/ld-elf/elf.exp: Add xfails for implib tests.  Tidy
30         implib test formatting.  Don't set .data start address.
31         * testsuite/ld-elf/implib.s: Remove first .bss directive and
32         replace second one with equivalent .section directive.
33         * testsuite/ld-elf/empty-implib.out: Add expected final error.
34         * testsuite/ld-elf/implib.rd: Update.
35
36 2016-07-20  Alan Modra  <amodra@gmail.com>
37
38         * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
39         fold expression.
40         * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
41
42 2016-07-19  Roland McGrath  <roland@hack.frob.com>
43
44         * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
45         * emulparams/aarch64elf32.sh: Likewise.
46
47 2016-07-19  Maciej W. Rozycki  <macro@imgtec.com>
48
49         * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
50         messages expected.
51         * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
52         * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
53         * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
54         * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
55         * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
56         * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
57         * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
58         * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
59         * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
60         * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
61         * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
62         * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
63         * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
64         * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
65         * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
66         * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
67         * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
68         * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
69         * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
70         source.
71         * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
72         source.
73         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
74
75 2016-07-19  Maciej W. Rozycki  <macro@imgtec.com>
76
77         * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
78         expected.
79         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
80         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
81         Likewise.
82         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
83         Likewise.
84         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
85         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
86         * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
87         microMIPS BAL and MIPS16 instructions.
88         * testsuite/ld-mips-elf/undefweak-overflow.d: Update
89         accordingly.
90         * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
91         * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
92         * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
93         * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
94         * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
95         * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
96         * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
97         * testsuite/ld-mips-elf/unaligned-jump.d: New test.
98         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
99
100 2016-07-19  Andrew Burgess  <andrew.burgess@embecosm.com>
101
102         * plugin.c (plugin_call_claim_file): Restore the file offset after
103         an unsuccessful attempt to claim a file.
104         * testplug.c (bytes_to_read_before_claim): New global.
105         (record_read_length): New function, sets new global
106         bytes_to_read_before_claim.
107         (parse_option): Handle 'read:<NUMBER>' option.
108         (onclaim_file): Read file content before checking for claim.
109         * testsuite/ld-plugin/plugin-30.d: New file.
110         * testsuite/ld-plugin/plugin.exp: Add new test.
111
112 2016-07-16  Alan Modra  <amodra@gmail.com>
113
114         * plugin.c: Don't include libbfd.h.  Include plugin-api.h
115         before bfd/plugin.h.
116         (plugin_object_p): Use bfd_plugin_open_input.
117
118 2016-07-16  Alan Modra  <amodra@gmail.com>
119
120         * ldlang.c (open_output): Replace bfd_search_for_target with
121         bfd_iterate_over_targets.  Localize vars.
122
123 2016-07-16  Alan Modra  <amodra@gmail.com>
124
125         * ldlang.c: Don't include libbfd.h.
126         * emultempl/nds32elf.em: Likewise.
127         * emultempl/ppc64elf.em: Likewise.
128         * emultempl/ppc32elf.em: Likewise.
129         (pagesize): Delete.
130         (params): Update init.
131         (ppc_after_open_output): Use params.pagesize.  Don't call bfd_log2.
132         (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
133         * emultempl/sh64elf.em: Don't include libbfd.h.
134         (after_allocation): Use ASSERT, not BFD_ASSERT.
135         * emultempl/xtensaelf.em: Don't include libbfd.h.
136         (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
137         * Makefile.am: Update dependencies.
138         * Makefile.in: Regenerate.
139
140 2016-07-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
141             Nick Clifton  <nickc@redhat.com>
142
143         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
144         library file for writing and initialize implib_bfd field of link_info
145         structure.
146         * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
147         (OPTION_IMPLIB_FILENAME): Remove macro definition.
148         (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
149         (gld_${EMULATION_NAME}_list_options): Likewise.
150         (gld${EMULATION_NAME}_handle_option): Likewise.
151         (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
152         instead of pe_implib_filename.
153         * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
154         (OPTION_IMPLIB_FILENAME): Remove enumerator.
155         (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
156         (gld_${EMULATION_NAME}_list_options): Likewise.
157         (gld${EMULATION_NAME}_handle_option): Likewise.
158         (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
159         instead of pep_implib_filename.
160         * ld.h (args_type): Declare new out_implib_filename field.
161         * ld.texinfo (--out-implib): Move documentation to arch-independent
162         part and rephrase to apply to ELF targets.
163         * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
164         defined in linker scripts.
165         * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
166         enumerator.
167         * lexsup.c (ld_options): Add entry for new --out-implib switch.
168         (parse_args): Handle OPTION_OUT_IMPLIB case.
169         * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
170         (Generate import library): Likewise.
171         * testsuite/ld-elf/implib.s: Likewise.
172         * testsuite/ld-elf/implib.rd: New file.
173         * testsuite/ld-elf/empty-implib.out: Likewise
174
175 2016-07-15  Nick Clifton  <nickc@redhat.com>
176
177         * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
178         little endian mode.
179
180 2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
181
182         * testsuite/ld-mips-elf/mips-elf.exp: Run
183         `branch-absolute-addend', `mips16-branch-absolute',
184         `mips16-branch-absolute-addend' and
185         `micromips-branch-absolute-addend'.
186
187 2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
188
189         * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
190         * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
191         * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
192         * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
193         test.
194         * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
195         test.
196         * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
197         test.
198         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
199         from `mips16-branch-absolute' and
200         `mips16-branch-absolute-addend', referred indirectly only.
201
202 2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
203
204         * testsuite/ld-mips-elf/branch-absolute.d: New test.
205         * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
206         * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
207         * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
208         * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
209         * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
210         * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
211         * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
212         test.
213         * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
214         test.
215         * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
216         test.
217         * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
218         New test.
219         * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
220         New test.
221         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
222         from `branch-absolute-addend' and
223         `micromips-branch-absolute-addend', referred indirectly only.
224
225 2016-07-14  Claudiu Zissulescu  <claziss@synopsys.com>
226
227         * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
228         * testsuite/ld-arc/sda-relocs.dd: New file.
229         * testsuite/ld-arc/sda-relocs.ld: Likewise.
230         * testsuite/ld-arc/sda-relocs.rd: Likewise.
231         * testsuite/ld-arc/sda-relocs.s: Likewise.
232         * testsuite/ld-arc/arc.exp: Add SDA tests.
233
234 2016-07-11  Claudiu Zissulescu  <claziss@synopsys.com>
235
236         * testsuite/ld-arc/nps-1b.err: Update test to handle more
237         verbosity.
238
239 2016-07-09  Alan Modra  <amodra@gmail.com>
240
241         * testsuite/ld-powerpc/elfv2exe.d: Update.
242
243 2016-07-06  James Bowman  <james.bowman@ftdichip.com>
244
245         * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
246         (DATA): add ALIGN.
247         (BSS): add ALIGN
248
249 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
250
251         * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
252
253 2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
254
255         * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
256         * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
257         * testsuite/ld-arm/arm-elf.exp: Run it.
258
259 2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
260
261         * testsuite/ld-arm/arm_noread.ld: Renamed to ...
262         testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
263         all noread's by purecode.
264
265 2016-07-05  Jan Beulich  <jbeulich@suse.com>
266
267         * ldexp.c (exp_fold_tree_1): Set linker_def field based on
268         assignment line number.
269         * ldlex.l (lineno): Drop initializer.
270         (<<EOF>>): Set lineno to zero after reaching top of stack.
271
272 2016-07-04  H.J. Lu  <hongjiu.lu@intel.com>
273
274         PR ld/20321
275         * plugin.c (plugin_opt_plugin): Warn and return if plugin has
276         been loaded already.
277         * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
278         * testsuite/ld-plugin/pr20321.c: New file.
279
280 2016-07-04  Nick Clifton  <nickc@redhat.com>
281
282         * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
283         (__RAMSIZE): If not defined, set to 64K.
284         (MEMORY): Set the flash region size to __PMSIZE and the ram region
285         size to __RAMSIZE.
286
287 2016-07-02  Maciej W. Rozycki  <macro@imgtec.com>
288
289         * testsuite/ld-mips-elf/branch-misc-2.d: New test.
290         * testsuite/ld-mips-elf/mips-elf.exp: Run it.
291
292 2016-07-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
293
294         * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
295         (Thumb-2 BL on ARMv6-M): New testcase.
296         * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
297         * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
298
299 2016-07-01  Tristan Gingold  <gingold@adacore.com>
300
301         * NEWS: Add marker for 2.27.
302
303 2016-06-28  H.J. Lu  <hongjiu.lu@intel.com>
304
305         * testsuite/ld-gc/gc.exp: Run pr20306 test.
306         * ld-gc/pr20306.c: New file.
307         * ld-gc/pr20306.d: Likewise.
308
309 2016-06-28  Nick Clifton  <nickc@redhat.com>
310
311         * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
312         for bfin.
313         * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
314         tests to fail for bfin.
315         * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
316         nds32 and visium.
317         * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
318         microblaze.
319         * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
320         mcore-pe.
321
322 2016-06-28  Nick Clifton  <nickc@redhat.com>
323
324         * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
325         expect to fail this test.
326         * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
327         RX.
328         * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
329         fail for the RX.
330         * testsuite/ld-scripts/rgn-at11.d: Likewise.
331         * testsuite/ld-scripts/rgn-at2.d: Likewise.
332         * testsuite/ld-scripts/rgn-at6.d: Likewise.
333         * testsuite/ld-scripts/rgn-at7.d: Likewise.
334         * testsuite/ld-scripts/rgn-at8.d: Likewise.
335
336 2016-06-28  James Clarke  <jrtc27@jrtc27.com>
337
338         * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
339         .text.
340
341 2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
342
343         * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
344         * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
345         * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
346         * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
347
348 2016-06-28  Alan Modra  <amodra@gmail.com>
349
350         PR ld/20302
351         * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
352
353 2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
354
355         * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
356         * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
357         * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
358         * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
359         * testsuite/ld-mips-elf/mips16-branch.s: New test source.
360         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
361
362 2016-06-27  Nick Clifton  <nickc@redhat.com>
363
364         PR ld/20302
365         * lexsup.c (set_segment_start): If resetting the start address of
366         a section, remember to generate a new script element as well.
367         * testsuite/ld-scripts/pr20302.d: New test.
368         * testsuite/ld-scripts/scripts.exp: Run the new test.
369
370 2016-06-24  Alan Modra  <amodra@gmail.com>
371
372         * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
373         Don't error out, always return an emulation.
374
375 2016-06-24  Dilyan Palauzov <dilyan.palauzov@aegee.org>
376             H.J. Lu  <hongjiu.lu@intel.com>
377
378         * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
379         for -z relro help message.
380
381 2016-06-22  Maciej W. Rozycki  <macro@imgtec.com>
382
383         * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
384         address matching.
385
386 2016-06-22  Maciej W. Rozycki  <macro@imgtec.com>
387
388         * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
389         `undefweak-overflow' tests.
390
391 2016-06-22  H.J. Lu  <hongjiu.lu@intel.com>
392
393         PR ld/20283
394         * NEWS: Mention --enable-relro.
395         * configure.ac: Add --enable-relro.
396         (DEFAULT_LD_Z_RELRO): New.  Set by --enable-relro.
397         * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
398         some Linux targets.
399         * config.in: Regenerated.
400         * configure: Likewise.
401         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
402         link_info.relro to DEFAULT_LD_Z_RELRO.
403         * testsuite/config/default.exp (ld_elf_shared_opt): New.
404         * testsuite/lib/ld-lib.exp (run_dump_test): Pass
405         $ld_elf_shared_opt to ld for ELF targets with shared object
406         support.
407         (run_ld_link_tests): Likewise.
408
409 2016-06-21  Maciej W. Rozycki  <macro@imgtec.com>
410
411         * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
412         twice rather than once.
413         * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
414         accordingly.  Remove the full stop from the end of the message.
415
416 2016-06-21  Graham Markall  <graham.markall@embecosm.com>
417
418         * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
419         * testsuite/ld-arc/nps-1b.d: Likewise.
420
421 2016-06-20  H.J. Lu  <hongjiu.lu@intel.com>
422
423         PR ld/20267
424         * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
425         PR ld/20267.
426         (lto_run_tests): Likewise.
427         * testsuite/ld-plugin/pr20267a.c: New file.
428         * testsuite/ld-plugin/pr20267b.c: Likewise.
429
430 2016-06-20  H.J. Lu  <hongjiu.lu@intel.com>
431             Alan Modra  <amodra@gmail.com>
432
433         PR ld/20276
434         * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
435         * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
436         PR ld/20276.
437         (lto_run_tests): Likewise.
438         * testsuite/ld-plugin/pass.out: New file.
439         * testsuite/ld-plugin/pr20276a.c: Likewise.
440         * testsuite/ld-plugin/pr20276b.c: Likewise.
441
442 2016-06-18  H.J. Lu  <hongjiu.lu@intel.com>
443
444         * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
445         with bfd_plugin_unknown.
446
447 2016-06-18  H.J. Lu  <hongjiu.lu@intel.com>
448
449         PR ld/20253
450         * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
451         * testsuite/ld-i386/no-plt.exp: Likewise.
452         * testsuite/ld-x86-64/no-plt.exp: Likewise.
453         * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
454         * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
455         * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
456         * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
457         * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
458         * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
459         * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
460         * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
461         * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
462         * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
463         * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
464         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
465         * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
466         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
467         * testsuite/ld-i386/pr20244-2b.d: Updated.
468         * testsuite/ld-i386/pr20244-2c.d: Likewise.
469         * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
470         * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
471         * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
472         * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
473         * testsuite/ld-i386/pr20253-1a.c: New file.
474         * testsuite/ld-i386/pr20253-1b.S: Likewise.
475         * testsuite/ld-i386/pr20253-1c.S: Likewise.
476         * testsuite/ld-i386/pr20253-1d.S: Likewise.
477         * testsuite/ld-i386/pr20253-2a.c: Likewise.
478         * testsuite/ld-i386/pr20253-2b.S: Likewise.
479         * testsuite/ld-i386/pr20253-2c.S: Likewise.
480         * testsuite/ld-i386/pr20253-2d.S: Likewise.
481         * testsuite/ld-i386/pr20253-3.d: Likewise.
482         * testsuite/ld-i386/pr20253-3.s: Likewise.
483         * testsuite/ld-i386/pr20253-4.s: Likewise.
484         * testsuite/ld-i386/pr20253-4a.d: Likewise.
485         * testsuite/ld-i386/pr20253-4b.d: Likewise.
486         * testsuite/ld-i386/pr20253-4c.d: Likewise.
487         * testsuite/ld-i386/pr20253-5.d: Likewise.
488         * testsuite/ld-i386/pr20253-5.s: Likewise.
489         * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
490         * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
491         * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
492         * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
493         * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
494         * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
495         * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
496         * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
497         * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
498         * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
499         * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
500         * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
501         * testsuite/ld-x86-64/pr20253-1.s: Likewise.
502         * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
503         * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
504         * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
505         * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
506         * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
507         * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
508         * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
509         * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
510         * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
511         * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
512         * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
513         * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
514         * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
515         * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
516         * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
517         * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
518         * testsuite/ld-x86-64/pr20253-3.d: Likewise.
519         * testsuite/ld-x86-64/pr20253-3.s: Likewise.
520         * testsuite/ld-x86-64/pr20253-4.s: Likewise.
521         * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
522         * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
523         * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
524         * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
525         * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
526         * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
527         * testsuite/ld-x86-64/pr20253-5.s: Likewise.
528         * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
529         * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
530         * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
531         relocation.
532         * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
533         * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
534         * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
535         * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
536         * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
537
538 2016-06-17  Thomas Preud'homme  <thomas.preudhomme@arm.com>
539             Tony Wang  <tony.wang@arm.com>
540
541         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
542         Assemble for ARMv6-M.
543         (Thumb2-Thumb2 farcall M profile): New testcase.
544         * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
545         * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
546         reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
547         * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
548
549 2016-06-16  H.J. Lu  <hongjiu.lu@intel.com>
550
551         * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
552         * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
553         Remove .rel.plt section.
554         * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
555
556 2016-06-15  H.J. Lu  <hongjiu.lu@intel.com>
557
558         * testsuite/ld-i386/no-plt-check1a.S (check): Test static
559         function pointer.
560         * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
561         * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
562         * testsuite/ld-i386/no-plt-extern1a.S (func_p): New.  Static
563         function pointer.
564         * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
565         * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
566         * testsuite/ld-i386/no-plt-1a.dd: Updated.
567         * testsuite/ld-i386/no-plt-1b.dd: Likewise.
568         * testsuite/ld-i386/no-plt-1c.dd: Likewise.
569         * testsuite/ld-i386/no-plt-1d.dd: Likewise.
570         * testsuite/ld-i386/no-plt-1e.dd: Likewise.
571         * testsuite/ld-i386/no-plt-1f.dd: Likewise.
572         * testsuite/ld-i386/no-plt-1g.dd: Likewise.
573         * testsuite/ld-i386/no-plt-1h.dd: Likewise.
574         * testsuite/ld-i386/no-plt-1i.dd: Likewise.
575         * testsuite/ld-i386/no-plt-1j.dd: Likewise.
576         * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
577         * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
578         * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
579         * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
580         * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
581         * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
582         * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
583
584 2016-06-14  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
585
586         PR ld/20254
587         * testsuite/ld-avr/avr-prop-6.d: New test.
588         * testsuite/ld-avr/avr-prop-6.s: New test.
589
590 2016-06-14  Alan Modra  <amodra@gmail.com>
591
592         * ldbuildid.c: Formatting.
593         * ldcref.c: Formatting.
594         * ldctor.c: Formatting.
595         * ldemul.c: Formatting.
596         * ldexp.c: Formatting.
597         * ldfile.c: Formatting.
598         * ldlang.c: Formatting.
599         * ldmain.c: Formatting.
600         * ldwrite.c: Formatting.
601
602 2016-06-14  Alan Modra  <amodra@gmail.com>
603
604         * ldlang.c: Expand uses of bfd_my_archive.
605         * ldmain.c: Likewise.
606         * ldmisc.c: Likewise.
607         * plugin.c: Likewise.
608
609 2016-06-14  Alan Modra  <amodra@gmail.com>
610
611         PR ld/20241
612         * ldmain.c (add_archive_element): Just print file name of file within
613         thin archives.
614         * ldmisc.c (vfinfo): Likewise.
615         * plugin.c (plugin_object_p): Open file within thin archives.
616         (plugin_maybe_claim): Expand comment.
617
618 2016-06-13  H.J. Lu  <hongjiu.lu@intel.com>
619
620         PR ld/20244
621         * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
622         pr20244-2c and pr20244-2d.
623         * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
624         * testsuite/ld-i386/pr20244-2.s: New file.
625         * testsuite/ld-i386/pr20244-2a.d: Likewise.
626         * testsuite/ld-i386/pr20244-2b.d: Likewise.
627         * testsuite/ld-i386/pr20244-2c.d: Likewise.
628         * testsuite/ld-i386/pr20244-2d.d: Likewise.
629         * testsuite/ld-i386/pr20244-3a.c: Likewise.
630         * testsuite/ld-i386/pr20244-3b.S: Likewise.
631         * testsuite/ld-i386/pr20244-3c.S: Likewise.
632         * testsuite/ld-i386/pr20244-3d.S: Likewise.
633
634 2016-06-13  H.J. Lu  <hongjiu.lu@intel.com>
635
636         * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
637         * testsuite/ld-i386/ifunc-1a.c: New file.
638         * testsuite/ld-i386/ifunc-1b.S: Likewise.
639         * testsuite/ld-i386/ifunc-1c.S: Likewise.
640         * testsuite/ld-i386/ifunc-1d.S: Likewise.
641
642 2016-06-13  Cupertino Miranda  <cmiranda@synospsy.com>
643
644         * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
645         big endian ARC targets.
646
647 2016-06-12  H.J. Lu  <hongjiu.lu@intel.com>
648
649         * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
650         * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
651         * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
652         * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
653         * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
654         * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
655         * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
656         * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
657         * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
658         * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
659         * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
660         * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
661         * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
662         * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
663         * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
664
665 2016-06-11  H.J. Lu  <hongjiu.lu@intel.com>
666
667         PR ld/20244
668         * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
669         * testsuite/ld-i386/pr20244-1.s: New file.
670         * testsuite/ld-i386/pr20244-1a.d: Likewise.
671         * testsuite/ld-i386/pr20244-1b.d: Likewise.
672         * testsuite/ld-i386/pr20244-1c.d: Likewise.
673
674 2016-06-08  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
675
676         PR ld/20221
677         * testsuite/ld-avr/avr-prop-5.d: New.
678         * testsuite/ld-avr/avr-prop-5.s: New.
679
680 2016-06-09  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
681
682         * testsuite/ld-avr/lds-mega.d: New test.
683         * testsuite/ld-avr/lds-mega.s: New test source.
684         * testsuite/ld-avr/lds-tiny.d: New test.
685         * testsuite/ld-avr/lds-tiny.s: New test source.
686
687 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
688
689         * testsuite/ld-i386/libno-plt-1b.dd: New file.
690         * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
691         * testsuite/ld-i386/no-plt-1a.dd: Likewise.
692         * testsuite/ld-i386/no-plt-1a.rd: Likewise.
693         * testsuite/ld-i386/no-plt-1b.dd: Likewise.
694         * testsuite/ld-i386/no-plt-1b.rd: Likewise.
695         * testsuite/ld-i386/no-plt-1c.dd: Likewise.
696         * testsuite/ld-i386/no-plt-1c.rd: Likewise.
697         * testsuite/ld-i386/no-plt-1d.dd: Likewise.
698         * testsuite/ld-i386/no-plt-1d.rd: Likewise.
699         * testsuite/ld-i386/no-plt-1e.dd: Likewise.
700         * testsuite/ld-i386/no-plt-1e.rd: Likewise.
701         * testsuite/ld-i386/no-plt-1f.dd: Likewise.
702         * testsuite/ld-i386/no-plt-1f.rd: Likewise.
703         * testsuite/ld-i386/no-plt-1g.dd: Likewise.
704         * testsuite/ld-i386/no-plt-1g.rd: Likewise.
705         * testsuite/ld-i386/no-plt-1h.dd: Likewise.
706         * testsuite/ld-i386/no-plt-1h.rd: Likewise.
707         * testsuite/ld-i386/no-plt-1i.dd: Likewise.
708         * testsuite/ld-i386/no-plt-1i.rd: Likewise.
709         * testsuite/ld-i386/no-plt-1j.dd: Likewise.
710         * testsuite/ld-i386/no-plt-1j.rd: Likewise.
711         * testsuite/ld-i386/no-plt-check1a.S: Likewise.
712         * testsuite/ld-i386/no-plt-check1b.S: Likewise.
713         * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
714         * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
715         * testsuite/ld-i386/no-plt-func1.c: Likewise.
716         * testsuite/ld-i386/no-plt-main1.c: Likewise.
717         * testsuite/ld-i386/no-plt.exp: Likewise.
718
719 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
720
721         * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
722         name.
723
724 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
725
726         * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
727         tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
728         * testsuite/ld-i386/pass.out: New file.
729         * testsuite/ld-i386/tls-def1.c: Likewise.
730         * testsuite/ld-i386/tls-gd1.S: Likewise.
731         * testsuite/ld-i386/tls-ld1.S: Likewise.
732         * testsuite/ld-i386/tls-main1.c: Likewise.
733         * testsuite/ld-i386/tls.exp: Likewise.
734         * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
735         * testsuite/ld-i386/tlsbin2.dd: Likewise.
736         * testsuite/ld-i386/tlsbin2.rd: Likewise.
737         * testsuite/ld-i386/tlsbin2.sd: Likewise.
738         * testsuite/ld-i386/tlsbin2.td: Likewise.
739         * testsuite/ld-i386/tlsbinpic2.s: Likewise.
740         * testsuite/ld-i386/tlsgd3.dd: Likewise.
741         * testsuite/ld-i386/tlsgd3.s: Likewise.
742         * testsuite/ld-i386/tlsgd4.d: Likewise.
743         * testsuite/ld-i386/tlsgd4.s: Likewise.
744         * testsuite/ld-i386/tlsld2.s: Likewise.
745         * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
746         * testsuite/ld-i386/tlspic2.dd: Likewise.
747         * testsuite/ld-i386/tlspic2.rd: Likewise.
748         * testsuite/ld-i386/tlspic2.sd: Likewise.
749         * testsuite/ld-i386/tlspic2.td: Likewise.
750         * testsuite/ld-i386/tlspic3.s: Likewise.
751         * testsuite/ld-i386/tlspie3.s: Likewise.
752         * testsuite/ld-i386/tlspie3a.d: Likewise.
753         * testsuite/ld-i386/tlspie3b.d: Likewise.
754         * testsuite/ld-i386/tlspie3c.d: Likewise.
755
756 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
757
758         * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
759         * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
760         * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
761         * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
762         * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
763         * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
764         * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
765         * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
766
767 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
768
769         * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
770         * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
771         * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
772         * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
773         * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
774         * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
775         * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
776         * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
777         * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
778         * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
779         * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
780         * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
781         * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
782         * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
783         * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
784         * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
785         * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
786         * testsuite/ld-x86-64/no-plt.exp: Likewise.
787         * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
788         * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
789         * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
790
791 2016-06-07  Maciej W. Rozycki  <macro@imgtec.com>
792
793         * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
794
795 2016-06-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
796
797         * testsuite/ld-s390/pltoffset-1.dd: New test.
798         * testsuite/ld-s390/pltoffset-1.ld: New test.
799         * testsuite/ld-s390/pltoffset-1.s: New test.
800         * testsuite/ld-s390/s390.exp: Run new test.
801
802 2016-06-07  Alan Modra  <amodra@gmail.com>
803
804         * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
805         * testsuite/ld-powerpc/apuinfo-vle2.s: New.
806         * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
807
808 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
809
810         * testsuite/ld-x86-64/pass.out: New file.
811         * testsuite/ld-x86-64/tls-def1.c: Likewise.
812         * testsuite/ld-x86-64/tls-gd1.S: Likewise.
813         * testsuite/ld-x86-64/tls-ld1.S: Likewise.
814         * testsuite/ld-x86-64/tls-main1.c: Likewise.
815         * testsuite/ld-x86-64/tls.exp: Likewise.
816         * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
817         * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
818         * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
819         * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
820         * testsuite/ld-x86-64/tlsbin2.td: Likewise.
821         * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
822         * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
823         * testsuite/ld-x86-64/tlsgd10.s: Likewise.
824         * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
825         * testsuite/ld-x86-64/tlsgd11.s: Likewise.
826         * testsuite/ld-x86-64/tlsgd12.d: Likewise.
827         * testsuite/ld-x86-64/tlsgd12.s: Likewise.
828         * testsuite/ld-x86-64/tlsgd13.d: Likewise.
829         * testsuite/ld-x86-64/tlsgd13.s: Likewise.
830         * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
831         * testsuite/ld-x86-64/tlsgd14.s: Likewise.
832         * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
833         * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
834         * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
835         * testsuite/ld-x86-64/tlsgd9.s: Likewise.
836         * testsuite/ld-x86-64/tlsld4.dd: Likewise.
837         * testsuite/ld-x86-64/tlsld4.s: Likewise.
838         * testsuite/ld-x86-64/tlsld5.dd: Likewise.
839         * testsuite/ld-x86-64/tlsld5.s: Likewise.
840         * testsuite/ld-x86-64/tlsld6.dd: Likewise.
841         * testsuite/ld-x86-64/tlsld6.s: Likewise.
842         * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
843         * testsuite/ld-x86-64/tlspic2.dd: Likewise.
844         * testsuite/ld-x86-64/tlspic2.rd: Likewise.
845         * testsuite/ld-x86-64/tlspic2.sd: Likewise.
846         * testsuite/ld-x86-64/tlspic2.td: Likewise.
847         * testsuite/ld-x86-64/tlspic3.s: Likewise.
848         * testsuite/ld-x86-64/tlspie2.s: Likewise.
849         * testsuite/ld-x86-64/tlspie2a.d: Likewise.
850         * testsuite/ld-x86-64/tlspie2b.d: Likewise.
851         * testsuite/ld-x86-64/tlspie2c.d: Likewise.
852         * testsuite/ld-x86-64/tlsgd5.dd: Updated.
853         * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
854         * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
855         tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
856         tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
857         tlspie2c.
858
859 2016-06-04  Christian Groessler  <chris@groessler.org>
860
861         * testsuite/ld-z8k/0filler.s: New file.
862         * testsuite/ld-z8k/branch-target.s: New file.
863         * testsuite/ld-z8k/branch-target2.s: New file.
864         * testsuite/ld-z8k/calr-back-8001.d: New file.
865         * testsuite/ld-z8k/calr-back-8002.d: New file.
866         * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
867         * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
868         * testsuite/ld-z8k/calr-forw-8001.d: New file.
869         * testsuite/ld-z8k/calr-forw-8002.d: New file.
870         * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
871         * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
872         * testsuite/ld-z8k/calr-opcode.s: New file.
873         * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
874         * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
875         * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
876         * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
877         * testsuite/ld-z8k/dbjnz-opcode.s: New file.
878         * testsuite/ld-z8k/djnz-back-8001.d: New file.
879         * testsuite/ld-z8k/djnz-back-8002.d: New file.
880         * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
881         * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
882         * testsuite/ld-z8k/djnz-forw-8001.d: New file.
883         * testsuite/ld-z8k/djnz-forw-8002.d: New file.
884         * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
885         * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
886         * testsuite/ld-z8k/djnz-opcode.s: New file.
887         * testsuite/ld-z8k/filler.s: New file.
888         * testsuite/ld-z8k/jr-back-8001.d: New file.
889         * testsuite/ld-z8k/jr-back-8002.d: New file.
890         * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
891         * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
892         * testsuite/ld-z8k/jr-forw-8001.d: New file.
893         * testsuite/ld-z8k/jr-forw-8002.d: New file.
894         * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
895         * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
896         * testsuite/ld-z8k/jr-opcode.s: New file.
897         * testsuite/ld-z8k/ldr-back-8001.d: New file.
898         * testsuite/ld-z8k/ldr-back-8002.d: New file.
899         * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
900         * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
901         * testsuite/ld-z8k/ldr-forw-8001.d: New file.
902         * testsuite/ld-z8k/ldr-forw-8002.d: New file.
903         * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
904         * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
905         * testsuite/ld-z8k/ldr-opcode.s: New file.
906         * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
907         * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
908         * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
909         * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
910         * testsuite/ld-z8k/ldrb-opcode.s: New file.
911         * testsuite/ld-z8k/ldrb-opcode2.s: New file.
912         * testsuite/ld-z8k/other-file.s: New file.
913         * testsuite/ld-z8k/reloc.dd: New file.
914         * testsuite/ld-z8k/reloc.ld: New file.
915         * testsuite/ld-z8k/relocseg.dd: New file.
916         * testsuite/ld-z8k/relocseg.ld: New file.
917         * testsuite/ld-z8k/relocseg1.dd: New file.
918         * testsuite/ld-z8k/this-file.s: New file.
919         * testsuite/ld-z8k/z8k.exp: New file.
920
921 2016-06-03  H.J. Lu  <hongjiu.lu@intel.com>
922
923         * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
924         with -mrelax-relocations=yes.
925         * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
926         * testsuite/ld-i386/lea1b.d (as): Likewise.
927         * testsuite/ld-i386/lea1d.d (as): Likewise.
928         * testsuite/ld-i386/lea1e.d (as): Likewise.
929         * testsuite/ld-i386/lea1f.d (as): Likewise.
930         * testsuite/ld-i386/load7.d (as): Likewise.
931         * testsuite/ld-i386/mov1b.d (as): Likewise.
932         * testsuite/ld-i386/pr19175.d (as): Likewise.
933         * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
934         * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
935         * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
936         * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
937         gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
938
939 2016-06-02  Vineet Gupta  <Vineet.Gupta1@synopsys.com>
940
941         * configure.tgt: Replace -uclibc with *.
942
943 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
944
945         * testsuite/ld-mips-elf/unaligned-branch.d: New test.
946         * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
947         * testsuite/ld-mips-elf/unaligned-text.s: New test source.
948         * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
949
950 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
951
952         * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
953         * testsuite/ld-mips-elf/unaligned-data.s: ... this.
954         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
955         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
956         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
957         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
958
959 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
960
961         * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
962         * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
963         * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
964         * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
965         * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
966         * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
967         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
968
969 2016-05-28  Alan Modra  <amodra@gmail.com>
970
971         * ldmain.c (multiple_definition, multiple_common, add_to_set,
972         constructor_callback, warning_callback, undefined_symbol,
973         reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
974         * emultempl/elf32.em: Adjust callback calls.
975
976 2016-05-27  Maciej W. Rozycki  <macro@imgtec.com>
977
978         * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
979         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
980         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
981         test.
982         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
983         test.
984         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
985         test.
986         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
987         test.
988         * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
989         source.
990         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
991         source.
992         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
993
994 2016-05-27  Maciej W. Rozycki  <macro@imgtec.com>
995
996         * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
997         * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
998         new test.
999         * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1000
1001 2016-05-26  Maciej W. Rozycki  <macro@imgtec.com>
1002
1003         * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1004         `unaligned-jalx-2' here.
1005         * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1006         `unaligned-jalx-mips16-2' here.
1007         * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1008         `unaligned-jalx-micromips-2' here.
1009         * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1010         * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1011         message.
1012         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1013         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1014         * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1015         * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1016         * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1017         test.
1018         * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1019         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1020         `unaligned-lwpc-3' here.
1021         * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1022         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1023         `unaligned-lwpc-2' here.
1024         * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1025         * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1026         * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1027         * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1028         * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1029         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1030         `unaligned-ldpc-4' here.
1031         * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1032         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1033         message.  Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1034         * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1035         * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1036         * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1037         * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1038         * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1039         * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1040         * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1041         * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1042
1043 2016-05-26  Nick Clifton  <nickc@redhat.com>
1044
1045         PR target/20134
1046         * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1047         __bsssize.
1048         * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1049
1050 2016-05-25  Maciej W. Rozycki  <macro@imgtec.com>
1051
1052         * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1053         * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1054         * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1055         * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1056         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1057         * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1058         * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1059         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1060         * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1061         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1062         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1063         * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1064         * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1065         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1066         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1067         * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1068         * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1069         * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1070         * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1071         * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1072         * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1073         * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1074         * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1075         * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1076         * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1077         * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1078         * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1079         * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1080         * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1081         * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1082         * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1083         * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1084         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1085
1086 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1087
1088         PR ld/20103
1089         * ldmain.c (add_archive_element): Don't claim new IR symbols
1090         after all IR symbols have been claimed.
1091         * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1092         check.
1093         * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1094         Run PR ld/20103 tests.
1095         * testsuite/ld-plugin/pr20103a.c: New file.
1096         * testsuite/ld-plugin/pr20103b.c: Likewise.
1097         * testsuite/ld-plugin/pr20103c.c: Likewise.
1098
1099 2016-05-24  Maciej W. Rozycki  <macro@imgtec.com>
1100
1101         * testsuite/ld-mips-elf/jalx-local.d: New test.
1102         * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1103         * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1104         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1105
1106 2016-05-23  Kuba Sejdak  <jakub.sejdak@phoesys.com>
1107
1108         * Makefile.am: Add earmelf_phoenix.c.
1109         * Makefile.in: Regenerate.
1110         * configure.tgt: Add entry for arm-phoenix.
1111         * emulparams/armelf_phoenix.sh: New file.
1112
1113 2016-05-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1114
1115         * emultempl/armelf.em (arm_elf_before_allocation): Call
1116         bfd_elf32_arm_keep_private_stub_output_sections before generic
1117         before_allocation function.
1118
1119 2016-05-20  Maciej W. Rozycki  <macro@imgtec.com>
1120
1121         * testsuite/ld-mips-elf/jalx-addend.d: New test.
1122         * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1123         * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1124         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1125
1126 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1127
1128         PR ld/20117
1129         * testsuite/ld-i386/i386.exp: Run pr20117.
1130         * testsuite/ld-i386/pr19609-1i.d: Updated.
1131         * testsuite/ld-i386/pr20117.d: New file.
1132         * testsuite/ld-i386/pr20117.s: Likewise.
1133
1134 2016-05-19  Cupertino Miranda  <cmiranda@synopsys.com>
1135
1136         * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1137         * testsuite/ld-elf/group8a.d: Likewise.
1138         * testsuite/ld-elf/group8b.d: Likewise.
1139         * testsuite/ld-elf/group9a.d: Likewise.
1140         * testsuite/ld-elf/group9b.d: Likewise.
1141         * testsuite/ld-elf/pr12851.d: Likewise.
1142         * testsuite/ld-elf/pr12975.d: Likewise.
1143         * testsuite/ld-elf/pr13177.d: Likewise.
1144         * testsuite/ld-elf/pr13195.d: Likewise.
1145         * testsuite/ld-elf/pr17615.d: Likewise.
1146         * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1147         * testsuite/ld-elf/group3b.d: Likewise.
1148         * testsuite/ld-srec/srec.exp: Likewise.
1149         * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1150         as supporting gc.
1151         (check_shared_lib_support): Mark ARC as supporting.
1152
1153 2016-05-19  Cupertino Miranda  <cmiranda@synopsys.com>
1154
1155         * emulparams/arcelf.sh: Changed.
1156         * emulparams/arclinux.sh: Likewise.
1157         * scripttempl/arclinux.sc: Moved to a more standard implementation
1158         similar to elf.sc.
1159
1160 2016-05-19  Maciej W. Rozycki  <macro@imgtec.com>
1161
1162         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1163         `ft32-*-*' behind `frv-*-*'.
1164
1165 2016-05-19  Maciej W. Rozycki  <macro@imgtec.com>
1166
1167         * configure.tgt: Remove `am34-*-linux*' support.
1168
1169 2016-05-19  Alan Modra  <amodra@gmail.com>
1170
1171         * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1172         * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1173         * testsuite/ld-scripts/cross3.t: Likewise.
1174         * testsuite/ld-scripts/cross4.t: Likewise.
1175         * testsuite/ld-scripts/cross5.t: Likewise.
1176         * testsuite/ld-scripts/cross6.t: Likewise.
1177         * testsuite/ld-scripts/cross7.t: Likewise.
1178
1179 2016-05-19  Alan Modra  <amodra@gmail.com>
1180
1181         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1182         exe name rather than constructing testname.  Fix typo in
1183         sub-test name.  Log copying.  Use -rpath rather than -R.
1184
1185 2016-05-18  Nick Clifton  <nickc@redhat.com>
1186
1187         * scripttempl/ft32.sc: Use fixed constants for memory region
1188         lengths.  Include DWARF debug sections.
1189         (.data .bss): Do not assign locations during relocatable links.
1190         * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1191         * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1192         * testsuite/ld-elf/sec64k.exp: Likewise.
1193         * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1194         * testsuite/ld-elf/merge.d: Likewise.
1195         * testsuite/ld-elf/orphan-region.d: Likewise.
1196         * testsuite/ld-elf/orphan.s: Likewise.
1197         * testsuite/ld-elf/orphan3.d: Likewise.
1198         * testsuite/ld-elf/pr349.d: Likewise.
1199         * testsuite/ld-elf/warn2.d: Likewise.
1200         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1201         that the FT32 does not support shared libraries.
1202
1203 2016-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1204
1205         * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1206         global CC.
1207
1208 2016-05-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1209
1210         * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1211         above .progmem*.
1212         * scripttempl/avrtiny.sc (text): Likewise.
1213
1214 2016-05-17  Maciej W. Rozycki  <macro@imgtec.com>
1215
1216         * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1217         `supports_gnu_unique' to qualify testing.
1218
1219 2016-05-16  Maciej W. Rozycki  <macro@imgtec.com>
1220
1221         * testsuite/ld-elf/flags1.d: Update the xfail list.
1222
1223 2016-05-15  Maciej W. Rozycki  <macro@imgtec.com>
1224
1225         * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1226         removal.
1227
1228 2016-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1229
1230         PR ld/20097
1231         * testplug2.c (onall_symbols_read): Remove redundant sizeof
1232         on EXPECTED_VIEW_LENGTH.
1233         * testplug4.c (onall_symbols_read): Likewise.
1234
1235 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1236
1237         PR ld/20093
1238         * testsuite/ld-x86-64/pr20093-1.d: New file.
1239         * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1240         * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1241         * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1242         * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1243
1244 2016-05-13  Alan Modra  <amodra@gmail.com>
1245
1246         * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1247         Use different output file name for static app without .rel.plt.
1248         * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1249         * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1250         * testsuite/ld-arm/arm-no-rel-plt.r: New.
1251         * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1252         * testsuite/ld-arm/arm-static-app.r: Likewise.
1253
1254 2016-05-12  H.J. Lu  <hongjiu.lu@intel.com>
1255
1256         PR ld/20070
1257         * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1258         (libldtestplug4_la_SOURCES): New.
1259         (libldtestplug4_la_CFLAGS): Likewise.
1260         (libldtestplug4_la_LDFLAGS): Likewise.
1261         * Makefile.in: Regenerated.
1262         * plugin.c (get_symbols): Return resolution based on IR symbol
1263         kinds for symbols defined/referenced only within IR.
1264         * testplug4.c: New file.
1265         * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1266         * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1267         * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1268         * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1269         (plugin4_path): Likewise.
1270         Add a test for ld/20070.
1271
1272 2016-05-11  Alan Modra  <amodra@gmail.com>
1273
1274         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1275         Call elf32_hppa_init_stub_bfd.
1276
1277 2016-05-11  Alan Modra  <amodra@gmail.com>
1278
1279         PR 20060
1280         * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1281         * testsuite/ld-powerpc/tlsdll.s: New.
1282         * testsuite/ld-powerpc/tlsdll.ver: New.
1283         * testsuite/ld-powerpc/tlsdll_32.s: New.
1284         * testsuite/ld-powerpc/tlsopt5.d: New.
1285         * testsuite/ld-powerpc/tlsopt5.s: New.
1286         * testsuite/ld-powerpc/tlsopt5_32.d: New.
1287         * testsuite/ld-powerpc/tlsopt5_32.s: New.
1288
1289 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1290
1291         * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1292         ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1293
1294 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1295
1296         * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1297         parameter and rename input_section parameter to after_input_section.
1298         Append input stub section to the output section if after_input_section
1299         is NULL.
1300
1301 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1302
1303         * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1304         test.
1305         * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1306         * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1307
1308 2016-05-10  Christophe Lyon  <christophe.lyon@linaro.org>
1309
1310         * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1311
1312 2016-05-09  Christophe Monat  <christophe.monat@st.com>
1313
1314         PR ld/20030
1315         * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1316         tests. Fix misnamed stm32l4xx-fix-all.
1317         * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1318         loads with DP registers.
1319         * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1320         * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1321         * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1322         loads with DP registers.
1323         * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1324
1325 2016-05-09  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
1326
1327         * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1328         program headers.
1329         (xfail): Remove avr-*-*.
1330         Update regex to check the section flags.
1331         * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1332
1333 2016-05-09  Alan Modra  <amodra@gmail.com>
1334
1335         * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1336         * Makefile.in: Regenerate.
1337
1338 2016-05-09  Alan Modra  <amodra@gmail.com>
1339
1340         * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1341         * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1342         * testsuite/ld-scripts/section-match-1.t: Likewise.
1343
1344 2016-05-06  H.J. Lu  <hongjiu.lu@intel.com>
1345
1346         PR ld/17550
1347         * testsuite/ld-elf/pr17550-1.s: New file.
1348         * testsuite/ld-elf/pr17550-2.s: Likewise.
1349         * testsuite/ld-elf/pr17550-3.s: Likewise.
1350         * testsuite/ld-elf/pr17550-4.s: Likewise.
1351         * testsuite/ld-elf/pr17550a.d: Likewise.
1352         * testsuite/ld-elf/pr17550b.d: Likewise.
1353         * testsuite/ld-elf/pr17550c.d: Likewise.
1354         * testsuite/ld-elf/pr17550d.d: Likewise.
1355
1356 2016-05-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1357
1358         * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1359
1360 2016-05-06  H.J. Lu  <hongjiu.lu@intel.com>
1361
1362         * testsuite/ld-i386/i386.exp: Run load7.
1363         * testsuite/ld-i386/load7.d: New file.
1364         * testsuite/ld-i386/load7.map: Likewise.
1365         * testsuite/ld-i386/load7.s: Likewise.
1366         * testsuite/ld-x86-64/load2.d: Likewise.
1367         * testsuite/ld-x86-64/load2.map: Likewise.
1368         * testsuite/ld-x86-64/load2.s: Likewise.
1369         * testsuite/ld-x86-64/x86-64.exp: Run load2.
1370
1371 2016-05-05  H.J. Lu  <hongjiu.lu@intel.com>
1372
1373         * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1374         * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1375         Likewise.
1376         * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1377         Likewise.
1378
1379 2016-05-05  H.J. Lu  <hongjiu.lu@intel.com>
1380
1381         * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1382
1383 2016-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1384
1385         * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1386
1387 2016-05-04  Maciej W. Rozycki  <macro@imgtec.com>
1388
1389         * testsuite/ld-unique/unique.d: New test.
1390         * testsuite/ld-unique/unique.exp: Run the new test.  Adjust
1391         messages for compiled tests.
1392
1393 2016-05-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1394
1395         * testsuite/ld-elf/pr18735.d: Allow other symbols.
1396         * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1397         * testsuite/ld-gc/pr14265.d: Allow other symbols.
1398         * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1399         plugin_tests only if check_shared_lib_support is true.
1400         * testsuite/ld-selective/selective.exp: Add --section-start
1401         flag for avr.
1402
1403 2016-05-03  Maciej W. Rozycki  <macro@imgtec.com>
1404
1405         PR 10549
1406         * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1407
1408 2016-05-03  Jiong Wang  <jiong.wang@arm.com>
1409
1410         * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1411         * NEWS: Mention --no-apply-dynamic-relocs.
1412         * ld.texinfo (ld and the ARM family): Document
1413         --no-apply-dynamic-relocs.
1414         * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1415         * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1416         * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1417         * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1418         option.
1419
1420 2016-05-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1421
1422         * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1423         before running STT_COMMON tests.
1424
1425 2016-04-29  H.J. Lu  <hongjiu.lu@intel.com>
1426
1427         * config/default.exp (NOPIE_CFLAGS): Download source only on
1428         remote host.
1429         (NOPIE_LDFLAGS): Likewise.
1430         * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1431         (check_lto_fat_available): Likewise.
1432         (check_lto_shared_available): Likewise.
1433         (check_ifunc_available): Likewise.
1434         (check_ifunc_attribute_available): Likewise.
1435
1436 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1437
1438         * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1439
1440 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1441
1442         PR ld/20006
1443         * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1444         (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1445         ELF targets.
1446
1447 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1448
1449         * testsuite/ld-elf/compressed1b.d: Pass
1450         --compress-debug-sections=none to ld.
1451         * testsuite/ld-elf/compressed1c.d: Likewise.
1452
1453 2016-04-27  Alan Modra  <amodra@gmail.com>
1454
1455         PR target/19985
1456         * configure.tgt: Don't use var+=.
1457
1458 2016-04-25  Nick Clifton  <nickc@redhat.com>
1459
1460         PR target/19985
1461         * configure.tgt: Include big endian PPC64 emulations with little
1462         endian PPC64 targets.
1463
1464 2016-04-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1465
1466         * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1467
1468 2016-04-21  Nick Clifton  <nickc@redhat.com>
1469
1470         * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1471         prefernce to _bfd_elf_link_check_relocs.  Drop test for ELF
1472         targets.  Do not stop the checks when problems are encountered.
1473
1474 2016-04-21  Alan Modra  <amodra@gmail.com>
1475
1476         * testsuite/ld-scripts/cross3.t: Add commonly used data
1477         and text section names to output section statements.
1478         * testsuite/ld-scripts/cross4.t: Likewise.
1479         * testsuite/ld-scripts/cross5.t: Likewise.
1480         * testsuite/ld-scripts/cross6.t: Likewise.
1481         * testsuite/ld-scripts/cross7.t: Likewise.
1482
1483 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1484
1485         * ldlang.c (lang_check_relocs): New function.
1486         (lang_process): Call lang_check_relocs after lang_gc_sections.
1487         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1488         call _bfd_elf_link_check_relocs here.
1489
1490 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1491
1492         PR ld/19972
1493         * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1494         R_386_NONE or R_X86_64_NONE.
1495
1496 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1497
1498         * testsuite/ld-x86-64/pic1.d: New file.
1499         * testsuite/ld-x86-64/pic1.s: Likewise.
1500         * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1501
1502 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1503
1504         * testsuite/ld-x86-64/pie2.d: New file.
1505         * testsuite/ld-x86-64/pie2.s: Likewise.
1506         * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1507
1508 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1509
1510         PR ld/19969
1511         * testsuite/ld-x86-64/pr19969.d: New file.
1512         * testsuite/ld-x86-64/pr19969a.S: Likewise.
1513         * testsuite/ld-x86-64/pr19969b.S: Likewise.
1514         * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1515
1516 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1517
1518         * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1519         New.
1520         * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1521         Likewise.
1522         * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1523         Likewise.
1524         * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1525         Likewise.
1526         * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1527         Likewise.
1528         * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1529         Likewise.
1530         * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1531         Likewise.
1532         * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1533         Likewise.
1534         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1535         Set check_relocs_after_open_input to TRUE if
1536         CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1537         (gld${EMULATION_NAME}_after_open): Call
1538         _bfd_elf_link_check_relocs on all inputs if
1539         check_relocs_after_open_input is TRUE.
1540
1541 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1542
1543         * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1544         my_personality_v0.
1545
1546 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1547
1548         * emultempl/scoreelf.em: Likewise.
1549
1550 2016-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1551
1552         PR ld/19719
1553         * testsuite/ld-x86-64/pr19719.d: New file.
1554         * testsuite/ld-x86-64/pr19719.s: Likewise.
1555         * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1556
1557 2016-04-18  Matthew Fortune  <matthew.fortune@imgtec.com>
1558
1559         * ld.texinfo: Document NOCROSSREFS_TO script command.
1560         * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1561         (lang_add_nocrossref_to): New prototype.
1562         * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1563         symbols defined in the first section.
1564         (check_nocrossref): Likewise.
1565         * ldgram.y (NOCROSSREFS_TO): New script command.
1566         * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1567         (lang_add_nocrossref_to): New function.
1568         * ldlex.l (NOCROSSREFS_TO): New token.
1569         * NEWS: Mention NOCROSSREFS_TO.
1570         * testsuite/ld-scripts/cross4.t: New file.
1571         * testsuite/ld-scripts/cross5.t: Likewise.
1572         * testsuite/ld-scripts/cross6.t: Likewise.
1573         * testsuite/ld-scripts/cross7.t: Likewise.
1574         * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1575         tests.
1576
1577 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
1578
1579         * Makefile.in: Regenerated with automake 1.11.6.
1580         * aclocal.m4: Likewise.
1581
1582 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1583
1584         * testsuite/ld-arc/arc.exp: New file.
1585         * testsuite/ld-arc/nps-1.s: New file.
1586         * testsuite/ld-arc/nps-1a.d: New file.
1587         * testsuite/ld-arc/nps-1b.d: New file.
1588         * testsuite/ld-arc/nps-1b.err: New file.
1589
1590 2016-04-14  Nick Clifton  <nickc@redhat.com>
1591
1592         PR 19457
1593         * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1594         exceptions for Mingw and Cygwin.
1595
1596 2016-04-13  Andrew Burgess  <andrew.burgess@embecosm.com>
1597
1598         * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1599         check_ld(terminal).
1600
1601 2016-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1602
1603         PR ld/19774
1604         * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1605         tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1606         tests.
1607
1608 2016-04-11  H.J. Lu  <hongjiu.lu@intel.com>
1609
1610         PR ld/19939
1611         * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1612         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1613         * testsuite/ld-i386/pr19939.s: New file.
1614         * testsuite/ld-i386/pr19939a.d: Likewise.
1615         * testsuite/ld-i386/pr19939b.d: Likewise.
1616         * testsuite/ld-x86-64/pr19939.s: Likewise.
1617         * testsuite/ld-x86-64/pr19939a.d: Likewise.
1618         * testsuite/ld-x86-64/pr19939b.d: Likewise.
1619
1620 2016-04-09  Oleg Endo  <olegendo@gcc.gnu.org>
1621
1622         * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1623
1624 2016-04-08  Alan Modra  <amodra@gmail.com>
1625
1626         PR 18452
1627         * ldlang.c (maybe_overlays): Delete.
1628         (lang_size_sections_1): Remove code setting maybe_overlays.
1629         (lang_check_section_addresses): Instead detect overlays by
1630         exact match of section VMAs here.  Fix memory leak.
1631
1632 2016-04-08  Dan Gisselquist  <dgisselq@ieee.org>
1633
1634         * ldlang.c (print_output_section_statement): Show minfo size
1635         in target machine address units.
1636         (print_reloc_statement): Likewise.
1637         (print_padding_statement): Likewise.
1638         (print_data_statement): Likewise.  Ensure minimum print_dot
1639         increment of one address unit.
1640
1641 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1642
1643         * emulparams/arc-endianness.sh: Make little endian default choice.
1644
1645 2016-04-07  Nick Clifton  <nickc@redhat.com>
1646
1647         * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1648         section name.
1649         * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1650
1651 2016-04-05  Andrew Burgess  <andrew.burgess@embecosm.com>
1652
1653         * emulparams/arc-endianness.sh: New file.
1654         * emulparams/arcebelf.sh: Deleted.
1655         * emulparams/arcebelf_prof.sh: Deleted.
1656         * emulparams/arceblinux.sh: Deleted.
1657         * emulparams/arceblinux_prof.sh: Deleted.
1658         * emulparams/arcelf.sh: Include arc-endinness.sh.
1659         * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1660         * emulparams/arclinux.sh: Include arc-endinness.sh.
1661         * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1662         * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1663         * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1664         * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1665         little endian arc targets.
1666         * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1667         * testsuite/ld-elf/group1.d: Likewise.
1668         * testsuite/ld-elf/group3b.d: Likewise.
1669         * testsuite/ld-elf/group8a.d: Likewise.
1670         * testsuite/ld-elf/group8b.d: Likewise.
1671         * testsuite/ld-elf/group9a.d: Likewise.
1672         * testsuite/ld-elf/group9b.d: Likewise.
1673         * testsuite/ld-elf/linkonce2.d: Likewise.
1674         * testsuite/ld-elf/pr12851.d: Likewise.
1675         * testsuite/ld-elf/pr12975.d: Likewise.
1676         * testsuite/ld-elf/pr13177.d: Likewise.
1677         * testsuite/ld-elf/pr13195.d: Likewise.
1678         * testsuite/ld-elf/pr17615.d: Likewise.
1679         * testsuite/ld-elf/pr19162.d: Likewise.
1680         * testsuite/ld-elf/sec64k.exp: Likewise.
1681         * testsuite/lib/ld-lib.exp: Likewise.
1682
1683 2016-04-05  Maciej W. Rozycki  <macro@imgtec.com>
1684
1685         PR ld/19908
1686         * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1687         handling fix.
1688         * testsuite/ld-cris/tls-e-20a.d: Likewise.
1689         * testsuite/ld-cris/tls-e-21.d: Likewise.
1690         * testsuite/ld-cris/tls-e-23.d: Likewise.
1691         * testsuite/ld-cris/tls-e-80.d: Likewise.
1692         * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1693         * testsuite/ld-cris/tls-leie-19.d: Likewise.
1694         * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1695         * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1696         * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1697         * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1698         * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1699         * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1700         * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1701         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1702
1703 2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>
1704
1705         * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1706         * testsuite/ld-discard/start.d: Likewise.
1707         * testsuite/ld-discard/static.d: Likewise.
1708         * testsuite/ld-elf/group1.d: Likewise.
1709         * testsuite/ld-elf/group3b.d: Likewise.
1710         * testsuite/ld-elf/orphan-region.d: Likewise.
1711         * testsuite/ld-elf/orphan.d: Likewise.
1712         * testsuite/ld-elf/orphan3.d: Likewise.
1713         * testsuite/ld-elf/pr349.d: Likewise.
1714         * testsuite/ld-elf/warn1.d: Likewise.
1715         * testsuite/ld-elf/warn2.d: Likewise.
1716         * testsuite/ld-elf/warn3.d: Likewise.
1717         * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1718         through linker flags.
1719         * testsuite/ld-srec/srec.exp: Set as xfail.
1720
1721 2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
1722
1723         PR ld/19827
1724         * testsuite/ld-i386/pr19827-nacl.rd: New file.
1725         * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1726
1727 2016-04-04  Nick Clifton  <nickc@redhat.com>
1728
1729         PR 19803
1730         * emultempl/pe.em (change_undef): New function.  Encapsulates
1731         duplicated code in pe_fixup_stdcalls and adds the newly defined
1732         sym to the gc root list.
1733         (pe_fixup_stdcall): Use the new function.
1734         * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1735         symbol to gc root list.
1736
1737 2016-03-31  Alan Modra  <amodra@gmail.com>
1738
1739         * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1740         (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1741         (print_input_section): Don't use TO_ADDR when printing section
1742         size.
1743         (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1744         (lang_size_sections): Use TO_ADDR in relro end calculation.
1745
1746 2016-03-30  Andrew Burgess  <andrew.burgess@embecosm.com>
1747
1748         * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1749         value from regexp_diff.
1750         * testsuite/ld-elf/orphan-5.l: Fix expected output.
1751         * testsuite/ld-elf/orphan-6.l: Likewise.
1752
1753 2016-03-30  Alan Modra  <amodra@gmail.com>
1754
1755         PR 18452
1756         * ldlang.c (maybe_overlays): New static var.
1757         (lang_size_sections_1): Set it here.
1758         (struct check_sec): New.
1759         (sort_sections_by_lma): Adjust for array of structs.
1760         (sort_sections_by_vma): New function.
1761         (lang_check_section_addresses): Check both LMA and VMA for overlap.
1762         * testsuite/ld-scripts/rgn-over7.d: Adjust.
1763
1764 2016-03-30  Alan Modra  <amodra@gmail.com>
1765
1766         * ldlang.c (lang_size_sections_1): Correct code detecting a
1767         backward non-overlapping move.
1768
1769 2016-03-30  Alan Modra  <amodra@gmail.com>
1770
1771         * ldlang.c (IS_TBSS): New macro, extracted from..
1772         (IGNORE_SECTION): ..here.
1773         (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1774         (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1775
1776 2016-03-22  Nick Clifton  <nickc@redhat.com>
1777
1778         PR ld/19803
1779         * ldlang.c (lang_add_gc_name): New function.  Adds the provided
1780         symbol name to the list of gc symbols.
1781         (lang_process): Call lang_add_gc_name with entry_symbol_default if
1782         entry_symbol.name is NULL.  Use lang_add_gc_name to add the init
1783         and fini function names.
1784         * pe-dll.c (process_def_file_and_drectve): Add exported names to
1785         the gc symbol list.
1786         * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1787         * testsuite/ld-pe/pr19803.d: Tweak expected output.
1788
1789 2016-03-22  Nick Clifton  <nickc@redhat.com>
1790
1791         * configure: Regenerate.
1792
1793 2016-03-21  Nick Clifton  <nickc@redhat.com>
1794
1795         * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1796         * plugin.c: Likewise.
1797         * pe-dll.c: Likewise.
1798
1799 2016-03-18  Awson  <kyrab@mail.ru>
1800
1801         PR 19531
1802         * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1803         this section.
1804         * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1805
1806 2016-03-18  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1807
1808         * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1809
1810 2016-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1811
1812         PR ld/19827
1813         * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1814         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1815         * testsuite/ld-i386/pr19827.rd: New file.
1816         * testsuite/ld-i386/pr19827a.S: Likewise.
1817         * testsuite/ld-i386/pr19827b.S: Likewise.
1818         * testsuite/ld-x86-64/pr19827.rd: Likewise.
1819         * testsuite/ld-x86-64/pr19827a.S: Likewise.
1820         * testsuite/ld-x86-64/pr19827b.S: Likewise.
1821
1822 2016-03-15  H.J. Lu  <hongjiu.lu@intel.com>
1823
1824         PR ld/19807
1825         * Makefile.am (ELF_X86_DEPS): Add
1826         $(srcdir)/emulparams/reloc_overflow.sh.
1827         * Makefile.in: Regenerated.
1828         * NEWS: Mention -z noreloc-overflow.
1829         * ld.texinfo: Document -z noreloc-overflow.
1830         * emulparams/elf32_x86_64.sh: Source
1831         ${srcdir}/emulparams/reloc_overflow.sh.
1832         * emulparams/elf_x86_64.sh: Likewise.
1833         * emulparams/reloc_overflow.sh: New file.
1834         * testsuite/ld-x86-64/pr19807-1.s: New file.
1835         * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1836         * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1837         * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1838         * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1839         * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1840         * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1841         * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1842         * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1843         * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1844
1845 2016-03-13  H.J. Lu  <hongjiu.lu@intel.com>
1846
1847         PR ld/19539
1848         * testsuite/ld-i386/i386.exp: Run pr19539.
1849         * testsuite/ld-i386/pr19539.d: New file.
1850         * testsuite/ld-i386/pr19539.s: Likewise.
1851         * testsuite/ld-i386/pr19539.t: Likewise.
1852         * testsuite/ld-x86-64/pr19539.s: Likewise.
1853         * testsuite/ld-x86-64/pr19539.t: Likewise.
1854         * testsuite/ld-x86-64/pr19539a.d: Likewise.
1855         * testsuite/ld-x86-64/pr19539b.d: Likewise.
1856         * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1857
1858 2016-03-10  Mickael Guene  <mickael.guene@st.com>
1859
1860         PR gas/19744
1861         * testsuite/ld-arm/arm-elf.exp: New tests.
1862         * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1863         * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1864
1865 2016-03-10  Nick Clifton  <nickc@redhat.com>
1866
1867         * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1868
1869 2016-03-09  Pedro Alves  <palves@redhat.com>
1870
1871         * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1872         * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1873
1874 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1875
1876         PR ld/19789
1877         * testsuite/ld-elf/pr19789.d: New file.
1878         * testsuite/ld-elf/pr19789.s: Likewise.
1879
1880 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1881
1882         PR ld/19784
1883         * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1884         * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1885         * testsuite/ld-i386/pr19636-2e.d: Here.  Remove notarget.
1886         * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1887         * testsuite/ld-ifunc/pass.out: New file.
1888         * testsuite/ld-ifunc/pr19784a.c: Likewise.
1889         * testsuite/ld-ifunc/pr19784b.c: Likewise.
1890         * testsuite/ld-ifunc/pr19784c.c: Likewise.
1891
1892 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
1893
1894         PR ld/19774
1895         * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1896         tmpdir/libpr18808.so.  Link tmpdir/pr18841a.o before
1897         tmpdir/libpr18841b.so and tmpdir/libpr18841c.so.  Test
1898         --as-needed for pr18841c.
1899
1900 2016-03-07  H.J. Lu  <hongjiu.lu@intel.com>
1901
1902         PR ld/19774
1903         * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1904         tmpdir/pr18900.so and test --as-needed.  Link tmpdir/gotpc1.o
1905         before tmpdir/got1d.so and test --as-needed.
1906         * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1907         tmpdir/pr18900.so and test --as-needed.
1908
1909 2016-03-07  Jiong Wang  <jiong.wang@arm.com>
1910
1911         * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1912         * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1913         result.
1914         * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1915
1916 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1917
1918         * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1919         before tmpdir/copyreloc-lib.so and test --as-needed.
1920         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1921
1922 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1923
1924         PR ld/19579
1925         * testsuite/ld-elf/pr19579a.c: New file.
1926         * testsuite/ld-elf/pr19579b.c: Likewise.
1927         * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1928
1929 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1930
1931         * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1932
1933 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1934
1935         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1936         Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1937
1938 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
1939
1940         PR ld/19739
1941         * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1942         input sections for relocatable link.
1943         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1944         * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1945
1946 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1947
1948         PR ld/19739
1949         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1950         merge flags of other input sections for relocatable link.
1951
1952 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1953
1954         * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1955
1956 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1957
1958         * testsuite/ld-elf/pr19162.d: Skip arc target.
1959
1960 2016-02-29  H.J. Lu  <hongjiu.lu@intel.com>
1961
1962         PR ld/19162
1963         * testsuite/ld-elf/pr19162.d: New file.
1964         * testsuite/ld-elf/pr19162a.s: Likwise.
1965         * testsuite/ld-elf/pr19162b.s: Likwise.
1966
1967 2016-02-29 Cupertino Miranda  <cmiranda@synopsys.com>
1968
1969         * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1970         * testsuite/ld-elf/merge2.d: Likewise.
1971         * testsuite/ld-elf/merge3.d: Likewise.
1972
1973 2016-02-29  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
1974
1975         * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1976         generated.
1977
1978 2016-02-26  Renlin Li  <renlin.li@arm.com>
1979
1980         * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1981         * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1982         * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1983         * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1984         * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1985         * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1986         * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1987         * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1988         * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1989         * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1990
1991 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
1992
1993         PR ld/19609
1994         * testsuite/ld-i386/got1.dd: Updated.
1995         * testsuite/ld-i386/lea1c.d: Likewise.
1996         * testsuite/ld-i386/load1-nacl.d: Likewise.
1997         * testsuite/ld-i386/load1.d: Likewise.
1998         * testsuite/ld-i386/load4b.d: Likewise.
1999         * testsuite/ld-i386/load5b.d: Likewise.
2000         * testsuite/ld-i386/mov1b.d: Likewise.
2001         * testsuite/ld-x86-64/mov1b.d: Likewise.
2002         * testsuite/ld-x86-64/mov1d.d: Likewise.
2003         * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2004         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2005         * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2006         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2007         * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2008         * testsuite/ld-x86-64/lea1a.d: Likewise.
2009         * testsuite/ld-x86-64/lea1b.d: Likewise.
2010         * testsuite/ld-x86-64/lea1c.d: Likewise.
2011         * testsuite/ld-x86-64/lea1d.d: Likewise.
2012         * testsuite/ld-x86-64/lea1e.d: Likewise.
2013         * testsuite/ld-x86-64/lea1f.d: Likewise.
2014         * testsuite/ld-x86-64/mov1b.d: Likewise.
2015         * testsuite/ld-x86-64/mov1d.d: Likewise.
2016         * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2017         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2018         * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2019         * testsuite/ld-i386/pr19609-1.s: New file.
2020         * testsuite/ld-i386/pr19609-1a.d: Likewise.
2021         * testsuite/ld-i386/pr19609-1b.d: Likewise.
2022         * testsuite/ld-i386/pr19609-1c.d: Likewise.
2023         * testsuite/ld-i386/pr19609-1d.d: Likewise.
2024         * testsuite/ld-i386/pr19609-1e.d: Likewise.
2025         * testsuite/ld-i386/pr19609-1f.d: Likewise.
2026         * testsuite/ld-i386/pr19609-1g.d: Likewise.
2027         * testsuite/ld-i386/pr19609-1h.d: Likewise.
2028         * testsuite/ld-i386/pr19609-1i.d: Likewise.
2029         * testsuite/ld-i386/pr19609-2.s: Likewise.
2030         * testsuite/ld-i386/pr19609-2a.d: Likewise.
2031         * testsuite/ld-i386/pr19609-2b.d: Likewise.
2032         * testsuite/ld-i386/pr19609-2c.d: Likewise.
2033         * testsuite/ld-i386/undefweak.s: Likewise.
2034         * testsuite/ld-i386/undefweaka.d: Likewise.
2035         * testsuite/ld-i386/undefweakb.d: Likewise.
2036         * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2037         * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2038         * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2039         * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2040         * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2041         * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2042         * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2043         * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2044         * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2045         * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2046         * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2047         * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2048         * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2049         * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2050         * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2051         * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2052         * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2053         * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2054         * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2055         * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2056         * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2057         * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2058         * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2059         * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2060         * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2061         * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2062         * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2063         * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2064         * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2065         * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2066         * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2067         * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2068         * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2069         * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2070         * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2071         * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2072         * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2073         * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2074         * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2075         * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2076         * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2077         * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2078         * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2079         * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2080         * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2081         * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2082         * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2083         PR ld/19609.
2084         * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2085         and tests for PR ld/19609.
2086
2087 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2088
2089         PR ld/19645
2090         * NEWS: Mention -z common/-z nocommon for ELF targets.
2091         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2092         -z common and -z nocommon.
2093         * ld.texinfo: Document -z common/-z nocommon.
2094         * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2095         * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2096         --elf-stt-common=yes with assembler.
2097         * testsuite/ld-elfcomm/common-1.s: New file.
2098         * testsuite/ld-elfcomm/common-1a.d: Likewise.
2099         * testsuite/ld-elfcomm/common-1b.d: Likewise.
2100         * testsuite/ld-elfcomm/common-1c.d: Likewise.
2101         * testsuite/ld-elfcomm/common-1d.d: Likewise.
2102         * testsuite/ld-elfcomm/common-1e.d: Likewise.
2103         * testsuite/ld-elfcomm/common-1f.d: Likewise.
2104         * testsuite/ld-elfcomm/common-2.s: Likewise.
2105         * testsuite/ld-elfcomm/common-2a.d: Likewise.
2106         * testsuite/ld-elfcomm/common-2b.d: Likewise.
2107         * testsuite/ld-elfcomm/common-2c.d: Likewise.
2108         * testsuite/ld-elfcomm/common-2d.d: Likewise.
2109         * testsuite/ld-elfcomm/common-2e.d: Likewise.
2110         * testsuite/ld-elfcomm/common-2f.d: Likewise.
2111         * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2112         * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2113         * testsuite/ld-i386/pr19645.d: Likewise.
2114         * testsuite/ld-i386/pr19645.s: Likewise.
2115         * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2116         * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2117         * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2118         * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2119         * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2120         * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2121         * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2122         * testsuite/ld-x86-64/pr19645.d: Likewise.
2123         * testsuite/ld-x86-64/pr19645.s: Likewise.
2124         * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2125         with assembler.
2126         (assembler_generates_commons): Removed.
2127         Run -z common/-z nocommon tests.  Run *.d tests.
2128         * testsuite/ld-i386/i386.exp: Run pr19645.
2129         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2130         * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2131         assembler.  Test STT_COMMON with readelf.
2132
2133 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2134
2135         PR ld/19636
2136         PR ld/19704
2137         PR ld/19719
2138         * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2139         * Makefile.in: Regenerated.
2140         * NEWS: Mention -z nodynamic-undefined-weak.
2141         * ld.texinfo: Document -z nodynamic-undefined-weak.
2142         * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2143         * emulparams/dynamic_undefined_weak.sh: New file.
2144         * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2145         * emulparams/elf_i386.sh: Likewise.
2146         * emulparams/elf_i386_be.sh: Likewise.
2147         * emulparams/elf_i386_chaos.sh: Likewise.
2148         * emulparams/elf_i386_ldso.sh: Likewise.
2149         * emulparams/elf_i386_vxworks.sh: Likewise.
2150         * emulparams/elf_iamcu.sh: Likewise.
2151         * emulparams/elf_k1om.sh: Likewise.
2152         * emulparams/elf_l1om.sh: Likewise.
2153         * emulparams/elf_x86_64.sh: Likewise.
2154         * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2155         Append.
2156         (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2157         * testsuite/ld-elf/pr19719a.c: New file.
2158         * testsuite/ld-elf/pr19719b.c: Likewise.
2159         * testsuite/ld-elf/pr19719c.c: Likewise.
2160         * testsuite/ld-elf/pr19719d.c: Likewise.
2161         * testsuite/ld-i386/pr19636-1.s: Likewise.
2162         * testsuite/ld-i386/pr19636-1a.d: Likewise.
2163         * testsuite/ld-i386/pr19636-1b.d: Likewise.
2164         * testsuite/ld-i386/pr19636-1c.d: Likewise.
2165         * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2166         * testsuite/ld-i386/pr19636-1d.d: Likewise.
2167         * testsuite/ld-i386/pr19636-1e.d: Likewise.
2168         * testsuite/ld-i386/pr19636-1f.d: Likewise.
2169         * testsuite/ld-i386/pr19636-1g.d: Likewise.
2170         * testsuite/ld-i386/pr19636-1h.d: Likewise.
2171         * testsuite/ld-i386/pr19636-1i.d: Likewise.
2172         * testsuite/ld-i386/pr19636-2.s: Likewise.
2173         * testsuite/ld-i386/pr19636-2a.d: Likewise.
2174         * testsuite/ld-i386/pr19636-2b.d: Likewise.
2175         * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2176         * testsuite/ld-i386/pr19636-2c.d: Likewise.
2177         * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2178         * testsuite/ld-i386/pr19636-2d.d: Likewise.
2179         * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2180         * testsuite/ld-i386/pr19636-2e.d: Likewise.
2181         * testsuite/ld-i386/pr19636-3.s: Likewise.
2182         * testsuite/ld-i386/pr19636-3a.d: Likewise.
2183         * testsuite/ld-i386/pr19636-3b.d: Likewise.
2184         * testsuite/ld-i386/pr19636-3c.d: Likewise.
2185         * testsuite/ld-i386/pr19636-3d.d: Likewise.
2186         * testsuite/ld-i386/pr19636-3e.d: Likewise.
2187         * testsuite/ld-i386/pr19636-3f.d: Likewise.
2188         * testsuite/ld-i386/pr19636-3g.d: Likewise.
2189         * testsuite/ld-i386/pr19636-4.s: Likewise.
2190         * testsuite/ld-i386/pr19636-4a.d: Likewise.
2191         * testsuite/ld-i386/pr19636-4b.d: Likewise.
2192         * testsuite/ld-i386/pr19636-4c.d: Likewise.
2193         * testsuite/ld-i386/pr19636-4d.d: Likewise.
2194         * testsuite/ld-i386/pr19704.out: Likewise.
2195         * testsuite/ld-i386/pr19704a.c: Likewise.
2196         * testsuite/ld-i386/pr19704b.c: Likewise.
2197         * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2198         * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2199         * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2200         * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2201         * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2202         * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2203         * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2204         * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2205         * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2206         * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2207         * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2208         * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2209         * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2210         * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2211         * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2212         * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2213         * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2214         * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2215         * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2216         * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2217         * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2218         * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2219         * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2220         * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2221         * testsuite/ld-x86-64/pr19704.out: Likewise.
2222         * testsuite/ld-x86-64/pr19704a.c: Likewise.
2223         * testsuite/ld-x86-64/pr19704b.c: Likewise.
2224         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2225         Run mix_pic_and_non_pic.
2226         * testsuite/ld-i386/i386.exp (undefined_weak): New.
2227         Run undefined_weak and PR ld/19636 tests.
2228         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2229         * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2230         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2231
2232 2016-02-25  Nick Clifton  <nickc@redhat.com>
2233
2234         * ld.h (struct ld_config_type): Remove specified_data_size field.
2235
2236 2016-02-24  H.J. Lu  <hongjiu.lu@intel.com>
2237
2238         PR ld/19698
2239         * testsuite/ld-elf/pr19698.d: New file.
2240         * testsuite/ld-elf/pr19698.s: Likewise.
2241         * testsuite/ld-elf/pr19698.t: Likewise.
2242
2243 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2244
2245         * Makefile.am (ELF_X86_DEPS): New.
2246         (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2247         (eelf_i386_chaos.c): Likewise.
2248         (eelf_i386_fbsd.c): Likewise.
2249         (eelf_i386_ldso.c): Likewise.
2250         (eelf_i386_nacl.c): Likewise.
2251         (eelf_i386_sol2.c): Likewise.
2252         (eelf_iamcu.c): Likewise.
2253         (eelf32_x86_64.c): Likewise.
2254         (eelf32_x86_64_nacl.c): Likewise.
2255         (eelf_l1om.c): Likewise.
2256         (eelf_l1om_fbsd.c): Likewise.
2257         (eelf_k1om.c): Likewise.
2258         (eelf_k1om_fbsd.c): Likewise.
2259         (eelf_x86_64.c): Likewise.
2260         (eelf_x86_64_cloudabi.c): Likewise.
2261         (eelf_x86_64_fbsd.c): Likewise.
2262         (eelf_x86_64_sol2.c): Likewise.
2263         * Makefile.in: Regenerated.
2264
2265 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2266
2267         * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2268         * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2269         * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2270         * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2271
2272 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
2273
2274         * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2275
2276 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2277
2278         * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2279         *-*-gnu* and *-*-solaris*.
2280         * testsuite/ld-elf/pr19617b.d: Likewise.
2281         * testsuite/ld-elf/pr19617c.d: Likewise.
2282
2283 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2284
2285         PR ld/19617
2286         * testsuite/ld-elf/pr19617.s: New file.
2287         * testsuite/ld-elf/pr19617a.d: Likewise.
2288         * testsuite/ld-elf/pr19617b.d: Likewise.
2289         * testsuite/ld-elf/pr19617c.d: Likewise.
2290
2291 2016-02-18  Nick Clifton  <nickc@redhat.com>
2292
2293         * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2294         in-tree xg++ executable after checking for the presence of an
2295         in-tree g++ executable.
2296         * Makefile.in: Regenerate.
2297
2298 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2299
2300         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2301         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2302         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2303
2304 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2305
2306         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2307         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2308         * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2309         * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2310         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2311         * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2312         * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2313         * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2314         * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2315         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2316         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2317         * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2318         * testsuite/ld-x86-64/load1c.d: Likewise.
2319         * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2320         * testsuite/ld-x86-64/load1d.d: Likewise.
2321         * testsuite/ld-x86-64/pr14207.d: Likewise.
2322         * testsuite/ld-x86-64/pr19162.d: Likewise.
2323         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2324         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2325         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2326         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2327         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2328         * testsuite/ld-x86-64/tlspic.rd: Likewise.
2329
2330 2016-02-17  Nick Clifton  <nickc@redhat.com>
2331
2332         * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2333
2334 2016-02-15  Nick Clifton  <nickc@redhat.com>
2335
2336         * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2337         description of the flags produced by readelf.
2338         * testsuite/ld-i386/pr12921.d: Likewise.
2339         * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2340         * testsuite/ld-i386/tlsbin.rd: Likewise.
2341         * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2342         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2343         * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2344         * testsuite/ld-i386/tlsdesc.rd: Likewise.
2345         * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2346         * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2347         * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2348         * testsuite/ld-i386/tlsnopic.rd: Likewise.
2349         * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2350         * testsuite/ld-i386/tlspic.rd: Likewise.
2351         * testsuite/ld-s390/tlsbin.rd: Likewise.
2352         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2353         * testsuite/ld-s390/tlspic.rd: Likewise.
2354         * testsuite/ld-s390/tlspic_64.rd: Likewise.
2355         * testsuite/ld-sh/tlsbin-2.d: Likewise.
2356         * testsuite/ld-sh/tlspic-2.d: Likewise.
2357         * testsuite/ld-tic6x/common.d: Likewise.
2358         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2359         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2360         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2361         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2362         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2363         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2364         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2365         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2366         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2367         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2368         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2369         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2370         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2371         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2372         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2373         * testsuite/ld-x86-64/pr12718.d: Likewise.
2374         * testsuite/ld-x86-64/pr12921.d: Likewise.
2375         * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2376         * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2377         * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2378         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2379         * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2380         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2381         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2382         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2383         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2384         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2385         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2386         * testsuite/ld-x86-64/tlspic.rd: Likewise.
2387         * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2388         * testsuite/ld-xtensa/tlspic.rd: Likewise.
2389
2390 2016-02-11  H.J. Lu  <hongjiu.lu@intel.com>
2391
2392         PR ld/19615
2393         * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2394         PIE.
2395         * lexsup.c (parse_args): Enable -Bsymbolic and
2396         -Bsymbolic-functions for PIE.
2397         * testsuite/ld-i386/i386.exp: Run pr19615.
2398         * testsuite/ld-i386/pr19615.d: New file.
2399         * testsuite/ld-i386/pr19615.s: Likewise.
2400         * testsuite/ld-x86-64/pr19615.d: Likewise.
2401         * testsuite/ld-x86-64/pr19615.s: Likewise.
2402
2403 2016-02-09  Nick Clifton  <nickc@redhat.com>
2404
2405         * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2406         * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2407         * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2408         * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2409
2410 2016-02-04  Nick Clifton  <nickc@redhat.com>
2411
2412         * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2413         * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2414         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2415         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2416         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2417         * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2418         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2419         * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2420         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2421
2422 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2423
2424         PR gas/19520
2425         * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2426         * testsuite/ld-i386/call1.d: Likewise.
2427         * testsuite/ld-i386/call2.d: Likewise.
2428         * testsuite/ld-i386/call3a.d: Likewise.
2429         * testsuite/ld-i386/call3b.d: Likewise.
2430         * testsuite/ld-i386/call3c.d: Likewise.
2431         * testsuite/ld-i386/call3d.d: Likewise.
2432         * testsuite/ld-i386/call3e.d: Likewise.
2433         * testsuite/ld-i386/call3f.d: Likewise.
2434         * testsuite/ld-i386/call3g.d: Likewise.
2435         * testsuite/ld-i386/call3h.d: Likewise.
2436         * testsuite/ld-i386/jmp1.d: Likewise.
2437         * testsuite/ld-i386/jmp2.d: Likewise.
2438         * testsuite/ld-i386/lea1c.d: Likewise.
2439         * testsuite/ld-i386/load1.d: Likewise.
2440         * testsuite/ld-i386/load2.d: Likewise.
2441         * testsuite/ld-i386/load3.d: Likewise.
2442         * testsuite/ld-i386/load4a.d: Likewise.
2443         * testsuite/ld-i386/load5a.d: Likewise.
2444         * testsuite/ld-i386/mov2b.d: Likewise.
2445         * testsuite/ld-i386/mov3.d: Likewise.
2446         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2447         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2448         * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2449         * testsuite/ld-x86-64/call1a.d: Likewise.
2450         * testsuite/ld-x86-64/call1b.d: Likewise.
2451         * testsuite/ld-x86-64/call1c.d: Likewise.
2452         * testsuite/ld-x86-64/call1d.d: Likewise.
2453         * testsuite/ld-x86-64/call1e.d: Likewise.
2454         * testsuite/ld-x86-64/call1f.d: Likewise.
2455         * testsuite/ld-x86-64/call1h.d: Likewise.
2456         * testsuite/ld-x86-64/call1i.d: Likewise.
2457         * testsuite/ld-x86-64/load1a.d: Likewise.
2458         * testsuite/ld-x86-64/load1b.d: Likewise.
2459         * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2460         * testsuite/ld-i386/got1.dd: Updated.
2461         * testsuite/ld-i386/got1d.S (1): Removed.
2462         * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2463         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2464
2465 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2466
2467         PR ld/18591
2468         * testsuite/ld-x86-64/pr18591.d: New file.
2469         * testsuite/ld-x86-64/pr18591.s: Likewise.
2470         * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2471
2472 2016-02-01  H.J. Lu  <hongjiu.lu@intel.com>
2473
2474         PR ld/19553
2475         * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2476         * testsuite/ld-elf/pr19553.map: New file.
2477         * testsuite/ld-elf/pr19553.map: Likewise.
2478         * testsuite/ld-elf/pr19553a.c: Likewise.
2479         * testsuite/ld-elf/pr19553b.c: Likewise.
2480         * testsuite/ld-elf/pr19553b.out: Likewise.
2481         * testsuite/ld-elf/pr19553c.c: Likewise.
2482         * testsuite/ld-elf/pr19553c.out: Likewise.
2483         * testsuite/ld-elf/pr19553d.c: Likewise.
2484         * testsuite/ld-elf/pr19553d.out: Likewise.
2485
2486 2016-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2487
2488         PR ld/19539
2489         * testsuite/ld-elf/pr19539.d: New file.
2490         * testsuite/ld-elf/pr19539.s: Likewise.
2491         * testsuite/ld-elf/pr19539.t: Likewise.
2492
2493 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2494
2495         PR ld/19533
2496         * configure.ac (compressed_debug_sections): Replace == with =.
2497         * configure: Regenerated.
2498
2499 2016-01-22  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
2500
2501         * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2502         * scripttempl/avrtiny.sc (.noinit): Likewise.
2503
2504 2016-01-21  Nick Clifton  <nickc@redhat.com>
2505
2506         PR ld/19453
2507         * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2508         the arm-netbsdelf target.
2509
2510         PR ld/19455
2511         * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2512         disassmebler output.
2513         * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2514         * testsuite/ld-arm/vxworks1.dd: Likewise.
2515         * testsuite/ld-arm/vxworks1.rd: Likewise.
2516         * testsuite/ld-arm/vxworks1.ld: Set the output format.
2517
2518 2016-01-20  Jiong Wang  <jiong.wang@arm.com>
2519
2520         * testsuite/ld-aarch64/farcall-section.d: Delete.
2521         * testsuite/ld-aarch64/farcall-section.s: Delete.
2522         * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2523         * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2524         * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2525         * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2526         * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2527
2528 2016-01-20  Nick Clifton  <nickc@redhat.com>
2529
2530         PR 19457
2531         * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2532         early for PE based targets.
2533         * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2534         * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2535
2536 2016-01-20  Mickael Guene  <mickael.guene@st.com>
2537
2538         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2539         Add 'y' attribute usage.
2540         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2541         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2542         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2543
2544 2016-01-19  Nick Clifton  <nickc@redhat.com>
2545
2546         * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2547         foo@FOO and bar@@FOO.
2548
2549 2016-01-18  Alan Modra  <amodra@gmail.com>
2550
2551         * configure: Regenerate.
2552
2553 2016-01-18  Nick Clifton  <nickc@redhat.com>
2554
2555         * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2556         is not configured to support plugins.
2557
2558         * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2559         but with 16 byte section alignment.
2560         * testsuite/ld-scripts/rgn-at11.d: Use new source file.  Reenable
2561         test for MIPS targets.
2562
2563 2016-01-17  Alan Modra  <amodra@gmail.com>
2564
2565         * configure: Regenerate.
2566
2567 2016-01-17  Alan Modra  <amodra@gmail.com>
2568
2569         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2570         * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2571         * testsuite/ld-elf/pr14156a.d: Likewise.
2572         * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2573         * testsuite/ld-elf/sec64k.exp: Likewise.
2574
2575 2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2576
2577         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2578         Set address of .foo section when linking.
2579         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2580         in .foo section.
2581         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2582         output to the above changes.
2583
2584 2016-01-13  Nick Clifton  <nickc@redhat.com>
2585
2586         * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2587         for MIPS targets.
2588
2589         * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2590         fail for MIPS targets.
2591
2592         * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2593         MIPS targets.
2594
2595 2016-01-12  Yury Usishchev  <y.usishchev@samsung.com>
2596
2597         * testsuite/ld-arm/arm-elf.exp: New test.
2598         * testsuite/ld-arm/unwind-mix.d: New file.
2599         * testsuite/ld-arm/unwind-mix1.s: New file.
2600         * testsuite/ld-arm/unwind-mix2.s: New file.
2601
2602 2016-01-08  Jiong Wang  <jiong.wang@arm.com>
2603
2604         PR ld/19368
2605         * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2606         * testsuite/ld-arm/ifunc-4.rd: Likewise.
2607         * testsuite/ld-arm/ifunc-9.rd: Likewise.
2608         * testsuite/ld-arm/ifunc-10.rd: Likewise.
2609         * testsuite/ld-arm/ifunc-12.rd: Likewise.
2610         * testsuite/ld-arm/ifunc-13.rd: Likewise.
2611
2612 2016-01-05  Nick Clifton  <nickc@redhat.com>
2613
2614         * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2615         MSP430 hardware multiply address range.
2616         * scripttempl/elf32msp430.sc (__romdatastart): Define.
2617         (__romdatacopysize): Define.
2618         * scripttempl/elf32msp430_3.sc: Likewise.
2619
2620 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
2621
2622         * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2623         OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2624
2625 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
2626
2627         * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2628         messages expected according to MIPS BFD private data merge
2629         changes.
2630         * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2631         * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2632         * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2633         * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2634         * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2635         * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2636         * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2637         * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2638         * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2639         * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2640         * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2641         * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2642         * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2643
2644 2016-01-01  Alan Modra  <amodra@gmail.com>
2645
2646         Update year range in copyright notice of all files.
2647
2648 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2649 \f
2650 Copyright (C) 2016 Free Software Foundation, Inc.
2651
2652 Copying and distribution of this file, with or without modification,
2653 are permitted in any medium without royalty provided the copyright
2654 notice and this notice are preserved.
2655
2656 Local Variables:
2657 mode: change-log
2658 left-margin: 8
2659 fill-column: 74
2660 version-control: never
2661 End: