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