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