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