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