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