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