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