95a63ea135ad6cfbb52fb02fc04bcdadf9c62471
[external/binutils.git] / ld / ChangeLog
1 2016-08-25  Alan Modra  <amodra@gmail.com>
2
3         * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
4         support for BE.  First output all target endian configury
5         values, then opposite endian.  Handle more tooldirs.  Fix
6         bogus matches with strings in MANUF-OS part of target triple.
7
8 2016-08-23  Alan Modra  <amodra@gmail.com>
9
10         * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
11         twice.
12
13 2016-08-19  Nick Clifton  <nickc@redhat.com>
14
15         * emultempl/aarch64elf.em (before_parse): Initialise the relro
16         field in the link_info structure.
17         * emultempl/armelf.em (before_parse): Likewise.
18         * emultempl/linux.em (before_parse): Likewise.
19         * emultempl/scoreelf.em (before_parse): Likewise.
20
21         * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
22         * testsuite/ld-alpha/tlsbinr.rd: Likewise.
23         * testsuite/ld-alpha/tlspic.rd: Likewise.
24         * testsuite/ld-cris/libdso-2.d: Likewise.
25         * testsuite/ld-i386/nogot1.d: Likewise.
26         * testsuite/ld-i386/pr12718.d: Likewise.
27         * testsuite/ld-i386/pr12921.d: Likewise.
28         * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
29         * testsuite/ld-i386/tlsbin.rd: Likewise.
30         * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
31         * testsuite/ld-i386/tlsbin2.rd: Likewise.
32         * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
33         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
34         * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
35         * testsuite/ld-i386/tlsdesc.rd: Likewise.
36         * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
37         * testsuite/ld-i386/tlsgdesc.rd: Likewise.
38         * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
39         * testsuite/ld-i386/tlsnopic.rd: Likewise.
40         * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
41         * testsuite/ld-i386/tlspic.rd: Likewise.
42         * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
43         * testsuite/ld-i386/tlspic2.rd: Likewise.
44         * testsuite/ld-ia64/tlsbin.rd: Likewise.
45         * testsuite/ld-ia64/tlspic.rd: Likewise.
46         * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
47         * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
48         * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
49         * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
50         * testsuite/ld-mmix/bspec1.d: Likewise.
51         * testsuite/ld-mmix/bspec2.d: Likewise.
52         * testsuite/ld-mmix/local1.d: Likewise.
53         * testsuite/ld-mmix/local3.d: Likewise.
54         * testsuite/ld-mmix/local5.d: Likewise.
55         * testsuite/ld-mmix/local7.d: Likewise.
56         * testsuite/ld-mmix/undef-3.d: Likewise.
57         * testsuite/ld-powerpc/tlsexe.r: Likewise.
58         * testsuite/ld-powerpc/tlsexe32.r: Likewise.
59         * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
60         * testsuite/ld-powerpc/tlsso.r: Likewise.
61         * testsuite/ld-powerpc/tlsso32.r: Likewise.
62         * testsuite/ld-powerpc/tlstocso.r: Likewise.
63         * testsuite/ld-s390/tlsbin.rd: Likewise.
64         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
65         * testsuite/ld-s390/tlspic.rd: Likewise.
66         * testsuite/ld-s390/tlspic_64.rd: Likewise.
67         * testsuite/ld-sh/sh64/crange1.rd: Likewise.
68         * testsuite/ld-sh/sh64/crange2.rd: Likewise.
69         * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
70         * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
71         * testsuite/ld-sh/sh64/crange3.rd: Likewise.
72         * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
73         * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
74         * testsuite/ld-sh/tlsbin-2.d: Likewise.
75         * testsuite/ld-sh/tlspic-2.d: Likewise.
76         * testsuite/ld-sparc/gotop32.rd: Likewise.
77         * testsuite/ld-sparc/gotop64.rd: Likewise.
78         * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
79         * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
80         * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
81         * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
82         * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
83         * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
84         * testsuite/ld-tic6x/common.d: Likewise.
85         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
86         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
87         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
88         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
89         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
90         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
91         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
92         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
93         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
94         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
95         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
96         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
97         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
98         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
99         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
100         * testsuite/ld-x86-64/nogot1.d: Likewise.
101         * testsuite/ld-x86-64/pr12718.d: Likewise.
102         * testsuite/ld-x86-64/pr12921.d: Likewise.
103         * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
104         * testsuite/ld-x86-64/split-by-file.rd: Likewise.
105         * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
106         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
107         * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
108         * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
109         * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
110         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
111         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
112         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
113         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
114         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
115         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
116         * testsuite/ld-x86-64/tlspic.rd: Likewise.
117         * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
118         * testsuite/ld-x86-64/tlspic2.rd: Likewise.
119         * testsuite/ld-xtensa/tlsbin.rd: Likewise.
120         * testsuite/ld-xtensa/tlspic.rd: Likewise.
121
122 2016-08-18  Alan Modra  <amodra@gmail.com>
123
124         * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
125         unresolved.
126
127 2016-08-12  Alan Modra  <amodra@gmail.com>
128
129         * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
130         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
131         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
132         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
133         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
134         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
135         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
136         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
137         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
138         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
139         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
140         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
141         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
142
143 2016-08-12  Alan Modra  <amodra@gmail.com>
144
145         * testsuite/ld-undefined/weak-fundef.s: New.
146         * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
147         * testsuite/ld-undefined/weak-undef.exp: Run new tests.  Rearrange
148         much of old code.  Use is_elf_format to select targets.
149
150 2016-08-11  Alan Modra  <amodra@gmail.com>
151
152         PR ld/20436
153         * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
154         remote_exec status.
155         (check_gcc_plugin_enabled): Likewise.  Revert previous patch.
156
157 2016-08-11  Nick Clifton  <nickc@redhat.com>
158
159         PR ld/20436
160         * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
161         testing remotely, check to see if target compiler is installed
162         before trying to run it.
163
164 2016-08-10  Maciej W. Rozycki  <macro@imgtec.com>
165
166         PR ld/15428
167         * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
168         test 2.
169
170 2016-08-10  Maciej W. Rozycki  <macro@imgtec.com>
171
172         * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
173         test.
174         * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
175         test.
176         * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
177         * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
178         * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
179         source.
180         * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
181         source.
182         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
183
184 2016-08-09  H.J. Lu  <hongjiu.lu@intel.com>
185
186         PR ld/20436
187         * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
188         proc.
189         (check_lto_available): Return 0 if check_gcc_plugin_enabled
190         returns 0.
191         (check_lto_fat_available): Likewise.
192         (check_lto_shared_available): Likewise.
193
194 2016-08-09  Roland McGrath  <roland@hack.frob.com>
195
196         * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
197
198 2016-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
199
200         * emultempl/armelf.em (cmse_implib): Declare and define this new
201         static variable.
202         (arm_elf_create_output_section_statements): Add new cmse_implib
203         parameter.
204         (OPTION_CMSE_IMPLIB): Define macro.
205         (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
206         (PARSE_AND_LIST_OPTIONS): Likewise.
207         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
208         * ld.texinfo (--cmse-implib): Document new option.
209         * testsuite/ld-arm/arm-elf.exp
210         (Secure gateway import library generation): New test.
211         (Secure gateway import library generation: errors): Likewise.
212         * testsuite/ld-arm/cmse-implib.s: New file.
213         * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
214         * testsuite/ld-arm/cmse-implib.rd: Likewise.
215
216 2016-08-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
217
218         * ld.texinfo (Placement of SG veneers): New concept entry.
219         * testsuite/ld-arm/arm-elf.exp
220         (Secure gateway veneers: no .gnu.sgstubs section): New test.
221         (Secure gateway veneers: wrong entry functions): Likewise.
222         (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
223         (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
224         * testsuite/ld-arm/cmse-veneers.s: New file.
225         * testsuite/ld-arm/cmse-veneers.d: Likewise.
226         * testsuite/ld-arm/cmse-veneers.rd: Likewise.
227         * testsuite/ld-arm/cmse-veneers.sd: Likewise.
228         * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
229         * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
230
231 2016-08-02  Nick Clifton  <nickc@redhat.com>
232
233         PR ld/17739
234         * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
235         valye 'yes'.
236         * emulparams/shelf32.sh: Likewise.
237         * emulparams/shelf32.sh: Likewise.
238         * emulparams/shelf_nto.sh: Likewise.
239         * emulparams/shelf_nto.sh: Likewise.
240         * emulparams/shelf_vxworks.sh: Likewise.
241         * emulparams/shelf_vxworks.sh: Likewise.
242         * emulparams/shlelf32_linux.sh: Likewise.
243         * emulparams/shlelf32_linux.sh: Likewise.
244         * emulparams/shlelf_linux.sh: Likewise.
245         * emulparams/shlelf_linux.sh: Likewise.
246         * emulparams/shlelf_nto.sh: Likewise.
247         * emulparams/shlelf_nto.sh: Likewise.
248
249 2016-07-27  Maciej W. Rozycki  <macro@imgtec.com>
250
251         * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
252         patterns for branch compaction.
253         * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
254         Likewise.
255
256 2016-07-27  Nick Clifton  <nickc@redhat.com>
257
258         * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
259         test to targets which support cfi.
260
261 2016-07-27  Igor Kudrin  <ikudrin@accesssoftek.com>
262
263         * ldbuildid.c (generate_build_id): Warning fix.
264
265 2016-07-26  Maciej W. Rozycki  <macro@imgtec.com>
266
267         * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
268         * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
269         * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
270         * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
271         test.
272         * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
273         test.
274         * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
275         New test.
276         * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
277         New test.
278         * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
279         New test.
280         * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
281         New test.
282         * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
283         New test.
284         * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
285         New test.
286         * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
287         New test.
288         * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
289         New test.
290         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
291
292 2016-07-26  Igor Kudrin  <ikudrin@accesssoftek.com>
293
294         * ldbuildid.c: Changes for MinGW32:
295         Include windows.h and rpcdce.h.
296         (validate_build_id_style): Allow "uuid" style.
297         (generate_build_id): Fill in id_bits using UuidCreate().
298
299 2016-07-25  Alan Modra  <amodra@gmail.com>
300
301         * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
302         and m32r.  Correct comment.  Relax ld -r match to account for
303         msp increased number of default sections.
304
305 2016-07-22  Cupertino Miranda  <cmiranda@synopsys.com>
306
307         * testsuite/ld-arc/got-01.d: New file.
308         * testsuite/ld-arc/got-01.s: New file.
309
310 2016-07-21  H.J. Lu  <hongjiu.lu@intel.com>
311
312         * configure: Regenerated.
313
314 2016-07-21  Alan Modra  <amodra@gmail.com>
315
316         * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
317         "targets_to_xfail" parameter with "args".
318         * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
319         all calls to run_ld_link_exec_tests.
320         * testsuite/ld-elf/dwarf.exp: Likewise.
321         * testsuite/ld-elf/indirect.exp: Likewise.
322         * testsuite/ld-elf/wrap.exp: Likewise.
323         * testsuite/ld-i386/i386.exp: Likewise.
324         * testsuite/ld-i386/no-plt.exp: Likewise.
325         * testsuite/ld-i386/tls.exp: Likewise.
326         * testsuite/ld-ifunc/ifunc.exp: Likewise.
327         * testsuite/ld-pie/pie.exp: Likewise.
328         * testsuite/ld-plugin/lto.exp: Likewise.
329         * testsuite/ld-size/size.exp: Likewise.
330         * testsuite/ld-x86-64/mpx.exp: Likewise.
331         * testsuite/ld-x86-64/no-plt.exp: Likewise.
332         * testsuite/ld-x86-64/tls.exp: Likewise.
333         * testsuite/ld-x86-64/x86-64.exp: Likewise.
334         * testsuite/ld-elf/elf.exp: Likewise.  Reorder args when providing
335         xfails and simplify lists.
336         * testsuite/ld-elf/shared.exp: Likewise.
337
338 2016-07-21  Alan Modra  <amodra@gmail.com>
339
340         * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
341         parameter to pass list of xfails.
342         * testsuite/ld-elf/elf.exp: Add xfails for implib tests.  Tidy
343         implib test formatting.  Don't set .data start address.
344         * testsuite/ld-elf/implib.s: Remove first .bss directive and
345         replace second one with equivalent .section directive.
346         * testsuite/ld-elf/empty-implib.out: Add expected final error.
347         * testsuite/ld-elf/implib.rd: Update.
348
349 2016-07-20  Alan Modra  <amodra@gmail.com>
350
351         * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
352         fold expression.
353         * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
354
355 2016-07-19  Roland McGrath  <roland@hack.frob.com>
356
357         * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
358         * emulparams/aarch64elf32.sh: Likewise.
359
360 2016-07-19  Maciej W. Rozycki  <macro@imgtec.com>
361
362         * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
363         messages expected.
364         * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
365         * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
366         * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
367         * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
368         * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
369         * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
370         * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
371         * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
372         * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
373         * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
374         * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
375         * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
376         * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
377         * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
378         * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
379         * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
380         * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
381         * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
382         * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
383         source.
384         * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
385         source.
386         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
387
388 2016-07-19  Maciej W. Rozycki  <macro@imgtec.com>
389
390         * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
391         expected.
392         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
393         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
394         Likewise.
395         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
396         Likewise.
397         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
398         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
399         * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
400         microMIPS BAL and MIPS16 instructions.
401         * testsuite/ld-mips-elf/undefweak-overflow.d: Update
402         accordingly.
403         * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
404         * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
405         * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
406         * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
407         * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
408         * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
409         * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
410         * testsuite/ld-mips-elf/unaligned-jump.d: New test.
411         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
412
413 2016-07-19  Andrew Burgess  <andrew.burgess@embecosm.com>
414
415         * plugin.c (plugin_call_claim_file): Restore the file offset after
416         an unsuccessful attempt to claim a file.
417         * testplug.c (bytes_to_read_before_claim): New global.
418         (record_read_length): New function, sets new global
419         bytes_to_read_before_claim.
420         (parse_option): Handle 'read:<NUMBER>' option.
421         (onclaim_file): Read file content before checking for claim.
422         * testsuite/ld-plugin/plugin-30.d: New file.
423         * testsuite/ld-plugin/plugin.exp: Add new test.
424
425 2016-07-16  Alan Modra  <amodra@gmail.com>
426
427         * plugin.c: Don't include libbfd.h.  Include plugin-api.h
428         before bfd/plugin.h.
429         (plugin_object_p): Use bfd_plugin_open_input.
430
431 2016-07-16  Alan Modra  <amodra@gmail.com>
432
433         * ldlang.c (open_output): Replace bfd_search_for_target with
434         bfd_iterate_over_targets.  Localize vars.
435
436 2016-07-16  Alan Modra  <amodra@gmail.com>
437
438         * ldlang.c: Don't include libbfd.h.
439         * emultempl/nds32elf.em: Likewise.
440         * emultempl/ppc64elf.em: Likewise.
441         * emultempl/ppc32elf.em: Likewise.
442         (pagesize): Delete.
443         (params): Update init.
444         (ppc_after_open_output): Use params.pagesize.  Don't call bfd_log2.
445         (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
446         * emultempl/sh64elf.em: Don't include libbfd.h.
447         (after_allocation): Use ASSERT, not BFD_ASSERT.
448         * emultempl/xtensaelf.em: Don't include libbfd.h.
449         (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
450         * Makefile.am: Update dependencies.
451         * Makefile.in: Regenerate.
452
453 2016-07-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
454             Nick Clifton  <nickc@redhat.com>
455
456         * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
457         library file for writing and initialize implib_bfd field of link_info
458         structure.
459         * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
460         (OPTION_IMPLIB_FILENAME): Remove macro definition.
461         (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
462         (gld_${EMULATION_NAME}_list_options): Likewise.
463         (gld${EMULATION_NAME}_handle_option): Likewise.
464         (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
465         instead of pe_implib_filename.
466         * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
467         (OPTION_IMPLIB_FILENAME): Remove enumerator.
468         (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
469         (gld_${EMULATION_NAME}_list_options): Likewise.
470         (gld${EMULATION_NAME}_handle_option): Likewise.
471         (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
472         instead of pep_implib_filename.
473         * ld.h (args_type): Declare new out_implib_filename field.
474         * ld.texinfo (--out-implib): Move documentation to arch-independent
475         part and rephrase to apply to ELF targets.
476         * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
477         defined in linker scripts.
478         * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
479         enumerator.
480         * lexsup.c (ld_options): Add entry for new --out-implib switch.
481         (parse_args): Handle OPTION_OUT_IMPLIB case.
482         * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
483         (Generate import library): Likewise.
484         * testsuite/ld-elf/implib.s: Likewise.
485         * testsuite/ld-elf/implib.rd: New file.
486         * testsuite/ld-elf/empty-implib.out: Likewise
487
488 2016-07-15  Nick Clifton  <nickc@redhat.com>
489
490         * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
491         little endian mode.
492
493 2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
494
495         * testsuite/ld-mips-elf/mips-elf.exp: Run
496         `branch-absolute-addend', `mips16-branch-absolute',
497         `mips16-branch-absolute-addend' and
498         `micromips-branch-absolute-addend'.
499
500 2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
501
502         * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
503         * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
504         * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
505         * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
506         test.
507         * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
508         test.
509         * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
510         test.
511         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
512         from `mips16-branch-absolute' and
513         `mips16-branch-absolute-addend', referred indirectly only.
514
515 2016-07-14  Maciej W. Rozycki  <macro@imgtec.com>
516
517         * testsuite/ld-mips-elf/branch-absolute.d: New test.
518         * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
519         * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
520         * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
521         * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
522         * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
523         * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
524         * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
525         test.
526         * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
527         test.
528         * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
529         test.
530         * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
531         New test.
532         * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
533         New test.
534         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
535         from `branch-absolute-addend' and
536         `micromips-branch-absolute-addend', referred indirectly only.
537
538 2016-07-14  Claudiu Zissulescu  <claziss@synopsys.com>
539
540         * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
541         * testsuite/ld-arc/sda-relocs.dd: New file.
542         * testsuite/ld-arc/sda-relocs.ld: Likewise.
543         * testsuite/ld-arc/sda-relocs.rd: Likewise.
544         * testsuite/ld-arc/sda-relocs.s: Likewise.
545         * testsuite/ld-arc/arc.exp: Add SDA tests.
546
547 2016-07-11  Claudiu Zissulescu  <claziss@synopsys.com>
548
549         * testsuite/ld-arc/nps-1b.err: Update test to handle more
550         verbosity.
551
552 2016-07-09  Alan Modra  <amodra@gmail.com>
553
554         * testsuite/ld-powerpc/elfv2exe.d: Update.
555
556 2016-07-06  James Bowman  <james.bowman@ftdichip.com>
557
558         * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
559         (DATA): add ALIGN.
560         (BSS): add ALIGN
561
562 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
563
564         * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
565
566 2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
567
568         * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
569         * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
570         * testsuite/ld-arm/arm-elf.exp: Run it.
571
572 2016-07-05  Andre Vieria  <andre.simoesdiasvieira@arm.com>
573
574         * testsuite/ld-arm/arm_noread.ld: Renamed to ...
575         testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
576         all noread's by purecode.
577
578 2016-07-05  Jan Beulich  <jbeulich@suse.com>
579
580         * ldexp.c (exp_fold_tree_1): Set linker_def field based on
581         assignment line number.
582         * ldlex.l (lineno): Drop initializer.
583         (<<EOF>>): Set lineno to zero after reaching top of stack.
584
585 2016-07-04  H.J. Lu  <hongjiu.lu@intel.com>
586
587         PR ld/20321
588         * plugin.c (plugin_opt_plugin): Warn and return if plugin has
589         been loaded already.
590         * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
591         * testsuite/ld-plugin/pr20321.c: New file.
592
593 2016-07-04  Nick Clifton  <nickc@redhat.com>
594
595         * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
596         (__RAMSIZE): If not defined, set to 64K.
597         (MEMORY): Set the flash region size to __PMSIZE and the ram region
598         size to __RAMSIZE.
599
600 2016-07-02  Maciej W. Rozycki  <macro@imgtec.com>
601
602         * testsuite/ld-mips-elf/branch-misc-2.d: New test.
603         * testsuite/ld-mips-elf/mips-elf.exp: Run it.
604
605 2016-07-01  Thomas Preud'homme  <thomas.preudhomme@arm.com>
606
607         * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
608         (Thumb-2 BL on ARMv6-M): New testcase.
609         * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
610         * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
611
612 2016-07-01  Tristan Gingold  <gingold@adacore.com>
613
614         * NEWS: Add marker for 2.27.
615
616 2016-06-28  H.J. Lu  <hongjiu.lu@intel.com>
617
618         * testsuite/ld-gc/gc.exp: Run pr20306 test.
619         * ld-gc/pr20306.c: New file.
620         * ld-gc/pr20306.d: Likewise.
621
622 2016-06-28  Nick Clifton  <nickc@redhat.com>
623
624         * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
625         for bfin.
626         * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
627         tests to fail for bfin.
628         * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
629         nds32 and visium.
630         * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
631         microblaze.
632         * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
633         mcore-pe.
634
635 2016-06-28  Nick Clifton  <nickc@redhat.com>
636
637         * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
638         expect to fail this test.
639         * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
640         RX.
641         * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
642         fail for the RX.
643         * testsuite/ld-scripts/rgn-at11.d: Likewise.
644         * testsuite/ld-scripts/rgn-at2.d: Likewise.
645         * testsuite/ld-scripts/rgn-at6.d: Likewise.
646         * testsuite/ld-scripts/rgn-at7.d: Likewise.
647         * testsuite/ld-scripts/rgn-at8.d: Likewise.
648
649 2016-06-28  James Clarke  <jrtc27@jrtc27.com>
650
651         * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
652         .text.
653
654 2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
655
656         * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
657         * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
658         * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
659         * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
660
661 2016-06-28  Alan Modra  <amodra@gmail.com>
662
663         PR ld/20302
664         * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
665
666 2016-06-28  Maciej W. Rozycki  <macro@imgtec.com>
667
668         * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
669         * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
670         * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
671         * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
672         * testsuite/ld-mips-elf/mips16-branch.s: New test source.
673         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
674
675 2016-06-27  Nick Clifton  <nickc@redhat.com>
676
677         PR ld/20302
678         * lexsup.c (set_segment_start): If resetting the start address of
679         a section, remember to generate a new script element as well.
680         * testsuite/ld-scripts/pr20302.d: New test.
681         * testsuite/ld-scripts/scripts.exp: Run the new test.
682
683 2016-06-24  Alan Modra  <amodra@gmail.com>
684
685         * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
686         Don't error out, always return an emulation.
687
688 2016-06-24  Dilyan Palauzov <dilyan.palauzov@aegee.org>
689             H.J. Lu  <hongjiu.lu@intel.com>
690
691         * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
692         for -z relro help message.
693
694 2016-06-22  Maciej W. Rozycki  <macro@imgtec.com>
695
696         * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
697         address matching.
698
699 2016-06-22  Maciej W. Rozycki  <macro@imgtec.com>
700
701         * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
702         `undefweak-overflow' tests.
703
704 2016-06-22  H.J. Lu  <hongjiu.lu@intel.com>
705
706         PR ld/20283
707         * NEWS: Mention --enable-relro.
708         * configure.ac: Add --enable-relro.
709         (DEFAULT_LD_Z_RELRO): New.  Set by --enable-relro.
710         * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
711         some Linux targets.
712         * config.in: Regenerated.
713         * configure: Likewise.
714         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
715         link_info.relro to DEFAULT_LD_Z_RELRO.
716         * testsuite/config/default.exp (ld_elf_shared_opt): New.
717         * testsuite/lib/ld-lib.exp (run_dump_test): Pass
718         $ld_elf_shared_opt to ld for ELF targets with shared object
719         support.
720         (run_ld_link_tests): Likewise.
721
722 2016-06-21  Maciej W. Rozycki  <macro@imgtec.com>
723
724         * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
725         twice rather than once.
726         * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
727         accordingly.  Remove the full stop from the end of the message.
728
729 2016-06-21  Graham Markall  <graham.markall@embecosm.com>
730
731         * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
732         * testsuite/ld-arc/nps-1b.d: Likewise.
733
734 2016-06-20  H.J. Lu  <hongjiu.lu@intel.com>
735
736         PR ld/20267
737         * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
738         PR ld/20267.
739         (lto_run_tests): Likewise.
740         * testsuite/ld-plugin/pr20267a.c: New file.
741         * testsuite/ld-plugin/pr20267b.c: Likewise.
742
743 2016-06-20  H.J. Lu  <hongjiu.lu@intel.com>
744             Alan Modra  <amodra@gmail.com>
745
746         PR ld/20276
747         * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
748         * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
749         PR ld/20276.
750         (lto_run_tests): Likewise.
751         * testsuite/ld-plugin/pass.out: New file.
752         * testsuite/ld-plugin/pr20276a.c: Likewise.
753         * testsuite/ld-plugin/pr20276b.c: Likewise.
754
755 2016-06-18  H.J. Lu  <hongjiu.lu@intel.com>
756
757         * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
758         with bfd_plugin_unknown.
759
760 2016-06-18  H.J. Lu  <hongjiu.lu@intel.com>
761
762         PR ld/20253
763         * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
764         * testsuite/ld-i386/no-plt.exp: Likewise.
765         * testsuite/ld-x86-64/no-plt.exp: Likewise.
766         * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
767         * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
768         * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
769         * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
770         * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
771         * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
772         * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
773         * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
774         * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
775         * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
776         * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
777         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
778         * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
779         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
780         * testsuite/ld-i386/pr20244-2b.d: Updated.
781         * testsuite/ld-i386/pr20244-2c.d: Likewise.
782         * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
783         * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
784         * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
785         * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
786         * testsuite/ld-i386/pr20253-1a.c: New file.
787         * testsuite/ld-i386/pr20253-1b.S: Likewise.
788         * testsuite/ld-i386/pr20253-1c.S: Likewise.
789         * testsuite/ld-i386/pr20253-1d.S: Likewise.
790         * testsuite/ld-i386/pr20253-2a.c: Likewise.
791         * testsuite/ld-i386/pr20253-2b.S: Likewise.
792         * testsuite/ld-i386/pr20253-2c.S: Likewise.
793         * testsuite/ld-i386/pr20253-2d.S: Likewise.
794         * testsuite/ld-i386/pr20253-3.d: Likewise.
795         * testsuite/ld-i386/pr20253-3.s: Likewise.
796         * testsuite/ld-i386/pr20253-4.s: Likewise.
797         * testsuite/ld-i386/pr20253-4a.d: Likewise.
798         * testsuite/ld-i386/pr20253-4b.d: Likewise.
799         * testsuite/ld-i386/pr20253-4c.d: Likewise.
800         * testsuite/ld-i386/pr20253-5.d: Likewise.
801         * testsuite/ld-i386/pr20253-5.s: Likewise.
802         * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
803         * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
804         * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
805         * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
806         * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
807         * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
808         * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
809         * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
810         * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
811         * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
812         * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
813         * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
814         * testsuite/ld-x86-64/pr20253-1.s: Likewise.
815         * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
816         * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
817         * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
818         * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
819         * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
820         * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
821         * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
822         * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
823         * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
824         * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
825         * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
826         * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
827         * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
828         * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
829         * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
830         * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
831         * testsuite/ld-x86-64/pr20253-3.d: Likewise.
832         * testsuite/ld-x86-64/pr20253-3.s: Likewise.
833         * testsuite/ld-x86-64/pr20253-4.s: Likewise.
834         * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
835         * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
836         * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
837         * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
838         * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
839         * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
840         * testsuite/ld-x86-64/pr20253-5.s: Likewise.
841         * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
842         * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
843         * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
844         relocation.
845         * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
846         * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
847         * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
848         * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
849         * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
850
851 2016-06-17  Thomas Preud'homme  <thomas.preudhomme@arm.com>
852             Tony Wang  <tony.wang@arm.com>
853
854         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
855         Assemble for ARMv6-M.
856         (Thumb2-Thumb2 farcall M profile): New testcase.
857         * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
858         * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
859         reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
860         * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
861
862 2016-06-16  H.J. Lu  <hongjiu.lu@intel.com>
863
864         * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
865         * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
866         Remove .rel.plt section.
867         * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
868
869 2016-06-15  H.J. Lu  <hongjiu.lu@intel.com>
870
871         * testsuite/ld-i386/no-plt-check1a.S (check): Test static
872         function pointer.
873         * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
874         * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
875         * testsuite/ld-i386/no-plt-extern1a.S (func_p): New.  Static
876         function pointer.
877         * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
878         * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
879         * testsuite/ld-i386/no-plt-1a.dd: Updated.
880         * testsuite/ld-i386/no-plt-1b.dd: Likewise.
881         * testsuite/ld-i386/no-plt-1c.dd: Likewise.
882         * testsuite/ld-i386/no-plt-1d.dd: Likewise.
883         * testsuite/ld-i386/no-plt-1e.dd: Likewise.
884         * testsuite/ld-i386/no-plt-1f.dd: Likewise.
885         * testsuite/ld-i386/no-plt-1g.dd: Likewise.
886         * testsuite/ld-i386/no-plt-1h.dd: Likewise.
887         * testsuite/ld-i386/no-plt-1i.dd: Likewise.
888         * testsuite/ld-i386/no-plt-1j.dd: Likewise.
889         * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
890         * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
891         * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
892         * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
893         * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
894         * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
895         * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
896
897 2016-06-14  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
898
899         PR ld/20254
900         * testsuite/ld-avr/avr-prop-6.d: New test.
901         * testsuite/ld-avr/avr-prop-6.s: New test.
902
903 2016-06-14  Alan Modra  <amodra@gmail.com>
904
905         * ldbuildid.c: Formatting.
906         * ldcref.c: Formatting.
907         * ldctor.c: Formatting.
908         * ldemul.c: Formatting.
909         * ldexp.c: Formatting.
910         * ldfile.c: Formatting.
911         * ldlang.c: Formatting.
912         * ldmain.c: Formatting.
913         * ldwrite.c: Formatting.
914
915 2016-06-14  Alan Modra  <amodra@gmail.com>
916
917         * ldlang.c: Expand uses of bfd_my_archive.
918         * ldmain.c: Likewise.
919         * ldmisc.c: Likewise.
920         * plugin.c: Likewise.
921
922 2016-06-14  Alan Modra  <amodra@gmail.com>
923
924         PR ld/20241
925         * ldmain.c (add_archive_element): Just print file name of file within
926         thin archives.
927         * ldmisc.c (vfinfo): Likewise.
928         * plugin.c (plugin_object_p): Open file within thin archives.
929         (plugin_maybe_claim): Expand comment.
930
931 2016-06-13  H.J. Lu  <hongjiu.lu@intel.com>
932
933         PR ld/20244
934         * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
935         pr20244-2c and pr20244-2d.
936         * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
937         * testsuite/ld-i386/pr20244-2.s: New file.
938         * testsuite/ld-i386/pr20244-2a.d: Likewise.
939         * testsuite/ld-i386/pr20244-2b.d: Likewise.
940         * testsuite/ld-i386/pr20244-2c.d: Likewise.
941         * testsuite/ld-i386/pr20244-2d.d: Likewise.
942         * testsuite/ld-i386/pr20244-3a.c: Likewise.
943         * testsuite/ld-i386/pr20244-3b.S: Likewise.
944         * testsuite/ld-i386/pr20244-3c.S: Likewise.
945         * testsuite/ld-i386/pr20244-3d.S: Likewise.
946
947 2016-06-13  H.J. Lu  <hongjiu.lu@intel.com>
948
949         * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
950         * testsuite/ld-i386/ifunc-1a.c: New file.
951         * testsuite/ld-i386/ifunc-1b.S: Likewise.
952         * testsuite/ld-i386/ifunc-1c.S: Likewise.
953         * testsuite/ld-i386/ifunc-1d.S: Likewise.
954
955 2016-06-13  Cupertino Miranda  <cmiranda@synospsy.com>
956
957         * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
958         big endian ARC targets.
959
960 2016-06-12  H.J. Lu  <hongjiu.lu@intel.com>
961
962         * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
963         * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
964         * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
965         * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
966         * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
967         * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
968         * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
969         * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
970         * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
971         * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
972         * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
973         * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
974         * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
975         * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
976         * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
977
978 2016-06-11  H.J. Lu  <hongjiu.lu@intel.com>
979
980         PR ld/20244
981         * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
982         * testsuite/ld-i386/pr20244-1.s: New file.
983         * testsuite/ld-i386/pr20244-1a.d: Likewise.
984         * testsuite/ld-i386/pr20244-1b.d: Likewise.
985         * testsuite/ld-i386/pr20244-1c.d: Likewise.
986
987 2016-06-08  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
988
989         PR ld/20221
990         * testsuite/ld-avr/avr-prop-5.d: New.
991         * testsuite/ld-avr/avr-prop-5.s: New.
992
993 2016-06-09  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
994
995         * testsuite/ld-avr/lds-mega.d: New test.
996         * testsuite/ld-avr/lds-mega.s: New test source.
997         * testsuite/ld-avr/lds-tiny.d: New test.
998         * testsuite/ld-avr/lds-tiny.s: New test source.
999
1000 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1001
1002         * testsuite/ld-i386/libno-plt-1b.dd: New file.
1003         * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1004         * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1005         * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1006         * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1007         * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1008         * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1009         * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1010         * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1011         * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1012         * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1013         * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1014         * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1015         * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1016         * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1017         * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1018         * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1019         * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1020         * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1021         * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1022         * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1023         * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1024         * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1025         * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1026         * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1027         * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1028         * testsuite/ld-i386/no-plt-func1.c: Likewise.
1029         * testsuite/ld-i386/no-plt-main1.c: Likewise.
1030         * testsuite/ld-i386/no-plt.exp: Likewise.
1031
1032 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1033
1034         * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1035         name.
1036
1037 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1038
1039         * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1040         tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1041         * testsuite/ld-i386/pass.out: New file.
1042         * testsuite/ld-i386/tls-def1.c: Likewise.
1043         * testsuite/ld-i386/tls-gd1.S: Likewise.
1044         * testsuite/ld-i386/tls-ld1.S: Likewise.
1045         * testsuite/ld-i386/tls-main1.c: Likewise.
1046         * testsuite/ld-i386/tls.exp: Likewise.
1047         * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1048         * testsuite/ld-i386/tlsbin2.dd: Likewise.
1049         * testsuite/ld-i386/tlsbin2.rd: Likewise.
1050         * testsuite/ld-i386/tlsbin2.sd: Likewise.
1051         * testsuite/ld-i386/tlsbin2.td: Likewise.
1052         * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1053         * testsuite/ld-i386/tlsgd3.dd: Likewise.
1054         * testsuite/ld-i386/tlsgd3.s: Likewise.
1055         * testsuite/ld-i386/tlsgd4.d: Likewise.
1056         * testsuite/ld-i386/tlsgd4.s: Likewise.
1057         * testsuite/ld-i386/tlsld2.s: Likewise.
1058         * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1059         * testsuite/ld-i386/tlspic2.dd: Likewise.
1060         * testsuite/ld-i386/tlspic2.rd: Likewise.
1061         * testsuite/ld-i386/tlspic2.sd: Likewise.
1062         * testsuite/ld-i386/tlspic2.td: Likewise.
1063         * testsuite/ld-i386/tlspic3.s: Likewise.
1064         * testsuite/ld-i386/tlspie3.s: Likewise.
1065         * testsuite/ld-i386/tlspie3a.d: Likewise.
1066         * testsuite/ld-i386/tlspie3b.d: Likewise.
1067         * testsuite/ld-i386/tlspie3c.d: Likewise.
1068
1069 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1070
1071         * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1072         * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1073         * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1074         * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1075         * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1076         * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1077         * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1078         * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1079
1080 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1081
1082         * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1083         * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1084         * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1085         * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1086         * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1087         * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1088         * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1089         * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1090         * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1091         * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1092         * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1093         * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1094         * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1095         * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1096         * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1097         * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1098         * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1099         * testsuite/ld-x86-64/no-plt.exp: Likewise.
1100         * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1101         * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1102         * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1103
1104 2016-06-07  Maciej W. Rozycki  <macro@imgtec.com>
1105
1106         * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1107
1108 2016-06-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
1109
1110         * testsuite/ld-s390/pltoffset-1.dd: New test.
1111         * testsuite/ld-s390/pltoffset-1.ld: New test.
1112         * testsuite/ld-s390/pltoffset-1.s: New test.
1113         * testsuite/ld-s390/s390.exp: Run new test.
1114
1115 2016-06-07  Alan Modra  <amodra@gmail.com>
1116
1117         * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1118         * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1119         * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1120
1121 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1122
1123         * testsuite/ld-x86-64/pass.out: New file.
1124         * testsuite/ld-x86-64/tls-def1.c: Likewise.
1125         * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1126         * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1127         * testsuite/ld-x86-64/tls-main1.c: Likewise.
1128         * testsuite/ld-x86-64/tls.exp: Likewise.
1129         * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1130         * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1131         * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1132         * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1133         * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1134         * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1135         * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1136         * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1137         * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1138         * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1139         * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1140         * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1141         * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1142         * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1143         * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1144         * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1145         * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1146         * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1147         * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1148         * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1149         * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1150         * testsuite/ld-x86-64/tlsld4.s: Likewise.
1151         * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1152         * testsuite/ld-x86-64/tlsld5.s: Likewise.
1153         * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1154         * testsuite/ld-x86-64/tlsld6.s: Likewise.
1155         * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1156         * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1157         * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1158         * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1159         * testsuite/ld-x86-64/tlspic2.td: Likewise.
1160         * testsuite/ld-x86-64/tlspic3.s: Likewise.
1161         * testsuite/ld-x86-64/tlspie2.s: Likewise.
1162         * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1163         * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1164         * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1165         * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1166         * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1167         * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1168         tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1169         tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1170         tlspie2c.
1171
1172 2016-06-04  Christian Groessler  <chris@groessler.org>
1173
1174         * testsuite/ld-z8k/0filler.s: New file.
1175         * testsuite/ld-z8k/branch-target.s: New file.
1176         * testsuite/ld-z8k/branch-target2.s: New file.
1177         * testsuite/ld-z8k/calr-back-8001.d: New file.
1178         * testsuite/ld-z8k/calr-back-8002.d: New file.
1179         * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1180         * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1181         * testsuite/ld-z8k/calr-forw-8001.d: New file.
1182         * testsuite/ld-z8k/calr-forw-8002.d: New file.
1183         * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1184         * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1185         * testsuite/ld-z8k/calr-opcode.s: New file.
1186         * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1187         * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1188         * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1189         * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1190         * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1191         * testsuite/ld-z8k/djnz-back-8001.d: New file.
1192         * testsuite/ld-z8k/djnz-back-8002.d: New file.
1193         * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1194         * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1195         * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1196         * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1197         * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1198         * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1199         * testsuite/ld-z8k/djnz-opcode.s: New file.
1200         * testsuite/ld-z8k/filler.s: New file.
1201         * testsuite/ld-z8k/jr-back-8001.d: New file.
1202         * testsuite/ld-z8k/jr-back-8002.d: New file.
1203         * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1204         * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1205         * testsuite/ld-z8k/jr-forw-8001.d: New file.
1206         * testsuite/ld-z8k/jr-forw-8002.d: New file.
1207         * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1208         * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1209         * testsuite/ld-z8k/jr-opcode.s: New file.
1210         * testsuite/ld-z8k/ldr-back-8001.d: New file.
1211         * testsuite/ld-z8k/ldr-back-8002.d: New file.
1212         * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1213         * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1214         * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1215         * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1216         * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1217         * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1218         * testsuite/ld-z8k/ldr-opcode.s: New file.
1219         * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1220         * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1221         * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1222         * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1223         * testsuite/ld-z8k/ldrb-opcode.s: New file.
1224         * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1225         * testsuite/ld-z8k/other-file.s: New file.
1226         * testsuite/ld-z8k/reloc.dd: New file.
1227         * testsuite/ld-z8k/reloc.ld: New file.
1228         * testsuite/ld-z8k/relocseg.dd: New file.
1229         * testsuite/ld-z8k/relocseg.ld: New file.
1230         * testsuite/ld-z8k/relocseg1.dd: New file.
1231         * testsuite/ld-z8k/this-file.s: New file.
1232         * testsuite/ld-z8k/z8k.exp: New file.
1233
1234 2016-06-03  H.J. Lu  <hongjiu.lu@intel.com>
1235
1236         * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1237         with -mrelax-relocations=yes.
1238         * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1239         * testsuite/ld-i386/lea1b.d (as): Likewise.
1240         * testsuite/ld-i386/lea1d.d (as): Likewise.
1241         * testsuite/ld-i386/lea1e.d (as): Likewise.
1242         * testsuite/ld-i386/lea1f.d (as): Likewise.
1243         * testsuite/ld-i386/load7.d (as): Likewise.
1244         * testsuite/ld-i386/mov1b.d (as): Likewise.
1245         * testsuite/ld-i386/pr19175.d (as): Likewise.
1246         * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1247         * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1248         * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1249         * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1250         gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1251
1252 2016-06-02  Vineet Gupta  <Vineet.Gupta1@synopsys.com>
1253
1254         * configure.tgt: Replace -uclibc with *.
1255
1256 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
1257
1258         * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1259         * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1260         * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1261         * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1262
1263 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
1264
1265         * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1266         * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1267         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1268         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1269         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1270         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1271
1272 2016-05-28  Maciej W. Rozycki  <macro@imgtec.com>
1273
1274         * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1275         * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1276         * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1277         * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1278         * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1279         * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1280         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1281
1282 2016-05-28  Alan Modra  <amodra@gmail.com>
1283
1284         * ldmain.c (multiple_definition, multiple_common, add_to_set,
1285         constructor_callback, warning_callback, undefined_symbol,
1286         reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1287         * emultempl/elf32.em: Adjust callback calls.
1288
1289 2016-05-27  Maciej W. Rozycki  <macro@imgtec.com>
1290
1291         * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1292         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1293         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1294         test.
1295         * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1296         test.
1297         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1298         test.
1299         * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1300         test.
1301         * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1302         source.
1303         * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1304         source.
1305         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1306
1307 2016-05-27  Maciej W. Rozycki  <macro@imgtec.com>
1308
1309         * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1310         * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1311         new test.
1312         * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1313
1314 2016-05-26  Maciej W. Rozycki  <macro@imgtec.com>
1315
1316         * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1317         `unaligned-jalx-2' here.
1318         * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1319         `unaligned-jalx-mips16-2' here.
1320         * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1321         `unaligned-jalx-micromips-2' here.
1322         * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1323         * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1324         message.
1325         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1326         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1327         * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1328         * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1329         * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1330         test.
1331         * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1332         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1333         `unaligned-lwpc-3' here.
1334         * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1335         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1336         `unaligned-lwpc-2' here.
1337         * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1338         * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1339         * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1340         * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1341         * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1342         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1343         `unaligned-ldpc-4' here.
1344         * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1345         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1346         message.  Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1347         * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1348         * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1349         * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1350         * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1351         * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1352         * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1353         * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1354         * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1355
1356 2016-05-26  Nick Clifton  <nickc@redhat.com>
1357
1358         PR target/20134
1359         * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1360         __bsssize.
1361         * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1362
1363 2016-05-25  Maciej W. Rozycki  <macro@imgtec.com>
1364
1365         * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1366         * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1367         * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1368         * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1369         * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1370         * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1371         * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1372         * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1373         * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1374         * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1375         * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1376         * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1377         * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1378         * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1379         * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1380         * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1381         * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1382         * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1383         * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1384         * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1385         * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1386         * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1387         * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1388         * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1389         * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1390         * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1391         * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1392         * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1393         * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1394         * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1395         * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1396         * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1397         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1398
1399 2016-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1400
1401         PR ld/20103
1402         * ldmain.c (add_archive_element): Don't claim new IR symbols
1403         after all IR symbols have been claimed.
1404         * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1405         check.
1406         * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1407         Run PR ld/20103 tests.
1408         * testsuite/ld-plugin/pr20103a.c: New file.
1409         * testsuite/ld-plugin/pr20103b.c: Likewise.
1410         * testsuite/ld-plugin/pr20103c.c: Likewise.
1411
1412 2016-05-24  Maciej W. Rozycki  <macro@imgtec.com>
1413
1414         * testsuite/ld-mips-elf/jalx-local.d: New test.
1415         * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1416         * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1417         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1418
1419 2016-05-23  Kuba Sejdak  <jakub.sejdak@phoesys.com>
1420
1421         * Makefile.am: Add earmelf_phoenix.c.
1422         * Makefile.in: Regenerate.
1423         * configure.tgt: Add entry for arm-phoenix.
1424         * emulparams/armelf_phoenix.sh: New file.
1425
1426 2016-05-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1427
1428         * emultempl/armelf.em (arm_elf_before_allocation): Call
1429         bfd_elf32_arm_keep_private_stub_output_sections before generic
1430         before_allocation function.
1431
1432 2016-05-20  Maciej W. Rozycki  <macro@imgtec.com>
1433
1434         * testsuite/ld-mips-elf/jalx-addend.d: New test.
1435         * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
1436         * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
1437         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1438
1439 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1440
1441         PR ld/20117
1442         * testsuite/ld-i386/i386.exp: Run pr20117.
1443         * testsuite/ld-i386/pr19609-1i.d: Updated.
1444         * testsuite/ld-i386/pr20117.d: New file.
1445         * testsuite/ld-i386/pr20117.s: Likewise.
1446
1447 2016-05-19  Cupertino Miranda  <cmiranda@synopsys.com>
1448
1449         * testsuite/ld-elf/compressed1d.d: Removed from notarget.
1450         * testsuite/ld-elf/group8a.d: Likewise.
1451         * testsuite/ld-elf/group8b.d: Likewise.
1452         * testsuite/ld-elf/group9a.d: Likewise.
1453         * testsuite/ld-elf/group9b.d: Likewise.
1454         * testsuite/ld-elf/pr12851.d: Likewise.
1455         * testsuite/ld-elf/pr12975.d: Likewise.
1456         * testsuite/ld-elf/pr13177.d: Likewise.
1457         * testsuite/ld-elf/pr13195.d: Likewise.
1458         * testsuite/ld-elf/pr17615.d: Likewise.
1459         * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
1460         * testsuite/ld-elf/group3b.d: Likewise.
1461         * testsuite/ld-srec/srec.exp: Likewise.
1462         * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
1463         as supporting gc.
1464         (check_shared_lib_support): Mark ARC as supporting.
1465
1466 2016-05-19  Cupertino Miranda  <cmiranda@synopsys.com>
1467
1468         * emulparams/arcelf.sh: Changed.
1469         * emulparams/arclinux.sh: Likewise.
1470         * scripttempl/arclinux.sc: Moved to a more standard implementation
1471         similar to elf.sc.
1472
1473 2016-05-19  Maciej W. Rozycki  <macro@imgtec.com>
1474
1475         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
1476         `ft32-*-*' behind `frv-*-*'.
1477
1478 2016-05-19  Maciej W. Rozycki  <macro@imgtec.com>
1479
1480         * configure.tgt: Remove `am34-*-linux*' support.
1481
1482 2016-05-19  Alan Modra  <amodra@gmail.com>
1483
1484         * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
1485         * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
1486         * testsuite/ld-scripts/cross3.t: Likewise.
1487         * testsuite/ld-scripts/cross4.t: Likewise.
1488         * testsuite/ld-scripts/cross5.t: Likewise.
1489         * testsuite/ld-scripts/cross6.t: Likewise.
1490         * testsuite/ld-scripts/cross7.t: Likewise.
1491
1492 2016-05-19  Alan Modra  <amodra@gmail.com>
1493
1494         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
1495         exe name rather than constructing testname.  Fix typo in
1496         sub-test name.  Log copying.  Use -rpath rather than -R.
1497
1498 2016-05-18  Nick Clifton  <nickc@redhat.com>
1499
1500         * scripttempl/ft32.sc: Use fixed constants for memory region
1501         lengths.  Include DWARF debug sections.
1502         (.data .bss): Do not assign locations during relocatable links.
1503         * testsuite/ld-elf/compressed1d.d: Skip for FT32.
1504         * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1505         * testsuite/ld-elf/sec64k.exp: Likewise.
1506         * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
1507         * testsuite/ld-elf/merge.d: Likewise.
1508         * testsuite/ld-elf/orphan-region.d: Likewise.
1509         * testsuite/ld-elf/orphan.s: Likewise.
1510         * testsuite/ld-elf/orphan3.d: Likewise.
1511         * testsuite/ld-elf/pr349.d: Likewise.
1512         * testsuite/ld-elf/warn2.d: Likewise.
1513         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
1514         that the FT32 does not support shared libraries.
1515
1516 2016-05-17  H.J. Lu  <hongjiu.lu@intel.com>
1517
1518         * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
1519         global CC.
1520
1521 2016-05-17  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1522
1523         * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
1524         above .progmem*.
1525         * scripttempl/avrtiny.sc (text): Likewise.
1526
1527 2016-05-17  Maciej W. Rozycki  <macro@imgtec.com>
1528
1529         * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
1530         `supports_gnu_unique' to qualify testing.
1531
1532 2016-05-16  Maciej W. Rozycki  <macro@imgtec.com>
1533
1534         * testsuite/ld-elf/flags1.d: Update the xfail list.
1535
1536 2016-05-15  Maciej W. Rozycki  <macro@imgtec.com>
1537
1538         * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
1539         removal.
1540
1541 2016-05-14  H.J. Lu  <hongjiu.lu@intel.com>
1542
1543         PR ld/20097
1544         * testplug2.c (onall_symbols_read): Remove redundant sizeof
1545         on EXPECTED_VIEW_LENGTH.
1546         * testplug4.c (onall_symbols_read): Likewise.
1547
1548 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1549
1550         PR ld/20093
1551         * testsuite/ld-x86-64/pr20093-1.d: New file.
1552         * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1553         * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1554         * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1555         * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1556
1557 2016-05-13  Alan Modra  <amodra@gmail.com>
1558
1559         * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1560         Use different output file name for static app without .rel.plt.
1561         * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1562         * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1563         * testsuite/ld-arm/arm-no-rel-plt.r: New.
1564         * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1565         * testsuite/ld-arm/arm-static-app.r: Likewise.
1566
1567 2016-05-12  H.J. Lu  <hongjiu.lu@intel.com>
1568
1569         PR ld/20070
1570         * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1571         (libldtestplug4_la_SOURCES): New.
1572         (libldtestplug4_la_CFLAGS): Likewise.
1573         (libldtestplug4_la_LDFLAGS): Likewise.
1574         * Makefile.in: Regenerated.
1575         * plugin.c (get_symbols): Return resolution based on IR symbol
1576         kinds for symbols defined/referenced only within IR.
1577         * testplug4.c: New file.
1578         * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1579         * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1580         * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1581         * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1582         (plugin4_path): Likewise.
1583         Add a test for ld/20070.
1584
1585 2016-05-11  Alan Modra  <amodra@gmail.com>
1586
1587         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1588         Call elf32_hppa_init_stub_bfd.
1589
1590 2016-05-11  Alan Modra  <amodra@gmail.com>
1591
1592         PR 20060
1593         * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1594         * testsuite/ld-powerpc/tlsdll.s: New.
1595         * testsuite/ld-powerpc/tlsdll.ver: New.
1596         * testsuite/ld-powerpc/tlsdll_32.s: New.
1597         * testsuite/ld-powerpc/tlsopt5.d: New.
1598         * testsuite/ld-powerpc/tlsopt5.s: New.
1599         * testsuite/ld-powerpc/tlsopt5_32.d: New.
1600         * testsuite/ld-powerpc/tlsopt5_32.s: New.
1601
1602 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1603
1604         * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1605         ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1606
1607 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1608
1609         * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1610         parameter and rename input_section parameter to after_input_section.
1611         Append input stub section to the output section if after_input_section
1612         is NULL.
1613
1614 2016-05-10  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1615
1616         * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1617         test.
1618         * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1619         * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1620
1621 2016-05-10  Christophe Lyon  <christophe.lyon@linaro.org>
1622
1623         * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1624
1625 2016-05-09  Christophe Monat  <christophe.monat@st.com>
1626
1627         PR ld/20030
1628         * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1629         tests. Fix misnamed stm32l4xx-fix-all.
1630         * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1631         loads with DP registers.
1632         * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1633         * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1634         * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1635         loads with DP registers.
1636         * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1637
1638 2016-05-09  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
1639
1640         * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1641         program headers.
1642         (xfail): Remove avr-*-*.
1643         Update regex to check the section flags.
1644         * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1645
1646 2016-05-09  Alan Modra  <amodra@gmail.com>
1647
1648         * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1649         * Makefile.in: Regenerate.
1650
1651 2016-05-09  Alan Modra  <amodra@gmail.com>
1652
1653         * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1654         * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1655         * testsuite/ld-scripts/section-match-1.t: Likewise.
1656
1657 2016-05-06  H.J. Lu  <hongjiu.lu@intel.com>
1658
1659         PR ld/17550
1660         * testsuite/ld-elf/pr17550-1.s: New file.
1661         * testsuite/ld-elf/pr17550-2.s: Likewise.
1662         * testsuite/ld-elf/pr17550-3.s: Likewise.
1663         * testsuite/ld-elf/pr17550-4.s: Likewise.
1664         * testsuite/ld-elf/pr17550a.d: Likewise.
1665         * testsuite/ld-elf/pr17550b.d: Likewise.
1666         * testsuite/ld-elf/pr17550c.d: Likewise.
1667         * testsuite/ld-elf/pr17550d.d: Likewise.
1668
1669 2016-05-06  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1670
1671         * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1672
1673 2016-05-06  H.J. Lu  <hongjiu.lu@intel.com>
1674
1675         * testsuite/ld-i386/i386.exp: Run load7.
1676         * testsuite/ld-i386/load7.d: New file.
1677         * testsuite/ld-i386/load7.map: Likewise.
1678         * testsuite/ld-i386/load7.s: Likewise.
1679         * testsuite/ld-x86-64/load2.d: Likewise.
1680         * testsuite/ld-x86-64/load2.map: Likewise.
1681         * testsuite/ld-x86-64/load2.s: Likewise.
1682         * testsuite/ld-x86-64/x86-64.exp: Run load2.
1683
1684 2016-05-05  H.J. Lu  <hongjiu.lu@intel.com>
1685
1686         * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1687         * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1688         Likewise.
1689         * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1690         Likewise.
1691
1692 2016-05-05  H.J. Lu  <hongjiu.lu@intel.com>
1693
1694         * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1695
1696 2016-05-04  H.J. Lu  <hongjiu.lu@intel.com>
1697
1698         * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1699
1700 2016-05-04  Maciej W. Rozycki  <macro@imgtec.com>
1701
1702         * testsuite/ld-unique/unique.d: New test.
1703         * testsuite/ld-unique/unique.exp: Run the new test.  Adjust
1704         messages for compiled tests.
1705
1706 2016-05-04  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1707
1708         * testsuite/ld-elf/pr18735.d: Allow other symbols.
1709         * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1710         * testsuite/ld-gc/pr14265.d: Allow other symbols.
1711         * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1712         plugin_tests only if check_shared_lib_support is true.
1713         * testsuite/ld-selective/selective.exp: Add --section-start
1714         flag for avr.
1715
1716 2016-05-03  Maciej W. Rozycki  <macro@imgtec.com>
1717
1718         PR 10549
1719         * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1720
1721 2016-05-03  Jiong Wang  <jiong.wang@arm.com>
1722
1723         * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1724         * NEWS: Mention --no-apply-dynamic-relocs.
1725         * ld.texinfo (ld and the ARM family): Document
1726         --no-apply-dynamic-relocs.
1727         * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1728         * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1729         * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1730         * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1731         option.
1732
1733 2016-05-03  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1734
1735         * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1736         before running STT_COMMON tests.
1737
1738 2016-04-29  H.J. Lu  <hongjiu.lu@intel.com>
1739
1740         * config/default.exp (NOPIE_CFLAGS): Download source only on
1741         remote host.
1742         (NOPIE_LDFLAGS): Likewise.
1743         * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1744         (check_lto_fat_available): Likewise.
1745         (check_lto_shared_available): Likewise.
1746         (check_ifunc_available): Likewise.
1747         (check_ifunc_attribute_available): Likewise.
1748
1749 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1750
1751         * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1752
1753 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1754
1755         PR ld/20006
1756         * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1757         (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1758         ELF targets.
1759
1760 2016-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1761
1762         * testsuite/ld-elf/compressed1b.d: Pass
1763         --compress-debug-sections=none to ld.
1764         * testsuite/ld-elf/compressed1c.d: Likewise.
1765
1766 2016-04-27  Alan Modra  <amodra@gmail.com>
1767
1768         PR target/19985
1769         * configure.tgt: Don't use var+=.
1770
1771 2016-04-25  Nick Clifton  <nickc@redhat.com>
1772
1773         PR target/19985
1774         * configure.tgt: Include big endian PPC64 emulations with little
1775         endian PPC64 targets.
1776
1777 2016-04-25  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
1778
1779         * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1780
1781 2016-04-21  H.J. Lu  <hongjiu.lu@intel.com>
1782
1783         * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
1784         Linux with GCC 4.9 or newer.
1785         (check_lto_fat_available): Likewise.
1786         (check_lto_shared_available): Likewise.
1787
1788 2016-04-21  Nick Clifton  <nickc@redhat.com>
1789
1790         * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1791         prefernce to _bfd_elf_link_check_relocs.  Drop test for ELF
1792         targets.  Do not stop the checks when problems are encountered.
1793
1794 2016-04-21  Alan Modra  <amodra@gmail.com>
1795
1796         * testsuite/ld-scripts/cross3.t: Add commonly used data
1797         and text section names to output section statements.
1798         * testsuite/ld-scripts/cross4.t: Likewise.
1799         * testsuite/ld-scripts/cross5.t: Likewise.
1800         * testsuite/ld-scripts/cross6.t: Likewise.
1801         * testsuite/ld-scripts/cross7.t: Likewise.
1802
1803 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1804
1805         * ldlang.c (lang_check_relocs): New function.
1806         (lang_process): Call lang_check_relocs after lang_gc_sections.
1807         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1808         call _bfd_elf_link_check_relocs here.
1809
1810 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1811
1812         PR ld/19972
1813         * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1814         R_386_NONE or R_X86_64_NONE.
1815
1816 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1817
1818         * testsuite/ld-x86-64/pic1.d: New file.
1819         * testsuite/ld-x86-64/pic1.s: Likewise.
1820         * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1821
1822 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1823
1824         * testsuite/ld-x86-64/pie2.d: New file.
1825         * testsuite/ld-x86-64/pie2.s: Likewise.
1826         * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1827
1828 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1829
1830         PR ld/19969
1831         * testsuite/ld-x86-64/pr19969.d: New file.
1832         * testsuite/ld-x86-64/pr19969a.S: Likewise.
1833         * testsuite/ld-x86-64/pr19969b.S: Likewise.
1834         * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1835
1836 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1837
1838         * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1839         New.
1840         * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1841         Likewise.
1842         * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1843         Likewise.
1844         * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1845         Likewise.
1846         * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1847         Likewise.
1848         * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1849         Likewise.
1850         * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1851         Likewise.
1852         * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1853         Likewise.
1854         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1855         Set check_relocs_after_open_input to TRUE if
1856         CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1857         (gld${EMULATION_NAME}_after_open): Call
1858         _bfd_elf_link_check_relocs on all inputs if
1859         check_relocs_after_open_input is TRUE.
1860
1861 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
1862
1863         * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1864         my_personality_v0.
1865
1866 2016-04-20  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
1867
1868         * emultempl/scoreelf.em: Likewise.
1869
1870 2016-04-19  H.J. Lu  <hongjiu.lu@intel.com>
1871
1872         PR ld/19719
1873         * testsuite/ld-x86-64/pr19719.d: New file.
1874         * testsuite/ld-x86-64/pr19719.s: Likewise.
1875         * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1876
1877 2016-04-18  Matthew Fortune  <matthew.fortune@imgtec.com>
1878
1879         * ld.texinfo: Document NOCROSSREFS_TO script command.
1880         * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1881         (lang_add_nocrossref_to): New prototype.
1882         * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1883         symbols defined in the first section.
1884         (check_nocrossref): Likewise.
1885         * ldgram.y (NOCROSSREFS_TO): New script command.
1886         * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1887         (lang_add_nocrossref_to): New function.
1888         * ldlex.l (NOCROSSREFS_TO): New token.
1889         * NEWS: Mention NOCROSSREFS_TO.
1890         * testsuite/ld-scripts/cross4.t: New file.
1891         * testsuite/ld-scripts/cross5.t: Likewise.
1892         * testsuite/ld-scripts/cross6.t: Likewise.
1893         * testsuite/ld-scripts/cross7.t: Likewise.
1894         * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1895         tests.
1896
1897 2016-04-15  H.J. Lu  <hongjiu.lu@intel.com>
1898
1899         * Makefile.in: Regenerated with automake 1.11.6.
1900         * aclocal.m4: Likewise.
1901
1902 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1903
1904         * testsuite/ld-arc/arc.exp: New file.
1905         * testsuite/ld-arc/nps-1.s: New file.
1906         * testsuite/ld-arc/nps-1a.d: New file.
1907         * testsuite/ld-arc/nps-1b.d: New file.
1908         * testsuite/ld-arc/nps-1b.err: New file.
1909
1910 2016-04-14  Nick Clifton  <nickc@redhat.com>
1911
1912         PR 19457
1913         * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1914         exceptions for Mingw and Cygwin.
1915
1916 2016-04-13  Andrew Burgess  <andrew.burgess@embecosm.com>
1917
1918         * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1919         check_ld(terminal).
1920
1921 2016-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1922
1923         PR ld/19774
1924         * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1925         tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1926         tests.
1927
1928 2016-04-11  H.J. Lu  <hongjiu.lu@intel.com>
1929
1930         PR ld/19939
1931         * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1932         * testsuite/ld-x86-64/x86-64.exp: Likewise.
1933         * testsuite/ld-i386/pr19939.s: New file.
1934         * testsuite/ld-i386/pr19939a.d: Likewise.
1935         * testsuite/ld-i386/pr19939b.d: Likewise.
1936         * testsuite/ld-x86-64/pr19939.s: Likewise.
1937         * testsuite/ld-x86-64/pr19939a.d: Likewise.
1938         * testsuite/ld-x86-64/pr19939b.d: Likewise.
1939
1940 2016-04-09  Oleg Endo  <olegendo@gcc.gnu.org>
1941
1942         * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1943
1944 2016-04-08  Alan Modra  <amodra@gmail.com>
1945
1946         PR 18452
1947         * ldlang.c (maybe_overlays): Delete.
1948         (lang_size_sections_1): Remove code setting maybe_overlays.
1949         (lang_check_section_addresses): Instead detect overlays by
1950         exact match of section VMAs here.  Fix memory leak.
1951
1952 2016-04-08  Dan Gisselquist  <dgisselq@ieee.org>
1953
1954         * ldlang.c (print_output_section_statement): Show minfo size
1955         in target machine address units.
1956         (print_reloc_statement): Likewise.
1957         (print_padding_statement): Likewise.
1958         (print_data_statement): Likewise.  Ensure minimum print_dot
1959         increment of one address unit.
1960
1961 2016-04-07  Andrew Burgess  <andrew.burgess@embecosm.com>
1962
1963         * emulparams/arc-endianness.sh: Make little endian default choice.
1964
1965 2016-04-07  Nick Clifton  <nickc@redhat.com>
1966
1967         * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1968         section name.
1969         * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1970
1971 2016-04-05  Andrew Burgess  <andrew.burgess@embecosm.com>
1972
1973         * emulparams/arc-endianness.sh: New file.
1974         * emulparams/arcebelf.sh: Deleted.
1975         * emulparams/arcebelf_prof.sh: Deleted.
1976         * emulparams/arceblinux.sh: Deleted.
1977         * emulparams/arceblinux_prof.sh: Deleted.
1978         * emulparams/arcelf.sh: Include arc-endinness.sh.
1979         * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1980         * emulparams/arclinux.sh: Include arc-endinness.sh.
1981         * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1982         * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1983         * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1984         * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1985         little endian arc targets.
1986         * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1987         * testsuite/ld-elf/group1.d: Likewise.
1988         * testsuite/ld-elf/group3b.d: Likewise.
1989         * testsuite/ld-elf/group8a.d: Likewise.
1990         * testsuite/ld-elf/group8b.d: Likewise.
1991         * testsuite/ld-elf/group9a.d: Likewise.
1992         * testsuite/ld-elf/group9b.d: Likewise.
1993         * testsuite/ld-elf/linkonce2.d: Likewise.
1994         * testsuite/ld-elf/pr12851.d: Likewise.
1995         * testsuite/ld-elf/pr12975.d: Likewise.
1996         * testsuite/ld-elf/pr13177.d: Likewise.
1997         * testsuite/ld-elf/pr13195.d: Likewise.
1998         * testsuite/ld-elf/pr17615.d: Likewise.
1999         * testsuite/ld-elf/pr19162.d: Likewise.
2000         * testsuite/ld-elf/sec64k.exp: Likewise.
2001         * testsuite/lib/ld-lib.exp: Likewise.
2002
2003 2016-04-05  Maciej W. Rozycki  <macro@imgtec.com>
2004
2005         PR ld/19908
2006         * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2007         handling fix.
2008         * testsuite/ld-cris/tls-e-20a.d: Likewise.
2009         * testsuite/ld-cris/tls-e-21.d: Likewise.
2010         * testsuite/ld-cris/tls-e-23.d: Likewise.
2011         * testsuite/ld-cris/tls-e-80.d: Likewise.
2012         * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2013         * testsuite/ld-cris/tls-leie-19.d: Likewise.
2014         * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2015         * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2016         * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2017         * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2018         * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2019         * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2020         * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2021         * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2022
2023 2016-04-05  Cupertino Miranda  <cmiranda@synopsys.com>
2024
2025         * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2026         * testsuite/ld-discard/start.d: Likewise.
2027         * testsuite/ld-discard/static.d: Likewise.
2028         * testsuite/ld-elf/group1.d: Likewise.
2029         * testsuite/ld-elf/group3b.d: Likewise.
2030         * testsuite/ld-elf/orphan-region.d: Likewise.
2031         * testsuite/ld-elf/orphan.d: Likewise.
2032         * testsuite/ld-elf/orphan3.d: Likewise.
2033         * testsuite/ld-elf/pr349.d: Likewise.
2034         * testsuite/ld-elf/warn1.d: Likewise.
2035         * testsuite/ld-elf/warn2.d: Likewise.
2036         * testsuite/ld-elf/warn3.d: Likewise.
2037         * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2038         through linker flags.
2039         * testsuite/ld-srec/srec.exp: Set as xfail.
2040
2041 2016-04-04  H.J. Lu  <hongjiu.lu@intel.com>
2042
2043         PR ld/19827
2044         * testsuite/ld-i386/pr19827-nacl.rd: New file.
2045         * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2046
2047 2016-04-04  Nick Clifton  <nickc@redhat.com>
2048
2049         PR 19803
2050         * emultempl/pe.em (change_undef): New function.  Encapsulates
2051         duplicated code in pe_fixup_stdcalls and adds the newly defined
2052         sym to the gc root list.
2053         (pe_fixup_stdcall): Use the new function.
2054         * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2055         symbol to gc root list.
2056
2057 2016-03-31  Alan Modra  <amodra@gmail.com>
2058
2059         * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2060         (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2061         (print_input_section): Don't use TO_ADDR when printing section
2062         size.
2063         (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2064         (lang_size_sections): Use TO_ADDR in relro end calculation.
2065
2066 2016-03-30  Andrew Burgess  <andrew.burgess@embecosm.com>
2067
2068         * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2069         value from regexp_diff.
2070         * testsuite/ld-elf/orphan-5.l: Fix expected output.
2071         * testsuite/ld-elf/orphan-6.l: Likewise.
2072
2073 2016-03-30  Alan Modra  <amodra@gmail.com>
2074
2075         PR 18452
2076         * ldlang.c (maybe_overlays): New static var.
2077         (lang_size_sections_1): Set it here.
2078         (struct check_sec): New.
2079         (sort_sections_by_lma): Adjust for array of structs.
2080         (sort_sections_by_vma): New function.
2081         (lang_check_section_addresses): Check both LMA and VMA for overlap.
2082         * testsuite/ld-scripts/rgn-over7.d: Adjust.
2083
2084 2016-03-30  Alan Modra  <amodra@gmail.com>
2085
2086         * ldlang.c (lang_size_sections_1): Correct code detecting a
2087         backward non-overlapping move.
2088
2089 2016-03-30  Alan Modra  <amodra@gmail.com>
2090
2091         * ldlang.c (IS_TBSS): New macro, extracted from..
2092         (IGNORE_SECTION): ..here.
2093         (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2094         (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2095
2096 2016-03-22  Nick Clifton  <nickc@redhat.com>
2097
2098         PR ld/19803
2099         * ldlang.c (lang_add_gc_name): New function.  Adds the provided
2100         symbol name to the list of gc symbols.
2101         (lang_process): Call lang_add_gc_name with entry_symbol_default if
2102         entry_symbol.name is NULL.  Use lang_add_gc_name to add the init
2103         and fini function names.
2104         * pe-dll.c (process_def_file_and_drectve): Add exported names to
2105         the gc symbol list.
2106         * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2107         * testsuite/ld-pe/pr19803.d: Tweak expected output.
2108
2109 2016-03-22  Nick Clifton  <nickc@redhat.com>
2110
2111         * configure: Regenerate.
2112
2113 2016-03-21  Nick Clifton  <nickc@redhat.com>
2114
2115         * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2116         * plugin.c: Likewise.
2117         * pe-dll.c: Likewise.
2118
2119 2016-03-18  Awson  <kyrab@mail.ru>
2120
2121         PR 19531
2122         * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2123         this section.
2124         * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2125
2126 2016-03-18  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
2127
2128         * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2129
2130 2016-03-15  H.J. Lu  <hongjiu.lu@intel.com>
2131
2132         PR ld/19827
2133         * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2134         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2135         * testsuite/ld-i386/pr19827.rd: New file.
2136         * testsuite/ld-i386/pr19827a.S: Likewise.
2137         * testsuite/ld-i386/pr19827b.S: Likewise.
2138         * testsuite/ld-x86-64/pr19827.rd: Likewise.
2139         * testsuite/ld-x86-64/pr19827a.S: Likewise.
2140         * testsuite/ld-x86-64/pr19827b.S: Likewise.
2141
2142 2016-03-15  H.J. Lu  <hongjiu.lu@intel.com>
2143
2144         PR ld/19807
2145         * Makefile.am (ELF_X86_DEPS): Add
2146         $(srcdir)/emulparams/reloc_overflow.sh.
2147         * Makefile.in: Regenerated.
2148         * NEWS: Mention -z noreloc-overflow.
2149         * ld.texinfo: Document -z noreloc-overflow.
2150         * emulparams/elf32_x86_64.sh: Source
2151         ${srcdir}/emulparams/reloc_overflow.sh.
2152         * emulparams/elf_x86_64.sh: Likewise.
2153         * emulparams/reloc_overflow.sh: New file.
2154         * testsuite/ld-x86-64/pr19807-1.s: New file.
2155         * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2156         * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2157         * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2158         * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2159         * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2160         * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2161         * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2162         * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2163         * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2164
2165 2016-03-13  H.J. Lu  <hongjiu.lu@intel.com>
2166
2167         PR ld/19539
2168         * testsuite/ld-i386/i386.exp: Run pr19539.
2169         * testsuite/ld-i386/pr19539.d: New file.
2170         * testsuite/ld-i386/pr19539.s: Likewise.
2171         * testsuite/ld-i386/pr19539.t: Likewise.
2172         * testsuite/ld-x86-64/pr19539.s: Likewise.
2173         * testsuite/ld-x86-64/pr19539.t: Likewise.
2174         * testsuite/ld-x86-64/pr19539a.d: Likewise.
2175         * testsuite/ld-x86-64/pr19539b.d: Likewise.
2176         * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2177
2178 2016-03-10  Mickael Guene  <mickael.guene@st.com>
2179
2180         PR gas/19744
2181         * testsuite/ld-arm/arm-elf.exp: New tests.
2182         * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2183         * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2184
2185 2016-03-10  Nick Clifton  <nickc@redhat.com>
2186
2187         * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2188
2189 2016-03-09  Pedro Alves  <palves@redhat.com>
2190
2191         * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2192         * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2193
2194 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2195
2196         PR ld/19789
2197         * testsuite/ld-elf/pr19789.d: New file.
2198         * testsuite/ld-elf/pr19789.s: Likewise.
2199
2200 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2201
2202         PR ld/19784
2203         * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2204         * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2205         * testsuite/ld-i386/pr19636-2e.d: Here.  Remove notarget.
2206         * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2207         * testsuite/ld-ifunc/pass.out: New file.
2208         * testsuite/ld-ifunc/pr19784a.c: Likewise.
2209         * testsuite/ld-ifunc/pr19784b.c: Likewise.
2210         * testsuite/ld-ifunc/pr19784c.c: Likewise.
2211
2212 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2213
2214         PR ld/19774
2215         * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2216         tmpdir/libpr18808.so.  Link tmpdir/pr18841a.o before
2217         tmpdir/libpr18841b.so and tmpdir/libpr18841c.so.  Test
2218         --as-needed for pr18841c.
2219
2220 2016-03-07  H.J. Lu  <hongjiu.lu@intel.com>
2221
2222         PR ld/19774
2223         * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2224         tmpdir/pr18900.so and test --as-needed.  Link tmpdir/gotpc1.o
2225         before tmpdir/got1d.so and test --as-needed.
2226         * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2227         tmpdir/pr18900.so and test --as-needed.
2228
2229 2016-03-07  Jiong Wang  <jiong.wang@arm.com>
2230
2231         * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2232         * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2233         result.
2234         * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2235
2236 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2237
2238         * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2239         before tmpdir/copyreloc-lib.so and test --as-needed.
2240         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2241
2242 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2243
2244         PR ld/19579
2245         * testsuite/ld-elf/pr19579a.c: New file.
2246         * testsuite/ld-elf/pr19579b.c: Likewise.
2247         * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2248
2249 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
2250
2251         * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2252
2253 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
2254
2255         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2256         Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2257
2258 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
2259
2260         PR ld/19739
2261         * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2262         input sections for relocatable link.
2263         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2264         * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2265
2266 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2267
2268         PR ld/19739
2269         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2270         merge flags of other input sections for relocatable link.
2271
2272 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2273
2274         * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2275
2276 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2277
2278         * testsuite/ld-elf/pr19162.d: Skip arc target.
2279
2280 2016-02-29  H.J. Lu  <hongjiu.lu@intel.com>
2281
2282         PR ld/19162
2283         * testsuite/ld-elf/pr19162.d: New file.
2284         * testsuite/ld-elf/pr19162a.s: Likwise.
2285         * testsuite/ld-elf/pr19162b.s: Likwise.
2286
2287 2016-02-29 Cupertino Miranda  <cmiranda@synopsys.com>
2288
2289         * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2290         * testsuite/ld-elf/merge2.d: Likewise.
2291         * testsuite/ld-elf/merge3.d: Likewise.
2292
2293 2016-02-29  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
2294
2295         * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2296         generated.
2297
2298 2016-02-26  Renlin Li  <renlin.li@arm.com>
2299
2300         * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2301         * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2302         * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2303         * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2304         * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2305         * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2306         * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2307         * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2308         * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2309         * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2310
2311 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2312
2313         PR ld/19609
2314         * testsuite/ld-i386/got1.dd: Updated.
2315         * testsuite/ld-i386/lea1c.d: Likewise.
2316         * testsuite/ld-i386/load1-nacl.d: Likewise.
2317         * testsuite/ld-i386/load1.d: Likewise.
2318         * testsuite/ld-i386/load4b.d: Likewise.
2319         * testsuite/ld-i386/load5b.d: Likewise.
2320         * testsuite/ld-i386/mov1b.d: Likewise.
2321         * testsuite/ld-x86-64/mov1b.d: Likewise.
2322         * testsuite/ld-x86-64/mov1d.d: Likewise.
2323         * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2324         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2325         * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2326         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2327         * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2328         * testsuite/ld-x86-64/lea1a.d: Likewise.
2329         * testsuite/ld-x86-64/lea1b.d: Likewise.
2330         * testsuite/ld-x86-64/lea1c.d: Likewise.
2331         * testsuite/ld-x86-64/lea1d.d: Likewise.
2332         * testsuite/ld-x86-64/lea1e.d: Likewise.
2333         * testsuite/ld-x86-64/lea1f.d: Likewise.
2334         * testsuite/ld-x86-64/mov1b.d: Likewise.
2335         * testsuite/ld-x86-64/mov1d.d: Likewise.
2336         * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2337         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2338         * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2339         * testsuite/ld-i386/pr19609-1.s: New file.
2340         * testsuite/ld-i386/pr19609-1a.d: Likewise.
2341         * testsuite/ld-i386/pr19609-1b.d: Likewise.
2342         * testsuite/ld-i386/pr19609-1c.d: Likewise.
2343         * testsuite/ld-i386/pr19609-1d.d: Likewise.
2344         * testsuite/ld-i386/pr19609-1e.d: Likewise.
2345         * testsuite/ld-i386/pr19609-1f.d: Likewise.
2346         * testsuite/ld-i386/pr19609-1g.d: Likewise.
2347         * testsuite/ld-i386/pr19609-1h.d: Likewise.
2348         * testsuite/ld-i386/pr19609-1i.d: Likewise.
2349         * testsuite/ld-i386/pr19609-2.s: Likewise.
2350         * testsuite/ld-i386/pr19609-2a.d: Likewise.
2351         * testsuite/ld-i386/pr19609-2b.d: Likewise.
2352         * testsuite/ld-i386/pr19609-2c.d: Likewise.
2353         * testsuite/ld-i386/undefweak.s: Likewise.
2354         * testsuite/ld-i386/undefweaka.d: Likewise.
2355         * testsuite/ld-i386/undefweakb.d: Likewise.
2356         * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2357         * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2358         * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2359         * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2360         * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2361         * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2362         * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2363         * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2364         * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2365         * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2366         * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2367         * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2368         * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2369         * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2370         * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2371         * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2372         * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2373         * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2374         * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2375         * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2376         * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2377         * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2378         * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2379         * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2380         * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2381         * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2382         * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2383         * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2384         * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2385         * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2386         * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2387         * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2388         * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2389         * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2390         * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2391         * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2392         * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2393         * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2394         * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2395         * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2396         * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2397         * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2398         * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2399         * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2400         * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2401         * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2402         * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2403         PR ld/19609.
2404         * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2405         and tests for PR ld/19609.
2406
2407 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2408
2409         PR ld/19645
2410         * NEWS: Mention -z common/-z nocommon for ELF targets.
2411         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2412         -z common and -z nocommon.
2413         * ld.texinfo: Document -z common/-z nocommon.
2414         * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2415         * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2416         --elf-stt-common=yes with assembler.
2417         * testsuite/ld-elfcomm/common-1.s: New file.
2418         * testsuite/ld-elfcomm/common-1a.d: Likewise.
2419         * testsuite/ld-elfcomm/common-1b.d: Likewise.
2420         * testsuite/ld-elfcomm/common-1c.d: Likewise.
2421         * testsuite/ld-elfcomm/common-1d.d: Likewise.
2422         * testsuite/ld-elfcomm/common-1e.d: Likewise.
2423         * testsuite/ld-elfcomm/common-1f.d: Likewise.
2424         * testsuite/ld-elfcomm/common-2.s: Likewise.
2425         * testsuite/ld-elfcomm/common-2a.d: Likewise.
2426         * testsuite/ld-elfcomm/common-2b.d: Likewise.
2427         * testsuite/ld-elfcomm/common-2c.d: Likewise.
2428         * testsuite/ld-elfcomm/common-2d.d: Likewise.
2429         * testsuite/ld-elfcomm/common-2e.d: Likewise.
2430         * testsuite/ld-elfcomm/common-2f.d: Likewise.
2431         * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2432         * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2433         * testsuite/ld-i386/pr19645.d: Likewise.
2434         * testsuite/ld-i386/pr19645.s: Likewise.
2435         * testsuite/ld-x86-64/largecomm-1.s: Likewise.
2436         * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
2437         * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
2438         * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
2439         * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
2440         * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
2441         * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
2442         * testsuite/ld-x86-64/pr19645.d: Likewise.
2443         * testsuite/ld-x86-64/pr19645.s: Likewise.
2444         * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
2445         with assembler.
2446         (assembler_generates_commons): Removed.
2447         Run -z common/-z nocommon tests.  Run *.d tests.
2448         * testsuite/ld-i386/i386.exp: Run pr19645.
2449         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2450         * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
2451         assembler.  Test STT_COMMON with readelf.
2452
2453 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
2454
2455         PR ld/19636
2456         PR ld/19704
2457         PR ld/19719
2458         * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
2459         * Makefile.in: Regenerated.
2460         * NEWS: Mention -z nodynamic-undefined-weak.
2461         * ld.texinfo: Document -z nodynamic-undefined-weak.
2462         * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
2463         * emulparams/dynamic_undefined_weak.sh: New file.
2464         * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
2465         * emulparams/elf_i386.sh: Likewise.
2466         * emulparams/elf_i386_be.sh: Likewise.
2467         * emulparams/elf_i386_chaos.sh: Likewise.
2468         * emulparams/elf_i386_ldso.sh: Likewise.
2469         * emulparams/elf_i386_vxworks.sh: Likewise.
2470         * emulparams/elf_iamcu.sh: Likewise.
2471         * emulparams/elf_k1om.sh: Likewise.
2472         * emulparams/elf_l1om.sh: Likewise.
2473         * emulparams/elf_x86_64.sh: Likewise.
2474         * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
2475         Append.
2476         (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
2477         * testsuite/ld-elf/pr19719a.c: New file.
2478         * testsuite/ld-elf/pr19719b.c: Likewise.
2479         * testsuite/ld-elf/pr19719c.c: Likewise.
2480         * testsuite/ld-elf/pr19719d.c: Likewise.
2481         * testsuite/ld-i386/pr19636-1.s: Likewise.
2482         * testsuite/ld-i386/pr19636-1a.d: Likewise.
2483         * testsuite/ld-i386/pr19636-1b.d: Likewise.
2484         * testsuite/ld-i386/pr19636-1c.d: Likewise.
2485         * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
2486         * testsuite/ld-i386/pr19636-1d.d: Likewise.
2487         * testsuite/ld-i386/pr19636-1e.d: Likewise.
2488         * testsuite/ld-i386/pr19636-1f.d: Likewise.
2489         * testsuite/ld-i386/pr19636-1g.d: Likewise.
2490         * testsuite/ld-i386/pr19636-1h.d: Likewise.
2491         * testsuite/ld-i386/pr19636-1i.d: Likewise.
2492         * testsuite/ld-i386/pr19636-2.s: Likewise.
2493         * testsuite/ld-i386/pr19636-2a.d: Likewise.
2494         * testsuite/ld-i386/pr19636-2b.d: Likewise.
2495         * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
2496         * testsuite/ld-i386/pr19636-2c.d: Likewise.
2497         * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
2498         * testsuite/ld-i386/pr19636-2d.d: Likewise.
2499         * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
2500         * testsuite/ld-i386/pr19636-2e.d: Likewise.
2501         * testsuite/ld-i386/pr19636-3.s: Likewise.
2502         * testsuite/ld-i386/pr19636-3a.d: Likewise.
2503         * testsuite/ld-i386/pr19636-3b.d: Likewise.
2504         * testsuite/ld-i386/pr19636-3c.d: Likewise.
2505         * testsuite/ld-i386/pr19636-3d.d: Likewise.
2506         * testsuite/ld-i386/pr19636-3e.d: Likewise.
2507         * testsuite/ld-i386/pr19636-3f.d: Likewise.
2508         * testsuite/ld-i386/pr19636-3g.d: Likewise.
2509         * testsuite/ld-i386/pr19636-4.s: Likewise.
2510         * testsuite/ld-i386/pr19636-4a.d: Likewise.
2511         * testsuite/ld-i386/pr19636-4b.d: Likewise.
2512         * testsuite/ld-i386/pr19636-4c.d: Likewise.
2513         * testsuite/ld-i386/pr19636-4d.d: Likewise.
2514         * testsuite/ld-i386/pr19704.out: Likewise.
2515         * testsuite/ld-i386/pr19704a.c: Likewise.
2516         * testsuite/ld-i386/pr19704b.c: Likewise.
2517         * testsuite/ld-x86-64/pr19636-1.s: Likewise.
2518         * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
2519         * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
2520         * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
2521         * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
2522         * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
2523         * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
2524         * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
2525         * testsuite/ld-x86-64/pr19636-2.s: Likewise.
2526         * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
2527         * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
2528         * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
2529         * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
2530         * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2531         * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
2532         * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
2533         * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
2534         * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
2535         * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
2536         * testsuite/ld-x86-64/pr19636-3.s: Likewise.
2537         * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
2538         * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
2539         * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
2540         * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
2541         * testsuite/ld-x86-64/pr19704.out: Likewise.
2542         * testsuite/ld-x86-64/pr19704a.c: Likewise.
2543         * testsuite/ld-x86-64/pr19704b.c: Likewise.
2544         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
2545         Run mix_pic_and_non_pic.
2546         * testsuite/ld-i386/i386.exp (undefined_weak): New.
2547         Run undefined_weak and PR ld/19636 tests.
2548         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2549         * testsuite/ld-x86-64/pr13082-3b.d: Updated.
2550         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2551
2552 2016-02-25  Nick Clifton  <nickc@redhat.com>
2553
2554         * ld.h (struct ld_config_type): Remove specified_data_size field.
2555
2556 2016-02-24  H.J. Lu  <hongjiu.lu@intel.com>
2557
2558         PR ld/19698
2559         * testsuite/ld-elf/pr19698.d: New file.
2560         * testsuite/ld-elf/pr19698.s: Likewise.
2561         * testsuite/ld-elf/pr19698.t: Likewise.
2562
2563 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2564
2565         * Makefile.am (ELF_X86_DEPS): New.
2566         (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2567         (eelf_i386_chaos.c): Likewise.
2568         (eelf_i386_fbsd.c): Likewise.
2569         (eelf_i386_ldso.c): Likewise.
2570         (eelf_i386_nacl.c): Likewise.
2571         (eelf_i386_sol2.c): Likewise.
2572         (eelf_iamcu.c): Likewise.
2573         (eelf32_x86_64.c): Likewise.
2574         (eelf32_x86_64_nacl.c): Likewise.
2575         (eelf_l1om.c): Likewise.
2576         (eelf_l1om_fbsd.c): Likewise.
2577         (eelf_k1om.c): Likewise.
2578         (eelf_k1om_fbsd.c): Likewise.
2579         (eelf_x86_64.c): Likewise.
2580         (eelf_x86_64_cloudabi.c): Likewise.
2581         (eelf_x86_64_fbsd.c): Likewise.
2582         (eelf_x86_64_sol2.c): Likewise.
2583         * Makefile.in: Regenerated.
2584
2585 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2586
2587         * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2588         * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2589         * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2590         * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2591
2592 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
2593
2594         * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2595
2596 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2597
2598         * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2599         *-*-gnu* and *-*-solaris*.
2600         * testsuite/ld-elf/pr19617b.d: Likewise.
2601         * testsuite/ld-elf/pr19617c.d: Likewise.
2602
2603 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
2604
2605         PR ld/19617
2606         * testsuite/ld-elf/pr19617.s: New file.
2607         * testsuite/ld-elf/pr19617a.d: Likewise.
2608         * testsuite/ld-elf/pr19617b.d: Likewise.
2609         * testsuite/ld-elf/pr19617c.d: Likewise.
2610
2611 2016-02-18  Nick Clifton  <nickc@redhat.com>
2612
2613         * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2614         in-tree xg++ executable after checking for the presence of an
2615         in-tree g++ executable.
2616         * Makefile.in: Regenerate.
2617
2618 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2619
2620         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2621         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2622         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2623
2624 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2625
2626         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2627         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2628         * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2629         * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2630         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2631         * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2632         * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2633         * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2634         * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2635         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2636         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2637         * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2638         * testsuite/ld-x86-64/load1c.d: Likewise.
2639         * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2640         * testsuite/ld-x86-64/load1d.d: Likewise.
2641         * testsuite/ld-x86-64/pr14207.d: Likewise.
2642         * testsuite/ld-x86-64/pr19162.d: Likewise.
2643         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2644         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2645         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2646         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2647         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2648         * testsuite/ld-x86-64/tlspic.rd: Likewise.
2649
2650 2016-02-17  Nick Clifton  <nickc@redhat.com>
2651
2652         * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2653
2654 2016-02-15  Nick Clifton  <nickc@redhat.com>
2655
2656         * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2657         description of the flags produced by readelf.
2658         * testsuite/ld-i386/pr12921.d: Likewise.
2659         * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2660         * testsuite/ld-i386/tlsbin.rd: Likewise.
2661         * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2662         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2663         * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2664         * testsuite/ld-i386/tlsdesc.rd: Likewise.
2665         * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2666         * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2667         * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2668         * testsuite/ld-i386/tlsnopic.rd: Likewise.
2669         * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2670         * testsuite/ld-i386/tlspic.rd: Likewise.
2671         * testsuite/ld-s390/tlsbin.rd: Likewise.
2672         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2673         * testsuite/ld-s390/tlspic.rd: Likewise.
2674         * testsuite/ld-s390/tlspic_64.rd: Likewise.
2675         * testsuite/ld-sh/tlsbin-2.d: Likewise.
2676         * testsuite/ld-sh/tlspic-2.d: Likewise.
2677         * testsuite/ld-tic6x/common.d: Likewise.
2678         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2679         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2680         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2681         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2682         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2683         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2684         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2685         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2686         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2687         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2688         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2689         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2690         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2691         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2692         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2693         * testsuite/ld-x86-64/pr12718.d: Likewise.
2694         * testsuite/ld-x86-64/pr12921.d: Likewise.
2695         * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2696         * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2697         * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2698         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2699         * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2700         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2701         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2702         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2703         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2704         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2705         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2706         * testsuite/ld-x86-64/tlspic.rd: Likewise.
2707         * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2708         * testsuite/ld-xtensa/tlspic.rd: Likewise.
2709
2710 2016-02-11  H.J. Lu  <hongjiu.lu@intel.com>
2711
2712         PR ld/19615
2713         * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2714         PIE.
2715         * lexsup.c (parse_args): Enable -Bsymbolic and
2716         -Bsymbolic-functions for PIE.
2717         * testsuite/ld-i386/i386.exp: Run pr19615.
2718         * testsuite/ld-i386/pr19615.d: New file.
2719         * testsuite/ld-i386/pr19615.s: Likewise.
2720         * testsuite/ld-x86-64/pr19615.d: Likewise.
2721         * testsuite/ld-x86-64/pr19615.s: Likewise.
2722
2723 2016-02-09  Nick Clifton  <nickc@redhat.com>
2724
2725         * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2726         * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2727         * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2728         * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2729
2730 2016-02-04  Nick Clifton  <nickc@redhat.com>
2731
2732         * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2733         * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2734         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2735         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2736         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2737         * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2738         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2739         * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2740         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2741
2742 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
2743
2744         PR gas/19520
2745         * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2746         * testsuite/ld-i386/call1.d: Likewise.
2747         * testsuite/ld-i386/call2.d: Likewise.
2748         * testsuite/ld-i386/call3a.d: Likewise.
2749         * testsuite/ld-i386/call3b.d: Likewise.
2750         * testsuite/ld-i386/call3c.d: Likewise.
2751         * testsuite/ld-i386/call3d.d: Likewise.
2752         * testsuite/ld-i386/call3e.d: Likewise.
2753         * testsuite/ld-i386/call3f.d: Likewise.
2754         * testsuite/ld-i386/call3g.d: Likewise.
2755         * testsuite/ld-i386/call3h.d: Likewise.
2756         * testsuite/ld-i386/jmp1.d: Likewise.
2757         * testsuite/ld-i386/jmp2.d: Likewise.
2758         * testsuite/ld-i386/lea1c.d: Likewise.
2759         * testsuite/ld-i386/load1.d: Likewise.
2760         * testsuite/ld-i386/load2.d: Likewise.
2761         * testsuite/ld-i386/load3.d: Likewise.
2762         * testsuite/ld-i386/load4a.d: Likewise.
2763         * testsuite/ld-i386/load5a.d: Likewise.
2764         * testsuite/ld-i386/mov2b.d: Likewise.
2765         * testsuite/ld-i386/mov3.d: Likewise.
2766         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2767         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2768         * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2769         * testsuite/ld-x86-64/call1a.d: Likewise.
2770         * testsuite/ld-x86-64/call1b.d: Likewise.
2771         * testsuite/ld-x86-64/call1c.d: Likewise.
2772         * testsuite/ld-x86-64/call1d.d: Likewise.
2773         * testsuite/ld-x86-64/call1e.d: Likewise.
2774         * testsuite/ld-x86-64/call1f.d: Likewise.
2775         * testsuite/ld-x86-64/call1h.d: Likewise.
2776         * testsuite/ld-x86-64/call1i.d: Likewise.
2777         * testsuite/ld-x86-64/load1a.d: Likewise.
2778         * testsuite/ld-x86-64/load1b.d: Likewise.
2779         * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2780         * testsuite/ld-i386/got1.dd: Updated.
2781         * testsuite/ld-i386/got1d.S (1): Removed.
2782         * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2783         * testsuite/ld-x86-64/x86-64.exp: Likewise.
2784
2785 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2786
2787         PR ld/18591
2788         * testsuite/ld-x86-64/pr18591.d: New file.
2789         * testsuite/ld-x86-64/pr18591.s: Likewise.
2790         * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2791
2792 2016-02-01  H.J. Lu  <hongjiu.lu@intel.com>
2793
2794         PR ld/19553
2795         * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2796         * testsuite/ld-elf/pr19553.map: New file.
2797         * testsuite/ld-elf/pr19553.map: Likewise.
2798         * testsuite/ld-elf/pr19553a.c: Likewise.
2799         * testsuite/ld-elf/pr19553b.c: Likewise.
2800         * testsuite/ld-elf/pr19553b.out: Likewise.
2801         * testsuite/ld-elf/pr19553c.c: Likewise.
2802         * testsuite/ld-elf/pr19553c.out: Likewise.
2803         * testsuite/ld-elf/pr19553d.c: Likewise.
2804         * testsuite/ld-elf/pr19553d.out: Likewise.
2805
2806 2016-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2807
2808         PR ld/19539
2809         * testsuite/ld-elf/pr19539.d: New file.
2810         * testsuite/ld-elf/pr19539.s: Likewise.
2811         * testsuite/ld-elf/pr19539.t: Likewise.
2812
2813 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
2814
2815         PR ld/19533
2816         * configure.ac (compressed_debug_sections): Replace == with =.
2817         * configure: Regenerated.
2818
2819 2016-01-22  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
2820
2821         * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2822         * scripttempl/avrtiny.sc (.noinit): Likewise.
2823
2824 2016-01-21  Nick Clifton  <nickc@redhat.com>
2825
2826         PR ld/19453
2827         * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2828         the arm-netbsdelf target.
2829
2830         PR ld/19455
2831         * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2832         disassmebler output.
2833         * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2834         * testsuite/ld-arm/vxworks1.dd: Likewise.
2835         * testsuite/ld-arm/vxworks1.rd: Likewise.
2836         * testsuite/ld-arm/vxworks1.ld: Set the output format.
2837
2838 2016-01-20  Jiong Wang  <jiong.wang@arm.com>
2839
2840         * testsuite/ld-aarch64/farcall-section.d: Delete.
2841         * testsuite/ld-aarch64/farcall-section.s: Delete.
2842         * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2843         * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2844         * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2845         * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2846         * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2847
2848 2016-01-20  Nick Clifton  <nickc@redhat.com>
2849
2850         PR 19457
2851         * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2852         early for PE based targets.
2853         * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2854         * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2855
2856 2016-01-20  Mickael Guene  <mickael.guene@st.com>
2857
2858         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2859         Add 'y' attribute usage.
2860         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2861         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2862         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2863
2864 2016-01-19  Nick Clifton  <nickc@redhat.com>
2865
2866         * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2867         foo@FOO and bar@@FOO.
2868
2869 2016-01-18  Alan Modra  <amodra@gmail.com>
2870
2871         * configure: Regenerate.
2872
2873 2016-01-18  Nick Clifton  <nickc@redhat.com>
2874
2875         * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2876         is not configured to support plugins.
2877
2878         * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2879         but with 16 byte section alignment.
2880         * testsuite/ld-scripts/rgn-at11.d: Use new source file.  Reenable
2881         test for MIPS targets.
2882
2883 2016-01-17  Alan Modra  <amodra@gmail.com>
2884
2885         * configure: Regenerate.
2886
2887 2016-01-17  Alan Modra  <amodra@gmail.com>
2888
2889         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2890         * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2891         * testsuite/ld-elf/pr14156a.d: Likewise.
2892         * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2893         * testsuite/ld-elf/sec64k.exp: Likewise.
2894
2895 2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2896
2897         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2898         Set address of .foo section when linking.
2899         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2900         in .foo section.
2901         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2902         output to the above changes.
2903
2904 2016-01-13  Nick Clifton  <nickc@redhat.com>
2905
2906         * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2907         for MIPS targets.
2908
2909         * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2910         fail for MIPS targets.
2911
2912         * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2913         MIPS targets.
2914
2915 2016-01-12  Yury Usishchev  <y.usishchev@samsung.com>
2916
2917         * testsuite/ld-arm/arm-elf.exp: New test.
2918         * testsuite/ld-arm/unwind-mix.d: New file.
2919         * testsuite/ld-arm/unwind-mix1.s: New file.
2920         * testsuite/ld-arm/unwind-mix2.s: New file.
2921
2922 2016-01-08  Jiong Wang  <jiong.wang@arm.com>
2923
2924         PR ld/19368
2925         * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2926         * testsuite/ld-arm/ifunc-4.rd: Likewise.
2927         * testsuite/ld-arm/ifunc-9.rd: Likewise.
2928         * testsuite/ld-arm/ifunc-10.rd: Likewise.
2929         * testsuite/ld-arm/ifunc-12.rd: Likewise.
2930         * testsuite/ld-arm/ifunc-13.rd: Likewise.
2931
2932 2016-01-05  Nick Clifton  <nickc@redhat.com>
2933
2934         * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2935         MSP430 hardware multiply address range.
2936         * scripttempl/elf32msp430.sc (__romdatastart): Define.
2937         (__romdatacopysize): Define.
2938         * scripttempl/elf32msp430_3.sc: Likewise.
2939
2940 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
2941
2942         * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2943         OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2944
2945 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
2946
2947         * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2948         messages expected according to MIPS BFD private data merge
2949         changes.
2950         * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2951         * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2952         * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2953         * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2954         * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2955         * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2956         * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2957         * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2958         * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2959         * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2960         * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2961         * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2962         * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2963
2964 2016-01-01  Alan Modra  <amodra@gmail.com>
2965
2966         Update year range in copyright notice of all files.
2967
2968 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2969 \f
2970 Copyright (C) 2016 Free Software Foundation, Inc.
2971
2972 Copying and distribution of this file, with or without modification,
2973 are permitted in any medium without royalty provided the copyright
2974 notice and this notice are preserved.
2975
2976 Local Variables:
2977 mode: change-log
2978 left-margin: 8
2979 fill-column: 74
2980 version-control: never
2981 End: