1 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
3 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
4 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
6 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
8 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
9 parameter and rename input_section parameter to after_input_section.
10 Append input stub section to the output section if after_input_section
13 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
15 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
17 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
18 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
20 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
22 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
24 2016-05-09 Christophe Monat <christophe.monat@st.com>
27 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
28 tests. Fix misnamed stm32l4xx-fix-all.
29 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
30 loads with DP registers.
31 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
32 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
33 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
34 loads with DP registers.
35 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
37 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
39 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
41 (xfail): Remove avr-*-*.
42 Update regex to check the section flags.
43 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
45 2016-05-09 Alan Modra <amodra@gmail.com>
47 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
48 * Makefile.in: Regenerate.
50 2016-05-09 Alan Modra <amodra@gmail.com>
52 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
53 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
54 * testsuite/ld-scripts/section-match-1.t: Likewise.
56 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
59 * testsuite/ld-elf/pr17550-1.s: New file.
60 * testsuite/ld-elf/pr17550-2.s: Likewise.
61 * testsuite/ld-elf/pr17550-3.s: Likewise.
62 * testsuite/ld-elf/pr17550-4.s: Likewise.
63 * testsuite/ld-elf/pr17550a.d: Likewise.
64 * testsuite/ld-elf/pr17550b.d: Likewise.
65 * testsuite/ld-elf/pr17550c.d: Likewise.
66 * testsuite/ld-elf/pr17550d.d: Likewise.
68 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
70 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
72 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
74 * testsuite/ld-i386/i386.exp: Run load7.
75 * testsuite/ld-i386/load7.d: New file.
76 * testsuite/ld-i386/load7.map: Likewise.
77 * testsuite/ld-i386/load7.s: Likewise.
78 * testsuite/ld-x86-64/load2.d: Likewise.
79 * testsuite/ld-x86-64/load2.map: Likewise.
80 * testsuite/ld-x86-64/load2.s: Likewise.
81 * testsuite/ld-x86-64/x86-64.exp: Run load2.
83 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
85 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
86 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
88 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
91 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
93 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
95 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
97 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
99 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
101 * testsuite/ld-unique/unique.d: New test.
102 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
103 messages for compiled tests.
105 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
107 * testsuite/ld-elf/pr18735.d: Allow other symbols.
108 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
109 * testsuite/ld-gc/pr14265.d: Allow other symbols.
110 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
111 plugin_tests only if check_shared_lib_support is true.
112 * testsuite/ld-selective/selective.exp: Add --section-start
115 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
118 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
120 2016-05-03 Jiong Wang <jiong.wang@arm.com>
122 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
123 * NEWS: Mention --no-apply-dynamic-relocs.
124 * ld.texinfo (ld and the ARM family): Document
125 --no-apply-dynamic-relocs.
126 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
127 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
128 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
129 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
132 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
134 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
135 before running STT_COMMON tests.
137 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
139 * config/default.exp (NOPIE_CFLAGS): Download source only on
141 (NOPIE_LDFLAGS): Likewise.
142 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
143 (check_lto_fat_available): Likewise.
144 (check_lto_shared_available): Likewise.
145 (check_ifunc_available): Likewise.
146 (check_ifunc_attribute_available): Likewise.
148 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
150 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
152 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
155 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
156 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
159 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
161 * testsuite/ld-elf/compressed1b.d: Pass
162 --compress-debug-sections=none to ld.
163 * testsuite/ld-elf/compressed1c.d: Likewise.
165 2016-04-27 Alan Modra <amodra@gmail.com>
168 * configure.tgt: Don't use var+=.
170 2016-04-25 Nick Clifton <nickc@redhat.com>
173 * configure.tgt: Include big endian PPC64 emulations with little
174 endian PPC64 targets.
176 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
178 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
180 2016-04-21 Nick Clifton <nickc@redhat.com>
182 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
183 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
184 targets. Do not stop the checks when problems are encountered.
186 2016-04-21 Alan Modra <amodra@gmail.com>
188 * testsuite/ld-scripts/cross3.t: Add commonly used data
189 and text section names to output section statements.
190 * testsuite/ld-scripts/cross4.t: Likewise.
191 * testsuite/ld-scripts/cross5.t: Likewise.
192 * testsuite/ld-scripts/cross6.t: Likewise.
193 * testsuite/ld-scripts/cross7.t: Likewise.
195 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
197 * ldlang.c (lang_check_relocs): New function.
198 (lang_process): Call lang_check_relocs after lang_gc_sections.
199 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
200 call _bfd_elf_link_check_relocs here.
202 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
205 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
206 R_386_NONE or R_X86_64_NONE.
208 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
210 * testsuite/ld-x86-64/pic1.d: New file.
211 * testsuite/ld-x86-64/pic1.s: Likewise.
212 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
214 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
216 * testsuite/ld-x86-64/pie2.d: New file.
217 * testsuite/ld-x86-64/pie2.s: Likewise.
218 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
220 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
223 * testsuite/ld-x86-64/pr19969.d: New file.
224 * testsuite/ld-x86-64/pr19969a.S: Likewise.
225 * testsuite/ld-x86-64/pr19969b.S: Likewise.
226 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
228 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
230 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
232 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
234 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
236 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
238 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
240 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
242 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
244 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
246 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
247 Set check_relocs_after_open_input to TRUE if
248 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
249 (gld${EMULATION_NAME}_after_open): Call
250 _bfd_elf_link_check_relocs on all inputs if
251 check_relocs_after_open_input is TRUE.
253 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
255 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
258 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
260 * emultempl/scoreelf.em: Likewise.
262 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
265 * testsuite/ld-x86-64/pr19719.d: New file.
266 * testsuite/ld-x86-64/pr19719.s: Likewise.
267 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
269 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
271 * ld.texinfo: Document NOCROSSREFS_TO script command.
272 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
273 (lang_add_nocrossref_to): New prototype.
274 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
275 symbols defined in the first section.
276 (check_nocrossref): Likewise.
277 * ldgram.y (NOCROSSREFS_TO): New script command.
278 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
279 (lang_add_nocrossref_to): New function.
280 * ldlex.l (NOCROSSREFS_TO): New token.
281 * NEWS: Mention NOCROSSREFS_TO.
282 * testsuite/ld-scripts/cross4.t: New file.
283 * testsuite/ld-scripts/cross5.t: Likewise.
284 * testsuite/ld-scripts/cross6.t: Likewise.
285 * testsuite/ld-scripts/cross7.t: Likewise.
286 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
289 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
291 * Makefile.in: Regenerated with automake 1.11.6.
292 * aclocal.m4: Likewise.
294 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
296 * testsuite/ld-arc/arc.exp: New file.
297 * testsuite/ld-arc/nps-1.s: New file.
298 * testsuite/ld-arc/nps-1a.d: New file.
299 * testsuite/ld-arc/nps-1b.d: New file.
300 * testsuite/ld-arc/nps-1b.err: New file.
302 2016-04-14 Nick Clifton <nickc@redhat.com>
305 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
306 exceptions for Mingw and Cygwin.
308 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
310 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
313 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
316 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
317 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
320 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
323 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
324 * testsuite/ld-x86-64/x86-64.exp: Likewise.
325 * testsuite/ld-i386/pr19939.s: New file.
326 * testsuite/ld-i386/pr19939a.d: Likewise.
327 * testsuite/ld-i386/pr19939b.d: Likewise.
328 * testsuite/ld-x86-64/pr19939.s: Likewise.
329 * testsuite/ld-x86-64/pr19939a.d: Likewise.
330 * testsuite/ld-x86-64/pr19939b.d: Likewise.
332 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
334 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
336 2016-04-08 Alan Modra <amodra@gmail.com>
339 * ldlang.c (maybe_overlays): Delete.
340 (lang_size_sections_1): Remove code setting maybe_overlays.
341 (lang_check_section_addresses): Instead detect overlays by
342 exact match of section VMAs here. Fix memory leak.
344 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
346 * ldlang.c (print_output_section_statement): Show minfo size
347 in target machine address units.
348 (print_reloc_statement): Likewise.
349 (print_padding_statement): Likewise.
350 (print_data_statement): Likewise. Ensure minimum print_dot
351 increment of one address unit.
353 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
355 * emulparams/arc-endianness.sh: Make little endian default choice.
357 2016-04-07 Nick Clifton <nickc@redhat.com>
359 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
361 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
363 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
365 * emulparams/arc-endianness.sh: New file.
366 * emulparams/arcebelf.sh: Deleted.
367 * emulparams/arcebelf_prof.sh: Deleted.
368 * emulparams/arceblinux.sh: Deleted.
369 * emulparams/arceblinux_prof.sh: Deleted.
370 * emulparams/arcelf.sh: Include arc-endinness.sh.
371 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
372 * emulparams/arclinux.sh: Include arc-endinness.sh.
373 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
374 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
375 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
376 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
377 little endian arc targets.
378 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
379 * testsuite/ld-elf/group1.d: Likewise.
380 * testsuite/ld-elf/group3b.d: Likewise.
381 * testsuite/ld-elf/group8a.d: Likewise.
382 * testsuite/ld-elf/group8b.d: Likewise.
383 * testsuite/ld-elf/group9a.d: Likewise.
384 * testsuite/ld-elf/group9b.d: Likewise.
385 * testsuite/ld-elf/linkonce2.d: Likewise.
386 * testsuite/ld-elf/pr12851.d: Likewise.
387 * testsuite/ld-elf/pr12975.d: Likewise.
388 * testsuite/ld-elf/pr13177.d: Likewise.
389 * testsuite/ld-elf/pr13195.d: Likewise.
390 * testsuite/ld-elf/pr17615.d: Likewise.
391 * testsuite/ld-elf/pr19162.d: Likewise.
392 * testsuite/ld-elf/sec64k.exp: Likewise.
393 * testsuite/lib/ld-lib.exp: Likewise.
395 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
398 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
400 * testsuite/ld-cris/tls-e-20a.d: Likewise.
401 * testsuite/ld-cris/tls-e-21.d: Likewise.
402 * testsuite/ld-cris/tls-e-23.d: Likewise.
403 * testsuite/ld-cris/tls-e-80.d: Likewise.
404 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
405 * testsuite/ld-cris/tls-leie-19.d: Likewise.
406 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
407 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
408 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
409 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
410 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
411 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
412 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
413 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
415 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
417 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
418 * testsuite/ld-discard/start.d: Likewise.
419 * testsuite/ld-discard/static.d: Likewise.
420 * testsuite/ld-elf/group1.d: Likewise.
421 * testsuite/ld-elf/group3b.d: Likewise.
422 * testsuite/ld-elf/orphan-region.d: Likewise.
423 * testsuite/ld-elf/orphan.d: Likewise.
424 * testsuite/ld-elf/orphan3.d: Likewise.
425 * testsuite/ld-elf/pr349.d: Likewise.
426 * testsuite/ld-elf/warn1.d: Likewise.
427 * testsuite/ld-elf/warn2.d: Likewise.
428 * testsuite/ld-elf/warn3.d: Likewise.
429 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
430 through linker flags.
431 * testsuite/ld-srec/srec.exp: Set as xfail.
433 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
436 * testsuite/ld-i386/pr19827-nacl.rd: New file.
437 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
439 2016-04-04 Nick Clifton <nickc@redhat.com>
442 * emultempl/pe.em (change_undef): New function. Encapsulates
443 duplicated code in pe_fixup_stdcalls and adds the newly defined
444 sym to the gc root list.
445 (pe_fixup_stdcall): Use the new function.
446 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
447 symbol to gc root list.
449 2016-03-31 Alan Modra <amodra@gmail.com>
451 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
452 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
453 (print_input_section): Don't use TO_ADDR when printing section
455 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
456 (lang_size_sections): Use TO_ADDR in relro end calculation.
458 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
460 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
461 value from regexp_diff.
462 * testsuite/ld-elf/orphan-5.l: Fix expected output.
463 * testsuite/ld-elf/orphan-6.l: Likewise.
465 2016-03-30 Alan Modra <amodra@gmail.com>
468 * ldlang.c (maybe_overlays): New static var.
469 (lang_size_sections_1): Set it here.
470 (struct check_sec): New.
471 (sort_sections_by_lma): Adjust for array of structs.
472 (sort_sections_by_vma): New function.
473 (lang_check_section_addresses): Check both LMA and VMA for overlap.
474 * testsuite/ld-scripts/rgn-over7.d: Adjust.
476 2016-03-30 Alan Modra <amodra@gmail.com>
478 * ldlang.c (lang_size_sections_1): Correct code detecting a
479 backward non-overlapping move.
481 2016-03-30 Alan Modra <amodra@gmail.com>
483 * ldlang.c (IS_TBSS): New macro, extracted from..
484 (IGNORE_SECTION): ..here.
485 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
486 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
488 2016-03-22 Nick Clifton <nickc@redhat.com>
491 * ldlang.c (lang_add_gc_name): New function. Adds the provided
492 symbol name to the list of gc symbols.
493 (lang_process): Call lang_add_gc_name with entry_symbol_default if
494 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
495 and fini function names.
496 * pe-dll.c (process_def_file_and_drectve): Add exported names to
498 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
499 * testsuite/ld-pe/pr19803.d: Tweak expected output.
501 2016-03-22 Nick Clifton <nickc@redhat.com>
503 * configure: Regenerate.
505 2016-03-21 Nick Clifton <nickc@redhat.com>
507 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
508 * plugin.c: Likewise.
509 * pe-dll.c: Likewise.
511 2016-03-18 Awson <kyrab@mail.ru>
514 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
516 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
518 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
520 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
522 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
525 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
526 * testsuite/ld-x86-64/x86-64.exp: Likewise.
527 * testsuite/ld-i386/pr19827.rd: New file.
528 * testsuite/ld-i386/pr19827a.S: Likewise.
529 * testsuite/ld-i386/pr19827b.S: Likewise.
530 * testsuite/ld-x86-64/pr19827.rd: Likewise.
531 * testsuite/ld-x86-64/pr19827a.S: Likewise.
532 * testsuite/ld-x86-64/pr19827b.S: Likewise.
534 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
537 * Makefile.am (ELF_X86_DEPS): Add
538 $(srcdir)/emulparams/reloc_overflow.sh.
539 * Makefile.in: Regenerated.
540 * NEWS: Mention -z noreloc-overflow.
541 * ld.texinfo: Document -z noreloc-overflow.
542 * emulparams/elf32_x86_64.sh: Source
543 ${srcdir}/emulparams/reloc_overflow.sh.
544 * emulparams/elf_x86_64.sh: Likewise.
545 * emulparams/reloc_overflow.sh: New file.
546 * testsuite/ld-x86-64/pr19807-1.s: New file.
547 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
548 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
549 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
550 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
551 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
552 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
553 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
554 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
555 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
557 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
560 * testsuite/ld-i386/i386.exp: Run pr19539.
561 * testsuite/ld-i386/pr19539.d: New file.
562 * testsuite/ld-i386/pr19539.s: Likewise.
563 * testsuite/ld-i386/pr19539.t: Likewise.
564 * testsuite/ld-x86-64/pr19539.s: Likewise.
565 * testsuite/ld-x86-64/pr19539.t: Likewise.
566 * testsuite/ld-x86-64/pr19539a.d: Likewise.
567 * testsuite/ld-x86-64/pr19539b.d: Likewise.
568 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
570 2016-03-10 Mickael Guene <mickael.guene@st.com>
573 * testsuite/ld-arm/arm-elf.exp: New tests.
574 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
575 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
577 2016-03-10 Nick Clifton <nickc@redhat.com>
579 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
581 2016-03-09 Pedro Alves <palves@redhat.com>
583 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
584 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
586 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
589 * testsuite/ld-elf/pr19789.d: New file.
590 * testsuite/ld-elf/pr19789.s: Likewise.
592 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
595 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
596 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
597 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
598 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
599 * testsuite/ld-ifunc/pass.out: New file.
600 * testsuite/ld-ifunc/pr19784a.c: Likewise.
601 * testsuite/ld-ifunc/pr19784b.c: Likewise.
602 * testsuite/ld-ifunc/pr19784c.c: Likewise.
604 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
607 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
608 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
609 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
610 --as-needed for pr18841c.
612 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
615 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
616 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
617 before tmpdir/got1d.so and test --as-needed.
618 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
619 tmpdir/pr18900.so and test --as-needed.
621 2016-03-07 Jiong Wang <jiong.wang@arm.com>
623 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
624 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
626 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
628 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
630 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
631 before tmpdir/copyreloc-lib.so and test --as-needed.
632 * testsuite/ld-x86-64/x86-64.exp: Likewise.
634 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
637 * testsuite/ld-elf/pr19579a.c: New file.
638 * testsuite/ld-elf/pr19579b.c: Likewise.
639 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
641 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
643 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
645 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
647 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
648 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
650 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
653 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
654 input sections for relocatable link.
655 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
656 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
658 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
661 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
662 merge flags of other input sections for relocatable link.
664 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
666 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
668 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
670 * testsuite/ld-elf/pr19162.d: Skip arc target.
672 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
675 * testsuite/ld-elf/pr19162.d: New file.
676 * testsuite/ld-elf/pr19162a.s: Likwise.
677 * testsuite/ld-elf/pr19162b.s: Likwise.
679 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
681 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
682 * testsuite/ld-elf/merge2.d: Likewise.
683 * testsuite/ld-elf/merge3.d: Likewise.
685 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
687 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
690 2016-02-26 Renlin Li <renlin.li@arm.com>
692 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
693 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
694 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
695 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
696 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
697 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
698 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
699 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
700 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
701 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
703 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
706 * testsuite/ld-i386/got1.dd: Updated.
707 * testsuite/ld-i386/lea1c.d: Likewise.
708 * testsuite/ld-i386/load1-nacl.d: Likewise.
709 * testsuite/ld-i386/load1.d: Likewise.
710 * testsuite/ld-i386/load4b.d: Likewise.
711 * testsuite/ld-i386/load5b.d: Likewise.
712 * testsuite/ld-i386/mov1b.d: Likewise.
713 * testsuite/ld-x86-64/mov1b.d: Likewise.
714 * testsuite/ld-x86-64/mov1d.d: Likewise.
715 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
716 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
717 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
718 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
719 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
720 * testsuite/ld-x86-64/lea1a.d: Likewise.
721 * testsuite/ld-x86-64/lea1b.d: Likewise.
722 * testsuite/ld-x86-64/lea1c.d: Likewise.
723 * testsuite/ld-x86-64/lea1d.d: Likewise.
724 * testsuite/ld-x86-64/lea1e.d: Likewise.
725 * testsuite/ld-x86-64/lea1f.d: Likewise.
726 * testsuite/ld-x86-64/mov1b.d: Likewise.
727 * testsuite/ld-x86-64/mov1d.d: Likewise.
728 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
729 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
730 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
731 * testsuite/ld-i386/pr19609-1.s: New file.
732 * testsuite/ld-i386/pr19609-1a.d: Likewise.
733 * testsuite/ld-i386/pr19609-1b.d: Likewise.
734 * testsuite/ld-i386/pr19609-1c.d: Likewise.
735 * testsuite/ld-i386/pr19609-1d.d: Likewise.
736 * testsuite/ld-i386/pr19609-1e.d: Likewise.
737 * testsuite/ld-i386/pr19609-1f.d: Likewise.
738 * testsuite/ld-i386/pr19609-1g.d: Likewise.
739 * testsuite/ld-i386/pr19609-1h.d: Likewise.
740 * testsuite/ld-i386/pr19609-1i.d: Likewise.
741 * testsuite/ld-i386/pr19609-2.s: Likewise.
742 * testsuite/ld-i386/pr19609-2a.d: Likewise.
743 * testsuite/ld-i386/pr19609-2b.d: Likewise.
744 * testsuite/ld-i386/pr19609-2c.d: Likewise.
745 * testsuite/ld-i386/undefweak.s: Likewise.
746 * testsuite/ld-i386/undefweaka.d: Likewise.
747 * testsuite/ld-i386/undefweakb.d: Likewise.
748 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
749 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
750 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
751 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
752 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
753 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
754 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
755 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
756 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
757 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
758 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
759 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
760 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
761 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
762 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
763 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
764 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
765 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
766 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
767 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
768 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
769 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
770 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
771 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
772 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
773 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
774 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
775 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
776 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
777 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
778 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
779 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
780 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
781 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
782 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
783 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
784 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
785 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
786 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
787 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
788 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
789 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
790 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
791 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
792 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
793 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
794 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
796 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
797 and tests for PR ld/19609.
799 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
802 * NEWS: Mention -z common/-z nocommon for ELF targets.
803 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
804 -z common and -z nocommon.
805 * ld.texinfo: Document -z common/-z nocommon.
806 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
807 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
808 --elf-stt-common=yes with assembler.
809 * testsuite/ld-elfcomm/common-1.s: New file.
810 * testsuite/ld-elfcomm/common-1a.d: Likewise.
811 * testsuite/ld-elfcomm/common-1b.d: Likewise.
812 * testsuite/ld-elfcomm/common-1c.d: Likewise.
813 * testsuite/ld-elfcomm/common-1d.d: Likewise.
814 * testsuite/ld-elfcomm/common-1e.d: Likewise.
815 * testsuite/ld-elfcomm/common-1f.d: Likewise.
816 * testsuite/ld-elfcomm/common-2.s: Likewise.
817 * testsuite/ld-elfcomm/common-2a.d: Likewise.
818 * testsuite/ld-elfcomm/common-2b.d: Likewise.
819 * testsuite/ld-elfcomm/common-2c.d: Likewise.
820 * testsuite/ld-elfcomm/common-2d.d: Likewise.
821 * testsuite/ld-elfcomm/common-2e.d: Likewise.
822 * testsuite/ld-elfcomm/common-2f.d: Likewise.
823 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
824 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
825 * testsuite/ld-i386/pr19645.d: Likewise.
826 * testsuite/ld-i386/pr19645.s: Likewise.
827 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
828 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
829 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
830 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
831 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
832 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
833 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
834 * testsuite/ld-x86-64/pr19645.d: Likewise.
835 * testsuite/ld-x86-64/pr19645.s: Likewise.
836 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
838 (assembler_generates_commons): Removed.
839 Run -z common/-z nocommon tests. Run *.d tests.
840 * testsuite/ld-i386/i386.exp: Run pr19645.
841 * testsuite/ld-x86-64/x86-64.exp: Likewise.
842 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
843 assembler. Test STT_COMMON with readelf.
845 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
850 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
851 * Makefile.in: Regenerated.
852 * NEWS: Mention -z nodynamic-undefined-weak.
853 * ld.texinfo: Document -z nodynamic-undefined-weak.
854 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
855 * emulparams/dynamic_undefined_weak.sh: New file.
856 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
857 * emulparams/elf_i386.sh: Likewise.
858 * emulparams/elf_i386_be.sh: Likewise.
859 * emulparams/elf_i386_chaos.sh: Likewise.
860 * emulparams/elf_i386_ldso.sh: Likewise.
861 * emulparams/elf_i386_vxworks.sh: Likewise.
862 * emulparams/elf_iamcu.sh: Likewise.
863 * emulparams/elf_k1om.sh: Likewise.
864 * emulparams/elf_l1om.sh: Likewise.
865 * emulparams/elf_x86_64.sh: Likewise.
866 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
868 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
869 * testsuite/ld-elf/pr19719a.c: New file.
870 * testsuite/ld-elf/pr19719b.c: Likewise.
871 * testsuite/ld-elf/pr19719c.c: Likewise.
872 * testsuite/ld-elf/pr19719d.c: Likewise.
873 * testsuite/ld-i386/pr19636-1.s: Likewise.
874 * testsuite/ld-i386/pr19636-1a.d: Likewise.
875 * testsuite/ld-i386/pr19636-1b.d: Likewise.
876 * testsuite/ld-i386/pr19636-1c.d: Likewise.
877 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
878 * testsuite/ld-i386/pr19636-1d.d: Likewise.
879 * testsuite/ld-i386/pr19636-1e.d: Likewise.
880 * testsuite/ld-i386/pr19636-1f.d: Likewise.
881 * testsuite/ld-i386/pr19636-1g.d: Likewise.
882 * testsuite/ld-i386/pr19636-1h.d: Likewise.
883 * testsuite/ld-i386/pr19636-1i.d: Likewise.
884 * testsuite/ld-i386/pr19636-2.s: Likewise.
885 * testsuite/ld-i386/pr19636-2a.d: Likewise.
886 * testsuite/ld-i386/pr19636-2b.d: Likewise.
887 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
888 * testsuite/ld-i386/pr19636-2c.d: Likewise.
889 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
890 * testsuite/ld-i386/pr19636-2d.d: Likewise.
891 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
892 * testsuite/ld-i386/pr19636-2e.d: Likewise.
893 * testsuite/ld-i386/pr19636-3.s: Likewise.
894 * testsuite/ld-i386/pr19636-3a.d: Likewise.
895 * testsuite/ld-i386/pr19636-3b.d: Likewise.
896 * testsuite/ld-i386/pr19636-3c.d: Likewise.
897 * testsuite/ld-i386/pr19636-3d.d: Likewise.
898 * testsuite/ld-i386/pr19636-3e.d: Likewise.
899 * testsuite/ld-i386/pr19636-3f.d: Likewise.
900 * testsuite/ld-i386/pr19636-3g.d: Likewise.
901 * testsuite/ld-i386/pr19636-4.s: Likewise.
902 * testsuite/ld-i386/pr19636-4a.d: Likewise.
903 * testsuite/ld-i386/pr19636-4b.d: Likewise.
904 * testsuite/ld-i386/pr19636-4c.d: Likewise.
905 * testsuite/ld-i386/pr19636-4d.d: Likewise.
906 * testsuite/ld-i386/pr19704.out: Likewise.
907 * testsuite/ld-i386/pr19704a.c: Likewise.
908 * testsuite/ld-i386/pr19704b.c: Likewise.
909 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
910 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
911 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
912 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
913 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
914 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
915 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
916 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
917 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
918 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
919 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
920 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
921 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
922 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
923 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
924 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
925 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
926 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
927 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
928 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
929 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
930 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
931 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
932 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
933 * testsuite/ld-x86-64/pr19704.out: Likewise.
934 * testsuite/ld-x86-64/pr19704a.c: Likewise.
935 * testsuite/ld-x86-64/pr19704b.c: Likewise.
936 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
937 Run mix_pic_and_non_pic.
938 * testsuite/ld-i386/i386.exp (undefined_weak): New.
939 Run undefined_weak and PR ld/19636 tests.
940 * testsuite/ld-x86-64/x86-64.exp: Likewise.
941 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
942 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
944 2016-02-25 Nick Clifton <nickc@redhat.com>
946 * ld.h (struct ld_config_type): Remove specified_data_size field.
948 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
951 * testsuite/ld-elf/pr19698.d: New file.
952 * testsuite/ld-elf/pr19698.s: Likewise.
953 * testsuite/ld-elf/pr19698.t: Likewise.
955 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
957 * Makefile.am (ELF_X86_DEPS): New.
958 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
959 (eelf_i386_chaos.c): Likewise.
960 (eelf_i386_fbsd.c): Likewise.
961 (eelf_i386_ldso.c): Likewise.
962 (eelf_i386_nacl.c): Likewise.
963 (eelf_i386_sol2.c): Likewise.
964 (eelf_iamcu.c): Likewise.
965 (eelf32_x86_64.c): Likewise.
966 (eelf32_x86_64_nacl.c): Likewise.
967 (eelf_l1om.c): Likewise.
968 (eelf_l1om_fbsd.c): Likewise.
969 (eelf_k1om.c): Likewise.
970 (eelf_k1om_fbsd.c): Likewise.
971 (eelf_x86_64.c): Likewise.
972 (eelf_x86_64_cloudabi.c): Likewise.
973 (eelf_x86_64_fbsd.c): Likewise.
974 (eelf_x86_64_sol2.c): Likewise.
975 * Makefile.in: Regenerated.
977 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
979 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
980 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
981 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
982 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
984 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
986 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
988 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
990 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
991 *-*-gnu* and *-*-solaris*.
992 * testsuite/ld-elf/pr19617b.d: Likewise.
993 * testsuite/ld-elf/pr19617c.d: Likewise.
995 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
998 * testsuite/ld-elf/pr19617.s: New file.
999 * testsuite/ld-elf/pr19617a.d: Likewise.
1000 * testsuite/ld-elf/pr19617b.d: Likewise.
1001 * testsuite/ld-elf/pr19617c.d: Likewise.
1003 2016-02-18 Nick Clifton <nickc@redhat.com>
1005 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1006 in-tree xg++ executable after checking for the presence of an
1007 in-tree g++ executable.
1008 * Makefile.in: Regenerate.
1010 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1012 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1013 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1014 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1016 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1018 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1019 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1020 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1021 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1022 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1023 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1024 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1025 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1026 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1027 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1028 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1029 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1030 * testsuite/ld-x86-64/load1c.d: Likewise.
1031 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1032 * testsuite/ld-x86-64/load1d.d: Likewise.
1033 * testsuite/ld-x86-64/pr14207.d: Likewise.
1034 * testsuite/ld-x86-64/pr19162.d: Likewise.
1035 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1036 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1037 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1038 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1039 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1040 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1042 2016-02-17 Nick Clifton <nickc@redhat.com>
1044 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1046 2016-02-15 Nick Clifton <nickc@redhat.com>
1048 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1049 description of the flags produced by readelf.
1050 * testsuite/ld-i386/pr12921.d: Likewise.
1051 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1052 * testsuite/ld-i386/tlsbin.rd: Likewise.
1053 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1054 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1055 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1056 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1057 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1058 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1059 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1060 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1061 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1062 * testsuite/ld-i386/tlspic.rd: Likewise.
1063 * testsuite/ld-s390/tlsbin.rd: Likewise.
1064 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1065 * testsuite/ld-s390/tlspic.rd: Likewise.
1066 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1067 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1068 * testsuite/ld-sh/tlspic-2.d: Likewise.
1069 * testsuite/ld-tic6x/common.d: Likewise.
1070 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1071 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1072 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1073 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1074 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1075 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1076 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1077 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1078 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1079 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1080 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1081 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1082 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1083 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1084 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1085 * testsuite/ld-x86-64/pr12718.d: Likewise.
1086 * testsuite/ld-x86-64/pr12921.d: Likewise.
1087 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1088 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1089 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1090 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1091 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1092 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1093 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1094 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1095 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1096 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1097 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1098 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1099 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1100 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1102 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1105 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1107 * lexsup.c (parse_args): Enable -Bsymbolic and
1108 -Bsymbolic-functions for PIE.
1109 * testsuite/ld-i386/i386.exp: Run pr19615.
1110 * testsuite/ld-i386/pr19615.d: New file.
1111 * testsuite/ld-i386/pr19615.s: Likewise.
1112 * testsuite/ld-x86-64/pr19615.d: Likewise.
1113 * testsuite/ld-x86-64/pr19615.s: Likewise.
1115 2016-02-09 Nick Clifton <nickc@redhat.com>
1117 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1118 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1119 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1120 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1122 2016-02-04 Nick Clifton <nickc@redhat.com>
1124 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1125 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1126 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1127 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1128 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1129 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1130 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1131 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1132 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1134 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1137 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1138 * testsuite/ld-i386/call1.d: Likewise.
1139 * testsuite/ld-i386/call2.d: Likewise.
1140 * testsuite/ld-i386/call3a.d: Likewise.
1141 * testsuite/ld-i386/call3b.d: Likewise.
1142 * testsuite/ld-i386/call3c.d: Likewise.
1143 * testsuite/ld-i386/call3d.d: Likewise.
1144 * testsuite/ld-i386/call3e.d: Likewise.
1145 * testsuite/ld-i386/call3f.d: Likewise.
1146 * testsuite/ld-i386/call3g.d: Likewise.
1147 * testsuite/ld-i386/call3h.d: Likewise.
1148 * testsuite/ld-i386/jmp1.d: Likewise.
1149 * testsuite/ld-i386/jmp2.d: Likewise.
1150 * testsuite/ld-i386/lea1c.d: Likewise.
1151 * testsuite/ld-i386/load1.d: Likewise.
1152 * testsuite/ld-i386/load2.d: Likewise.
1153 * testsuite/ld-i386/load3.d: Likewise.
1154 * testsuite/ld-i386/load4a.d: Likewise.
1155 * testsuite/ld-i386/load5a.d: Likewise.
1156 * testsuite/ld-i386/mov2b.d: Likewise.
1157 * testsuite/ld-i386/mov3.d: Likewise.
1158 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1159 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1160 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1161 * testsuite/ld-x86-64/call1a.d: Likewise.
1162 * testsuite/ld-x86-64/call1b.d: Likewise.
1163 * testsuite/ld-x86-64/call1c.d: Likewise.
1164 * testsuite/ld-x86-64/call1d.d: Likewise.
1165 * testsuite/ld-x86-64/call1e.d: Likewise.
1166 * testsuite/ld-x86-64/call1f.d: Likewise.
1167 * testsuite/ld-x86-64/call1h.d: Likewise.
1168 * testsuite/ld-x86-64/call1i.d: Likewise.
1169 * testsuite/ld-x86-64/load1a.d: Likewise.
1170 * testsuite/ld-x86-64/load1b.d: Likewise.
1171 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1172 * testsuite/ld-i386/got1.dd: Updated.
1173 * testsuite/ld-i386/got1d.S (1): Removed.
1174 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1175 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1177 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1180 * testsuite/ld-x86-64/pr18591.d: New file.
1181 * testsuite/ld-x86-64/pr18591.s: Likewise.
1182 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1184 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1187 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1188 * testsuite/ld-elf/pr19553.map: New file.
1189 * testsuite/ld-elf/pr19553.map: Likewise.
1190 * testsuite/ld-elf/pr19553a.c: Likewise.
1191 * testsuite/ld-elf/pr19553b.c: Likewise.
1192 * testsuite/ld-elf/pr19553b.out: Likewise.
1193 * testsuite/ld-elf/pr19553c.c: Likewise.
1194 * testsuite/ld-elf/pr19553c.out: Likewise.
1195 * testsuite/ld-elf/pr19553d.c: Likewise.
1196 * testsuite/ld-elf/pr19553d.out: Likewise.
1198 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1201 * testsuite/ld-elf/pr19539.d: New file.
1202 * testsuite/ld-elf/pr19539.s: Likewise.
1203 * testsuite/ld-elf/pr19539.t: Likewise.
1205 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1208 * configure.ac (compressed_debug_sections): Replace == with =.
1209 * configure: Regenerated.
1211 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1213 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1214 * scripttempl/avrtiny.sc (.noinit): Likewise.
1216 2016-01-21 Nick Clifton <nickc@redhat.com>
1219 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1220 the arm-netbsdelf target.
1223 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1224 disassmebler output.
1225 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1226 * testsuite/ld-arm/vxworks1.dd: Likewise.
1227 * testsuite/ld-arm/vxworks1.rd: Likewise.
1228 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1230 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1232 * testsuite/ld-aarch64/farcall-section.d: Delete.
1233 * testsuite/ld-aarch64/farcall-section.s: Delete.
1234 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1235 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1236 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1237 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1238 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1240 2016-01-20 Nick Clifton <nickc@redhat.com>
1243 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1244 early for PE based targets.
1245 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1246 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1248 2016-01-20 Mickael Guene <mickael.guene@st.com>
1250 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1251 Add 'y' attribute usage.
1252 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1253 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1254 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1256 2016-01-19 Nick Clifton <nickc@redhat.com>
1258 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1259 foo@FOO and bar@@FOO.
1261 2016-01-18 Alan Modra <amodra@gmail.com>
1263 * configure: Regenerate.
1265 2016-01-18 Nick Clifton <nickc@redhat.com>
1267 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1268 is not configured to support plugins.
1270 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1271 but with 16 byte section alignment.
1272 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1273 test for MIPS targets.
1275 2016-01-17 Alan Modra <amodra@gmail.com>
1277 * configure: Regenerate.
1279 2016-01-17 Alan Modra <amodra@gmail.com>
1281 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1282 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1283 * testsuite/ld-elf/pr14156a.d: Likewise.
1284 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1285 * testsuite/ld-elf/sec64k.exp: Likewise.
1287 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1289 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1290 Set address of .foo section when linking.
1291 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1293 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1294 output to the above changes.
1296 2016-01-13 Nick Clifton <nickc@redhat.com>
1298 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1301 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1302 fail for MIPS targets.
1304 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1307 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1309 * testsuite/ld-arm/arm-elf.exp: New test.
1310 * testsuite/ld-arm/unwind-mix.d: New file.
1311 * testsuite/ld-arm/unwind-mix1.s: New file.
1312 * testsuite/ld-arm/unwind-mix2.s: New file.
1314 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1317 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1318 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1319 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1320 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1321 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1322 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1324 2016-01-05 Nick Clifton <nickc@redhat.com>
1326 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1327 MSP430 hardware multiply address range.
1328 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1329 (__romdatacopysize): Define.
1330 * scripttempl/elf32msp430_3.sc: Likewise.
1332 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1334 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1335 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1337 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1339 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1340 messages expected according to MIPS BFD private data merge
1342 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1343 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1344 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1345 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1346 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1347 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1348 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1349 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1350 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1351 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1352 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1353 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1354 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1356 2016-01-01 Alan Modra <amodra@gmail.com>
1358 Update year range in copyright notice of all files.
1360 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1362 Copyright (C) 2016 Free Software Foundation, Inc.
1364 Copying and distribution of this file, with or without modification,
1365 are permitted in any medium without royalty provided the copyright
1366 notice and this notice are preserved.
1372 version-control: never