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