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