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