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