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