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