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