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