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