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