1 2016-05-09 Alan Modra <amodra@gmail.com>
3 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
4 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
5 * testsuite/ld-scripts/section-match-1.t: Likewise.
7 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
10 * testsuite/ld-elf/pr17550-1.s: New file.
11 * testsuite/ld-elf/pr17550-2.s: Likewise.
12 * testsuite/ld-elf/pr17550-3.s: Likewise.
13 * testsuite/ld-elf/pr17550-4.s: Likewise.
14 * testsuite/ld-elf/pr17550a.d: Likewise.
15 * testsuite/ld-elf/pr17550b.d: Likewise.
16 * testsuite/ld-elf/pr17550c.d: Likewise.
17 * testsuite/ld-elf/pr17550d.d: Likewise.
19 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
21 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
23 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
25 * testsuite/ld-i386/i386.exp: Run load7.
26 * testsuite/ld-i386/load7.d: New file.
27 * testsuite/ld-i386/load7.map: Likewise.
28 * testsuite/ld-i386/load7.s: Likewise.
29 * testsuite/ld-x86-64/load2.d: Likewise.
30 * testsuite/ld-x86-64/load2.map: Likewise.
31 * testsuite/ld-x86-64/load2.s: Likewise.
32 * testsuite/ld-x86-64/x86-64.exp: Run load2.
34 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
36 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
37 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
39 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
42 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
44 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
46 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
48 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
50 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
52 * testsuite/ld-unique/unique.d: New test.
53 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
54 messages for compiled tests.
56 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
58 * testsuite/ld-elf/pr18735.d: Allow other symbols.
59 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
60 * testsuite/ld-gc/pr14265.d: Allow other symbols.
61 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
62 plugin_tests only if check_shared_lib_support is true.
63 * testsuite/ld-selective/selective.exp: Add --section-start
66 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
69 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
71 2016-05-03 Jiong Wang <jiong.wang@arm.com>
73 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
74 * NEWS: Mention --no-apply-dynamic-relocs.
75 * ld.texinfo (ld and the ARM family): Document
76 --no-apply-dynamic-relocs.
77 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
78 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
79 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
80 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
83 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
85 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
86 before running STT_COMMON tests.
88 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
90 * config/default.exp (NOPIE_CFLAGS): Download source only on
92 (NOPIE_LDFLAGS): Likewise.
93 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
94 (check_lto_fat_available): Likewise.
95 (check_lto_shared_available): Likewise.
96 (check_ifunc_available): Likewise.
97 (check_ifunc_attribute_available): Likewise.
99 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
101 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
103 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
106 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
107 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
110 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
112 * testsuite/ld-elf/compressed1b.d: Pass
113 --compress-debug-sections=none to ld.
114 * testsuite/ld-elf/compressed1c.d: Likewise.
116 2016-04-27 Alan Modra <amodra@gmail.com>
119 * configure.tgt: Don't use var+=.
121 2016-04-25 Nick Clifton <nickc@redhat.com>
124 * configure.tgt: Include big endian PPC64 emulations with little
125 endian PPC64 targets.
127 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
129 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
131 2016-04-21 Nick Clifton <nickc@redhat.com>
133 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
134 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
135 targets. Do not stop the checks when problems are encountered.
137 2016-04-21 Alan Modra <amodra@gmail.com>
139 * testsuite/ld-scripts/cross3.t: Add commonly used data
140 and text section names to output section statements.
141 * testsuite/ld-scripts/cross4.t: Likewise.
142 * testsuite/ld-scripts/cross5.t: Likewise.
143 * testsuite/ld-scripts/cross6.t: Likewise.
144 * testsuite/ld-scripts/cross7.t: Likewise.
146 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
148 * ldlang.c (lang_check_relocs): New function.
149 (lang_process): Call lang_check_relocs after lang_gc_sections.
150 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
151 call _bfd_elf_link_check_relocs here.
153 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
156 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
157 R_386_NONE or R_X86_64_NONE.
159 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
161 * testsuite/ld-x86-64/pic1.d: New file.
162 * testsuite/ld-x86-64/pic1.s: Likewise.
163 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
165 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
167 * testsuite/ld-x86-64/pie2.d: New file.
168 * testsuite/ld-x86-64/pie2.s: Likewise.
169 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
171 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
174 * testsuite/ld-x86-64/pr19969.d: New file.
175 * testsuite/ld-x86-64/pr19969a.S: Likewise.
176 * testsuite/ld-x86-64/pr19969b.S: Likewise.
177 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
179 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
181 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
183 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
185 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
187 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
189 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
191 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
193 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
195 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
197 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
198 Set check_relocs_after_open_input to TRUE if
199 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
200 (gld${EMULATION_NAME}_after_open): Call
201 _bfd_elf_link_check_relocs on all inputs if
202 check_relocs_after_open_input is TRUE.
204 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
206 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
209 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
211 * emultempl/scoreelf.em: Likewise.
213 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
216 * testsuite/ld-x86-64/pr19719.d: New file.
217 * testsuite/ld-x86-64/pr19719.s: Likewise.
218 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
220 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
222 * ld.texinfo: Document NOCROSSREFS_TO script command.
223 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
224 (lang_add_nocrossref_to): New prototype.
225 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
226 symbols defined in the first section.
227 (check_nocrossref): Likewise.
228 * ldgram.y (NOCROSSREFS_TO): New script command.
229 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
230 (lang_add_nocrossref_to): New function.
231 * ldlex.l (NOCROSSREFS_TO): New token.
232 * NEWS: Mention NOCROSSREFS_TO.
233 * testsuite/ld-scripts/cross4.t: New file.
234 * testsuite/ld-scripts/cross5.t: Likewise.
235 * testsuite/ld-scripts/cross6.t: Likewise.
236 * testsuite/ld-scripts/cross7.t: Likewise.
237 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
240 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
242 * Makefile.in: Regenerated with automake 1.11.6.
243 * aclocal.m4: Likewise.
245 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
247 * testsuite/ld-arc/arc.exp: New file.
248 * testsuite/ld-arc/nps-1.s: New file.
249 * testsuite/ld-arc/nps-1a.d: New file.
250 * testsuite/ld-arc/nps-1b.d: New file.
251 * testsuite/ld-arc/nps-1b.err: New file.
253 2016-04-14 Nick Clifton <nickc@redhat.com>
256 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
257 exceptions for Mingw and Cygwin.
259 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
261 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
264 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
267 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
268 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
271 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
274 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
275 * testsuite/ld-x86-64/x86-64.exp: Likewise.
276 * testsuite/ld-i386/pr19939.s: New file.
277 * testsuite/ld-i386/pr19939a.d: Likewise.
278 * testsuite/ld-i386/pr19939b.d: Likewise.
279 * testsuite/ld-x86-64/pr19939.s: Likewise.
280 * testsuite/ld-x86-64/pr19939a.d: Likewise.
281 * testsuite/ld-x86-64/pr19939b.d: Likewise.
283 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
285 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
287 2016-04-08 Alan Modra <amodra@gmail.com>
290 * ldlang.c (maybe_overlays): Delete.
291 (lang_size_sections_1): Remove code setting maybe_overlays.
292 (lang_check_section_addresses): Instead detect overlays by
293 exact match of section VMAs here. Fix memory leak.
295 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
297 * ldlang.c (print_output_section_statement): Show minfo size
298 in target machine address units.
299 (print_reloc_statement): Likewise.
300 (print_padding_statement): Likewise.
301 (print_data_statement): Likewise. Ensure minimum print_dot
302 increment of one address unit.
304 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
306 * emulparams/arc-endianness.sh: Make little endian default choice.
308 2016-04-07 Nick Clifton <nickc@redhat.com>
310 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
312 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
314 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
316 * emulparams/arc-endianness.sh: New file.
317 * emulparams/arcebelf.sh: Deleted.
318 * emulparams/arcebelf_prof.sh: Deleted.
319 * emulparams/arceblinux.sh: Deleted.
320 * emulparams/arceblinux_prof.sh: Deleted.
321 * emulparams/arcelf.sh: Include arc-endinness.sh.
322 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
323 * emulparams/arclinux.sh: Include arc-endinness.sh.
324 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
325 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
326 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
327 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
328 little endian arc targets.
329 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
330 * testsuite/ld-elf/group1.d: Likewise.
331 * testsuite/ld-elf/group3b.d: Likewise.
332 * testsuite/ld-elf/group8a.d: Likewise.
333 * testsuite/ld-elf/group8b.d: Likewise.
334 * testsuite/ld-elf/group9a.d: Likewise.
335 * testsuite/ld-elf/group9b.d: Likewise.
336 * testsuite/ld-elf/linkonce2.d: Likewise.
337 * testsuite/ld-elf/pr12851.d: Likewise.
338 * testsuite/ld-elf/pr12975.d: Likewise.
339 * testsuite/ld-elf/pr13177.d: Likewise.
340 * testsuite/ld-elf/pr13195.d: Likewise.
341 * testsuite/ld-elf/pr17615.d: Likewise.
342 * testsuite/ld-elf/pr19162.d: Likewise.
343 * testsuite/ld-elf/sec64k.exp: Likewise.
344 * testsuite/lib/ld-lib.exp: Likewise.
346 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
349 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
351 * testsuite/ld-cris/tls-e-20a.d: Likewise.
352 * testsuite/ld-cris/tls-e-21.d: Likewise.
353 * testsuite/ld-cris/tls-e-23.d: Likewise.
354 * testsuite/ld-cris/tls-e-80.d: Likewise.
355 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
356 * testsuite/ld-cris/tls-leie-19.d: Likewise.
357 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
358 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
359 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
360 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
361 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
362 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
363 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
364 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
366 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
368 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
369 * testsuite/ld-discard/start.d: Likewise.
370 * testsuite/ld-discard/static.d: Likewise.
371 * testsuite/ld-elf/group1.d: Likewise.
372 * testsuite/ld-elf/group3b.d: Likewise.
373 * testsuite/ld-elf/orphan-region.d: Likewise.
374 * testsuite/ld-elf/orphan.d: Likewise.
375 * testsuite/ld-elf/orphan3.d: Likewise.
376 * testsuite/ld-elf/pr349.d: Likewise.
377 * testsuite/ld-elf/warn1.d: Likewise.
378 * testsuite/ld-elf/warn2.d: Likewise.
379 * testsuite/ld-elf/warn3.d: Likewise.
380 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
381 through linker flags.
382 * testsuite/ld-srec/srec.exp: Set as xfail.
384 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
387 * testsuite/ld-i386/pr19827-nacl.rd: New file.
388 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
390 2016-04-04 Nick Clifton <nickc@redhat.com>
393 * emultempl/pe.em (change_undef): New function. Encapsulates
394 duplicated code in pe_fixup_stdcalls and adds the newly defined
395 sym to the gc root list.
396 (pe_fixup_stdcall): Use the new function.
397 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
398 symbol to gc root list.
400 2016-03-31 Alan Modra <amodra@gmail.com>
402 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
403 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
404 (print_input_section): Don't use TO_ADDR when printing section
406 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
407 (lang_size_sections): Use TO_ADDR in relro end calculation.
409 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
411 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
412 value from regexp_diff.
413 * testsuite/ld-elf/orphan-5.l: Fix expected output.
414 * testsuite/ld-elf/orphan-6.l: Likewise.
416 2016-03-30 Alan Modra <amodra@gmail.com>
419 * ldlang.c (maybe_overlays): New static var.
420 (lang_size_sections_1): Set it here.
421 (struct check_sec): New.
422 (sort_sections_by_lma): Adjust for array of structs.
423 (sort_sections_by_vma): New function.
424 (lang_check_section_addresses): Check both LMA and VMA for overlap.
425 * testsuite/ld-scripts/rgn-over7.d: Adjust.
427 2016-03-30 Alan Modra <amodra@gmail.com>
429 * ldlang.c (lang_size_sections_1): Correct code detecting a
430 backward non-overlapping move.
432 2016-03-30 Alan Modra <amodra@gmail.com>
434 * ldlang.c (IS_TBSS): New macro, extracted from..
435 (IGNORE_SECTION): ..here.
436 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
437 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
439 2016-03-22 Nick Clifton <nickc@redhat.com>
442 * ldlang.c (lang_add_gc_name): New function. Adds the provided
443 symbol name to the list of gc symbols.
444 (lang_process): Call lang_add_gc_name with entry_symbol_default if
445 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
446 and fini function names.
447 * pe-dll.c (process_def_file_and_drectve): Add exported names to
449 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
450 * testsuite/ld-pe/pr19803.d: Tweak expected output.
452 2016-03-22 Nick Clifton <nickc@redhat.com>
454 * configure: Regenerate.
456 2016-03-21 Nick Clifton <nickc@redhat.com>
458 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
459 * plugin.c: Likewise.
460 * pe-dll.c: Likewise.
462 2016-03-18 Awson <kyrab@mail.ru>
465 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
467 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
469 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
471 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
473 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
476 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
477 * testsuite/ld-x86-64/x86-64.exp: Likewise.
478 * testsuite/ld-i386/pr19827.rd: New file.
479 * testsuite/ld-i386/pr19827a.S: Likewise.
480 * testsuite/ld-i386/pr19827b.S: Likewise.
481 * testsuite/ld-x86-64/pr19827.rd: Likewise.
482 * testsuite/ld-x86-64/pr19827a.S: Likewise.
483 * testsuite/ld-x86-64/pr19827b.S: Likewise.
485 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
488 * Makefile.am (ELF_X86_DEPS): Add
489 $(srcdir)/emulparams/reloc_overflow.sh.
490 * Makefile.in: Regenerated.
491 * NEWS: Mention -z noreloc-overflow.
492 * ld.texinfo: Document -z noreloc-overflow.
493 * emulparams/elf32_x86_64.sh: Source
494 ${srcdir}/emulparams/reloc_overflow.sh.
495 * emulparams/elf_x86_64.sh: Likewise.
496 * emulparams/reloc_overflow.sh: New file.
497 * testsuite/ld-x86-64/pr19807-1.s: New file.
498 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
499 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
500 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
501 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
502 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
503 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
504 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
505 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
506 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
508 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
511 * testsuite/ld-i386/i386.exp: Run pr19539.
512 * testsuite/ld-i386/pr19539.d: New file.
513 * testsuite/ld-i386/pr19539.s: Likewise.
514 * testsuite/ld-i386/pr19539.t: Likewise.
515 * testsuite/ld-x86-64/pr19539.s: Likewise.
516 * testsuite/ld-x86-64/pr19539.t: Likewise.
517 * testsuite/ld-x86-64/pr19539a.d: Likewise.
518 * testsuite/ld-x86-64/pr19539b.d: Likewise.
519 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
521 2016-03-10 Mickael Guene <mickael.guene@st.com>
524 * testsuite/ld-arm/arm-elf.exp: New tests.
525 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
526 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
528 2016-03-10 Nick Clifton <nickc@redhat.com>
530 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
532 2016-03-09 Pedro Alves <palves@redhat.com>
534 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
535 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
537 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
540 * testsuite/ld-elf/pr19789.d: New file.
541 * testsuite/ld-elf/pr19789.s: Likewise.
543 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
546 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
547 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
548 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
549 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
550 * testsuite/ld-ifunc/pass.out: New file.
551 * testsuite/ld-ifunc/pr19784a.c: Likewise.
552 * testsuite/ld-ifunc/pr19784b.c: Likewise.
553 * testsuite/ld-ifunc/pr19784c.c: Likewise.
555 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
558 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
559 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
560 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
561 --as-needed for pr18841c.
563 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
566 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
567 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
568 before tmpdir/got1d.so and test --as-needed.
569 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
570 tmpdir/pr18900.so and test --as-needed.
572 2016-03-07 Jiong Wang <jiong.wang@arm.com>
574 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
575 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
577 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
579 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
581 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
582 before tmpdir/copyreloc-lib.so and test --as-needed.
583 * testsuite/ld-x86-64/x86-64.exp: Likewise.
585 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
588 * testsuite/ld-elf/pr19579a.c: New file.
589 * testsuite/ld-elf/pr19579b.c: Likewise.
590 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
592 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
594 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
596 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
598 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
599 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
601 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
604 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
605 input sections for relocatable link.
606 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
607 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
609 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
612 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
613 merge flags of other input sections for relocatable link.
615 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
617 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
619 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
621 * testsuite/ld-elf/pr19162.d: Skip arc target.
623 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
626 * testsuite/ld-elf/pr19162.d: New file.
627 * testsuite/ld-elf/pr19162a.s: Likwise.
628 * testsuite/ld-elf/pr19162b.s: Likwise.
630 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
632 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
633 * testsuite/ld-elf/merge2.d: Likewise.
634 * testsuite/ld-elf/merge3.d: Likewise.
636 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
638 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
641 2016-02-26 Renlin Li <renlin.li@arm.com>
643 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
644 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
645 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
646 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
647 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
648 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
649 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
650 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
651 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
652 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
654 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
657 * testsuite/ld-i386/got1.dd: Updated.
658 * testsuite/ld-i386/lea1c.d: Likewise.
659 * testsuite/ld-i386/load1-nacl.d: Likewise.
660 * testsuite/ld-i386/load1.d: Likewise.
661 * testsuite/ld-i386/load4b.d: Likewise.
662 * testsuite/ld-i386/load5b.d: Likewise.
663 * testsuite/ld-i386/mov1b.d: Likewise.
664 * testsuite/ld-x86-64/mov1b.d: Likewise.
665 * testsuite/ld-x86-64/mov1d.d: Likewise.
666 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
667 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
668 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
669 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
670 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
671 * testsuite/ld-x86-64/lea1a.d: Likewise.
672 * testsuite/ld-x86-64/lea1b.d: Likewise.
673 * testsuite/ld-x86-64/lea1c.d: Likewise.
674 * testsuite/ld-x86-64/lea1d.d: Likewise.
675 * testsuite/ld-x86-64/lea1e.d: Likewise.
676 * testsuite/ld-x86-64/lea1f.d: Likewise.
677 * testsuite/ld-x86-64/mov1b.d: Likewise.
678 * testsuite/ld-x86-64/mov1d.d: Likewise.
679 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
680 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
681 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
682 * testsuite/ld-i386/pr19609-1.s: New file.
683 * testsuite/ld-i386/pr19609-1a.d: Likewise.
684 * testsuite/ld-i386/pr19609-1b.d: Likewise.
685 * testsuite/ld-i386/pr19609-1c.d: Likewise.
686 * testsuite/ld-i386/pr19609-1d.d: Likewise.
687 * testsuite/ld-i386/pr19609-1e.d: Likewise.
688 * testsuite/ld-i386/pr19609-1f.d: Likewise.
689 * testsuite/ld-i386/pr19609-1g.d: Likewise.
690 * testsuite/ld-i386/pr19609-1h.d: Likewise.
691 * testsuite/ld-i386/pr19609-1i.d: Likewise.
692 * testsuite/ld-i386/pr19609-2.s: Likewise.
693 * testsuite/ld-i386/pr19609-2a.d: Likewise.
694 * testsuite/ld-i386/pr19609-2b.d: Likewise.
695 * testsuite/ld-i386/pr19609-2c.d: Likewise.
696 * testsuite/ld-i386/undefweak.s: Likewise.
697 * testsuite/ld-i386/undefweaka.d: Likewise.
698 * testsuite/ld-i386/undefweakb.d: Likewise.
699 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
700 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
701 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
702 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
703 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
704 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
705 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
706 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
707 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
708 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
709 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
710 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
711 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
712 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
713 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
714 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
715 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
716 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
717 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
718 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
719 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
720 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
721 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
722 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
723 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
724 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
725 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
726 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
727 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
728 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
729 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
730 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
731 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
732 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
733 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
734 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
735 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
736 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
737 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
738 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
739 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
740 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
741 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
742 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
743 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
744 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
745 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
747 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
748 and tests for PR ld/19609.
750 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
753 * NEWS: Mention -z common/-z nocommon for ELF targets.
754 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
755 -z common and -z nocommon.
756 * ld.texinfo: Document -z common/-z nocommon.
757 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
758 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
759 --elf-stt-common=yes with assembler.
760 * testsuite/ld-elfcomm/common-1.s: New file.
761 * testsuite/ld-elfcomm/common-1a.d: Likewise.
762 * testsuite/ld-elfcomm/common-1b.d: Likewise.
763 * testsuite/ld-elfcomm/common-1c.d: Likewise.
764 * testsuite/ld-elfcomm/common-1d.d: Likewise.
765 * testsuite/ld-elfcomm/common-1e.d: Likewise.
766 * testsuite/ld-elfcomm/common-1f.d: Likewise.
767 * testsuite/ld-elfcomm/common-2.s: Likewise.
768 * testsuite/ld-elfcomm/common-2a.d: Likewise.
769 * testsuite/ld-elfcomm/common-2b.d: Likewise.
770 * testsuite/ld-elfcomm/common-2c.d: Likewise.
771 * testsuite/ld-elfcomm/common-2d.d: Likewise.
772 * testsuite/ld-elfcomm/common-2e.d: Likewise.
773 * testsuite/ld-elfcomm/common-2f.d: Likewise.
774 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
775 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
776 * testsuite/ld-i386/pr19645.d: Likewise.
777 * testsuite/ld-i386/pr19645.s: Likewise.
778 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
779 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
780 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
781 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
782 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
783 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
784 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
785 * testsuite/ld-x86-64/pr19645.d: Likewise.
786 * testsuite/ld-x86-64/pr19645.s: Likewise.
787 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
789 (assembler_generates_commons): Removed.
790 Run -z common/-z nocommon tests. Run *.d tests.
791 * testsuite/ld-i386/i386.exp: Run pr19645.
792 * testsuite/ld-x86-64/x86-64.exp: Likewise.
793 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
794 assembler. Test STT_COMMON with readelf.
796 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
801 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
802 * Makefile.in: Regenerated.
803 * NEWS: Mention -z nodynamic-undefined-weak.
804 * ld.texinfo: Document -z nodynamic-undefined-weak.
805 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
806 * emulparams/dynamic_undefined_weak.sh: New file.
807 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
808 * emulparams/elf_i386.sh: Likewise.
809 * emulparams/elf_i386_be.sh: Likewise.
810 * emulparams/elf_i386_chaos.sh: Likewise.
811 * emulparams/elf_i386_ldso.sh: Likewise.
812 * emulparams/elf_i386_vxworks.sh: Likewise.
813 * emulparams/elf_iamcu.sh: Likewise.
814 * emulparams/elf_k1om.sh: Likewise.
815 * emulparams/elf_l1om.sh: Likewise.
816 * emulparams/elf_x86_64.sh: Likewise.
817 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
819 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
820 * testsuite/ld-elf/pr19719a.c: New file.
821 * testsuite/ld-elf/pr19719b.c: Likewise.
822 * testsuite/ld-elf/pr19719c.c: Likewise.
823 * testsuite/ld-elf/pr19719d.c: Likewise.
824 * testsuite/ld-i386/pr19636-1.s: Likewise.
825 * testsuite/ld-i386/pr19636-1a.d: Likewise.
826 * testsuite/ld-i386/pr19636-1b.d: Likewise.
827 * testsuite/ld-i386/pr19636-1c.d: Likewise.
828 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
829 * testsuite/ld-i386/pr19636-1d.d: Likewise.
830 * testsuite/ld-i386/pr19636-1e.d: Likewise.
831 * testsuite/ld-i386/pr19636-1f.d: Likewise.
832 * testsuite/ld-i386/pr19636-1g.d: Likewise.
833 * testsuite/ld-i386/pr19636-1h.d: Likewise.
834 * testsuite/ld-i386/pr19636-1i.d: Likewise.
835 * testsuite/ld-i386/pr19636-2.s: Likewise.
836 * testsuite/ld-i386/pr19636-2a.d: Likewise.
837 * testsuite/ld-i386/pr19636-2b.d: Likewise.
838 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
839 * testsuite/ld-i386/pr19636-2c.d: Likewise.
840 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
841 * testsuite/ld-i386/pr19636-2d.d: Likewise.
842 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
843 * testsuite/ld-i386/pr19636-2e.d: Likewise.
844 * testsuite/ld-i386/pr19636-3.s: Likewise.
845 * testsuite/ld-i386/pr19636-3a.d: Likewise.
846 * testsuite/ld-i386/pr19636-3b.d: Likewise.
847 * testsuite/ld-i386/pr19636-3c.d: Likewise.
848 * testsuite/ld-i386/pr19636-3d.d: Likewise.
849 * testsuite/ld-i386/pr19636-3e.d: Likewise.
850 * testsuite/ld-i386/pr19636-3f.d: Likewise.
851 * testsuite/ld-i386/pr19636-3g.d: Likewise.
852 * testsuite/ld-i386/pr19636-4.s: Likewise.
853 * testsuite/ld-i386/pr19636-4a.d: Likewise.
854 * testsuite/ld-i386/pr19636-4b.d: Likewise.
855 * testsuite/ld-i386/pr19636-4c.d: Likewise.
856 * testsuite/ld-i386/pr19636-4d.d: Likewise.
857 * testsuite/ld-i386/pr19704.out: Likewise.
858 * testsuite/ld-i386/pr19704a.c: Likewise.
859 * testsuite/ld-i386/pr19704b.c: Likewise.
860 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
861 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
862 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
863 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
864 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
865 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
866 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
867 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
868 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
869 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
870 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
871 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
872 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
873 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
874 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
875 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
876 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
877 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
878 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
879 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
880 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
881 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
882 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
883 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
884 * testsuite/ld-x86-64/pr19704.out: Likewise.
885 * testsuite/ld-x86-64/pr19704a.c: Likewise.
886 * testsuite/ld-x86-64/pr19704b.c: Likewise.
887 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
888 Run mix_pic_and_non_pic.
889 * testsuite/ld-i386/i386.exp (undefined_weak): New.
890 Run undefined_weak and PR ld/19636 tests.
891 * testsuite/ld-x86-64/x86-64.exp: Likewise.
892 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
893 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
895 2016-02-25 Nick Clifton <nickc@redhat.com>
897 * ld.h (struct ld_config_type): Remove specified_data_size field.
899 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
902 * testsuite/ld-elf/pr19698.d: New file.
903 * testsuite/ld-elf/pr19698.s: Likewise.
904 * testsuite/ld-elf/pr19698.t: Likewise.
906 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
908 * Makefile.am (ELF_X86_DEPS): New.
909 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
910 (eelf_i386_chaos.c): Likewise.
911 (eelf_i386_fbsd.c): Likewise.
912 (eelf_i386_ldso.c): Likewise.
913 (eelf_i386_nacl.c): Likewise.
914 (eelf_i386_sol2.c): Likewise.
915 (eelf_iamcu.c): Likewise.
916 (eelf32_x86_64.c): Likewise.
917 (eelf32_x86_64_nacl.c): Likewise.
918 (eelf_l1om.c): Likewise.
919 (eelf_l1om_fbsd.c): Likewise.
920 (eelf_k1om.c): Likewise.
921 (eelf_k1om_fbsd.c): Likewise.
922 (eelf_x86_64.c): Likewise.
923 (eelf_x86_64_cloudabi.c): Likewise.
924 (eelf_x86_64_fbsd.c): Likewise.
925 (eelf_x86_64_sol2.c): Likewise.
926 * Makefile.in: Regenerated.
928 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
930 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
931 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
932 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
933 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
935 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
937 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
939 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
941 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
942 *-*-gnu* and *-*-solaris*.
943 * testsuite/ld-elf/pr19617b.d: Likewise.
944 * testsuite/ld-elf/pr19617c.d: Likewise.
946 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
949 * testsuite/ld-elf/pr19617.s: New file.
950 * testsuite/ld-elf/pr19617a.d: Likewise.
951 * testsuite/ld-elf/pr19617b.d: Likewise.
952 * testsuite/ld-elf/pr19617c.d: Likewise.
954 2016-02-18 Nick Clifton <nickc@redhat.com>
956 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
957 in-tree xg++ executable after checking for the presence of an
958 in-tree g++ executable.
959 * Makefile.in: Regenerate.
961 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
963 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
964 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
965 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
967 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
969 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
970 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
971 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
972 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
973 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
974 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
975 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
976 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
977 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
978 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
979 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
980 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
981 * testsuite/ld-x86-64/load1c.d: Likewise.
982 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
983 * testsuite/ld-x86-64/load1d.d: Likewise.
984 * testsuite/ld-x86-64/pr14207.d: Likewise.
985 * testsuite/ld-x86-64/pr19162.d: Likewise.
986 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
987 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
988 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
989 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
990 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
991 * testsuite/ld-x86-64/tlspic.rd: Likewise.
993 2016-02-17 Nick Clifton <nickc@redhat.com>
995 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
997 2016-02-15 Nick Clifton <nickc@redhat.com>
999 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1000 description of the flags produced by readelf.
1001 * testsuite/ld-i386/pr12921.d: Likewise.
1002 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1003 * testsuite/ld-i386/tlsbin.rd: Likewise.
1004 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1005 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1006 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1007 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1008 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1009 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1010 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1011 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1012 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1013 * testsuite/ld-i386/tlspic.rd: Likewise.
1014 * testsuite/ld-s390/tlsbin.rd: Likewise.
1015 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1016 * testsuite/ld-s390/tlspic.rd: Likewise.
1017 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1018 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1019 * testsuite/ld-sh/tlspic-2.d: Likewise.
1020 * testsuite/ld-tic6x/common.d: Likewise.
1021 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1022 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1023 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1024 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1025 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1026 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1027 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1028 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1029 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1030 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1031 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1032 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1033 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1034 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1035 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1036 * testsuite/ld-x86-64/pr12718.d: Likewise.
1037 * testsuite/ld-x86-64/pr12921.d: Likewise.
1038 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1039 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1040 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1041 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1042 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1043 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1044 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1045 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1046 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1047 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1048 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1049 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1050 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1051 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1053 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1056 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1058 * lexsup.c (parse_args): Enable -Bsymbolic and
1059 -Bsymbolic-functions for PIE.
1060 * testsuite/ld-i386/i386.exp: Run pr19615.
1061 * testsuite/ld-i386/pr19615.d: New file.
1062 * testsuite/ld-i386/pr19615.s: Likewise.
1063 * testsuite/ld-x86-64/pr19615.d: Likewise.
1064 * testsuite/ld-x86-64/pr19615.s: Likewise.
1066 2016-02-09 Nick Clifton <nickc@redhat.com>
1068 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1069 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1070 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1071 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1073 2016-02-04 Nick Clifton <nickc@redhat.com>
1075 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1076 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1077 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1078 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1079 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1080 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1081 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1082 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1083 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1085 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1088 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1089 * testsuite/ld-i386/call1.d: Likewise.
1090 * testsuite/ld-i386/call2.d: Likewise.
1091 * testsuite/ld-i386/call3a.d: Likewise.
1092 * testsuite/ld-i386/call3b.d: Likewise.
1093 * testsuite/ld-i386/call3c.d: Likewise.
1094 * testsuite/ld-i386/call3d.d: Likewise.
1095 * testsuite/ld-i386/call3e.d: Likewise.
1096 * testsuite/ld-i386/call3f.d: Likewise.
1097 * testsuite/ld-i386/call3g.d: Likewise.
1098 * testsuite/ld-i386/call3h.d: Likewise.
1099 * testsuite/ld-i386/jmp1.d: Likewise.
1100 * testsuite/ld-i386/jmp2.d: Likewise.
1101 * testsuite/ld-i386/lea1c.d: Likewise.
1102 * testsuite/ld-i386/load1.d: Likewise.
1103 * testsuite/ld-i386/load2.d: Likewise.
1104 * testsuite/ld-i386/load3.d: Likewise.
1105 * testsuite/ld-i386/load4a.d: Likewise.
1106 * testsuite/ld-i386/load5a.d: Likewise.
1107 * testsuite/ld-i386/mov2b.d: Likewise.
1108 * testsuite/ld-i386/mov3.d: Likewise.
1109 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1110 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1111 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1112 * testsuite/ld-x86-64/call1a.d: Likewise.
1113 * testsuite/ld-x86-64/call1b.d: Likewise.
1114 * testsuite/ld-x86-64/call1c.d: Likewise.
1115 * testsuite/ld-x86-64/call1d.d: Likewise.
1116 * testsuite/ld-x86-64/call1e.d: Likewise.
1117 * testsuite/ld-x86-64/call1f.d: Likewise.
1118 * testsuite/ld-x86-64/call1h.d: Likewise.
1119 * testsuite/ld-x86-64/call1i.d: Likewise.
1120 * testsuite/ld-x86-64/load1a.d: Likewise.
1121 * testsuite/ld-x86-64/load1b.d: Likewise.
1122 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1123 * testsuite/ld-i386/got1.dd: Updated.
1124 * testsuite/ld-i386/got1d.S (1): Removed.
1125 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1126 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1128 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1131 * testsuite/ld-x86-64/pr18591.d: New file.
1132 * testsuite/ld-x86-64/pr18591.s: Likewise.
1133 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1135 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1138 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1139 * testsuite/ld-elf/pr19553.map: New file.
1140 * testsuite/ld-elf/pr19553.map: Likewise.
1141 * testsuite/ld-elf/pr19553a.c: Likewise.
1142 * testsuite/ld-elf/pr19553b.c: Likewise.
1143 * testsuite/ld-elf/pr19553b.out: Likewise.
1144 * testsuite/ld-elf/pr19553c.c: Likewise.
1145 * testsuite/ld-elf/pr19553c.out: Likewise.
1146 * testsuite/ld-elf/pr19553d.c: Likewise.
1147 * testsuite/ld-elf/pr19553d.out: Likewise.
1149 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1152 * testsuite/ld-elf/pr19539.d: New file.
1153 * testsuite/ld-elf/pr19539.s: Likewise.
1154 * testsuite/ld-elf/pr19539.t: Likewise.
1156 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1159 * configure.ac (compressed_debug_sections): Replace == with =.
1160 * configure: Regenerated.
1162 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1164 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1165 * scripttempl/avrtiny.sc (.noinit): Likewise.
1167 2016-01-21 Nick Clifton <nickc@redhat.com>
1170 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1171 the arm-netbsdelf target.
1174 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1175 disassmebler output.
1176 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1177 * testsuite/ld-arm/vxworks1.dd: Likewise.
1178 * testsuite/ld-arm/vxworks1.rd: Likewise.
1179 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1181 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1183 * testsuite/ld-aarch64/farcall-section.d: Delete.
1184 * testsuite/ld-aarch64/farcall-section.s: Delete.
1185 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1186 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1187 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1188 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1189 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1191 2016-01-20 Nick Clifton <nickc@redhat.com>
1194 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1195 early for PE based targets.
1196 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1197 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1199 2016-01-20 Mickael Guene <mickael.guene@st.com>
1201 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1202 Add 'y' attribute usage.
1203 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1204 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1205 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1207 2016-01-19 Nick Clifton <nickc@redhat.com>
1209 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1210 foo@FOO and bar@@FOO.
1212 2016-01-18 Alan Modra <amodra@gmail.com>
1214 * configure: Regenerate.
1216 2016-01-18 Nick Clifton <nickc@redhat.com>
1218 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1219 is not configured to support plugins.
1221 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1222 but with 16 byte section alignment.
1223 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1224 test for MIPS targets.
1226 2016-01-17 Alan Modra <amodra@gmail.com>
1228 * configure: Regenerate.
1230 2016-01-17 Alan Modra <amodra@gmail.com>
1232 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1233 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1234 * testsuite/ld-elf/pr14156a.d: Likewise.
1235 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1236 * testsuite/ld-elf/sec64k.exp: Likewise.
1238 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1240 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1241 Set address of .foo section when linking.
1242 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1244 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1245 output to the above changes.
1247 2016-01-13 Nick Clifton <nickc@redhat.com>
1249 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1252 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1253 fail for MIPS targets.
1255 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1258 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1260 * testsuite/ld-arm/arm-elf.exp: New test.
1261 * testsuite/ld-arm/unwind-mix.d: New file.
1262 * testsuite/ld-arm/unwind-mix1.s: New file.
1263 * testsuite/ld-arm/unwind-mix2.s: New file.
1265 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1268 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1269 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1270 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1271 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1272 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1273 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1275 2016-01-05 Nick Clifton <nickc@redhat.com>
1277 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1278 MSP430 hardware multiply address range.
1279 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1280 (__romdatacopysize): Define.
1281 * scripttempl/elf32msp430_3.sc: Likewise.
1283 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1285 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1286 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1288 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1290 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1291 messages expected according to MIPS BFD private data merge
1293 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1294 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1295 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1296 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1297 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1298 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1299 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1300 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1301 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1302 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1303 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1304 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1305 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1307 2016-01-01 Alan Modra <amodra@gmail.com>
1309 Update year range in copyright notice of all files.
1311 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1313 Copyright (C) 2016 Free Software Foundation, Inc.
1315 Copying and distribution of this file, with or without modification,
1316 are permitted in any medium without royalty provided the copyright
1317 notice and this notice are preserved.
1323 version-control: never