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