+2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
+
+ * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
+
+2016-05-09 Christophe Monat <christophe.monat@st.com>
+
+ PR ld/20030
+ * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
+ tests. Fix misnamed stm32l4xx-fix-all.
+ * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
+ loads with DP registers.
+ * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
+ * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
+ * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
+ loads with DP registers.
+ * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
+
+2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
+
+ * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
+ program headers.
+ (xfail): Remove avr-*-*.
+ Update regex to check the section flags.
+ * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
+
+2016-05-09 Alan Modra <amodra@gmail.com>
+
+ * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
+ * Makefile.in: Regenerate.
+
+2016-05-09 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
+ * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
+ * testsuite/ld-scripts/section-match-1.t: Likewise.
+
+2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/17550
+ * testsuite/ld-elf/pr17550-1.s: New file.
+ * testsuite/ld-elf/pr17550-2.s: Likewise.
+ * testsuite/ld-elf/pr17550-3.s: Likewise.
+ * testsuite/ld-elf/pr17550-4.s: Likewise.
+ * testsuite/ld-elf/pr17550a.d: Likewise.
+ * testsuite/ld-elf/pr17550b.d: Likewise.
+ * testsuite/ld-elf/pr17550c.d: Likewise.
+ * testsuite/ld-elf/pr17550d.d: Likewise.
+
+2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
+
+2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-i386/i386.exp: Run load7.
+ * testsuite/ld-i386/load7.d: New file.
+ * testsuite/ld-i386/load7.map: Likewise.
+ * testsuite/ld-i386/load7.s: Likewise.
+ * testsuite/ld-x86-64/load2.d: Likewise.
+ * testsuite/ld-x86-64/load2.map: Likewise.
+ * testsuite/ld-x86-64/load2.s: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run load2.
+
+2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
+ * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+
+2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
+
+2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
+
+2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
+
+ * testsuite/ld-unique/unique.d: New test.
+ * testsuite/ld-unique/unique.exp: Run the new test. Adjust
+ messages for compiled tests.
+
+2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * testsuite/ld-elf/pr18735.d: Allow other symbols.
+ * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
+ * testsuite/ld-gc/pr14265.d: Allow other symbols.
+ * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
+ plugin_tests only if check_shared_lib_support is true.
+ * testsuite/ld-selective/selective.exp: Add --section-start
+ flag for avr.
+
+2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
+
+ PR 10549
+ * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
+
+2016-05-03 Jiong Wang <jiong.wang@arm.com>
+
+ * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
+ * NEWS: Mention --no-apply-dynamic-relocs.
+ * ld.texinfo (ld and the ARM family): Document
+ --no-apply-dynamic-relocs.
+ * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
+ * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
+ * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
+ * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
+ option.
+
+2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
+ before running STT_COMMON tests.
+
+2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/default.exp (NOPIE_CFLAGS): Download source only on
+ remote host.
+ (NOPIE_LDFLAGS): Likewise.
+ * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
+ (check_lto_fat_available): Likewise.
+ (check_lto_shared_available): Likewise.
+ (check_ifunc_available): Likewise.
+ (check_ifunc_attribute_available): Likewise.
+
+2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
+
+2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/20006
+ * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
+ (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
+ ELF targets.
+
+2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/compressed1b.d: Pass
+ --compress-debug-sections=none to ld.
+ * testsuite/ld-elf/compressed1c.d: Likewise.
+
+2016-04-27 Alan Modra <amodra@gmail.com>
+
+ PR target/19985
+ * configure.tgt: Don't use var+=.
+
+2016-04-25 Nick Clifton <nickc@redhat.com>
+
+ PR target/19985
+ * configure.tgt: Include big endian PPC64 emulations with little
+ endian PPC64 targets.
+
+2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
+
+ * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
+
+2016-04-21 Nick Clifton <nickc@redhat.com>
+
+ * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
+ prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
+ targets. Do not stop the checks when problems are encountered.
+
+2016-04-21 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-scripts/cross3.t: Add commonly used data
+ and text section names to output section statements.
+ * testsuite/ld-scripts/cross4.t: Likewise.
+ * testsuite/ld-scripts/cross5.t: Likewise.
+ * testsuite/ld-scripts/cross6.t: Likewise.
+ * testsuite/ld-scripts/cross7.t: Likewise.
+
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ldlang.c (lang_check_relocs): New function.
+ (lang_process): Call lang_check_relocs after lang_gc_sections.
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
+ call _bfd_elf_link_check_relocs here.
+
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19972
+ * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
+ R_386_NONE or R_X86_64_NONE.
+
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-x86-64/pic1.d: New file.
+ * testsuite/ld-x86-64/pic1.s: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run pic1.
+
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-x86-64/pie2.d: New file.
+ * testsuite/ld-x86-64/pie2.s: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run pie2.
+
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19969
+ * testsuite/ld-x86-64/pr19969.d: New file.
+ * testsuite/ld-x86-64/pr19969a.S: Likewise.
+ * testsuite/ld-x86-64/pr19969b.S: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
+
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ New.
+ * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
+ Likewise.
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
+ Set check_relocs_after_open_input to TRUE if
+ CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
+ (gld${EMULATION_NAME}_after_open): Call
+ _bfd_elf_link_check_relocs on all inputs if
+ check_relocs_after_open_input is TRUE.
+
+2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
+ my_personality_v0.
+
+2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
+
+ * emultempl/scoreelf.em: Likewise.
+
+2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19719
+ * testsuite/ld-x86-64/pr19719.d: New file.
+ * testsuite/ld-x86-64/pr19719.s: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
+
+2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
+
+ * ld.texinfo: Document NOCROSSREFS_TO script command.
+ * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
+ (lang_add_nocrossref_to): New prototype.
+ * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
+ symbols defined in the first section.
+ (check_nocrossref): Likewise.
+ * ldgram.y (NOCROSSREFS_TO): New script command.
+ * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
+ (lang_add_nocrossref_to): New function.
+ * ldlex.l (NOCROSSREFS_TO): New token.
+ * NEWS: Mention NOCROSSREFS_TO.
+ * testsuite/ld-scripts/cross4.t: New file.
+ * testsuite/ld-scripts/cross5.t: Likewise.
+ * testsuite/ld-scripts/cross6.t: Likewise.
+ * testsuite/ld-scripts/cross7.t: Likewise.
+ * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
+ tests.
+
+2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.in: Regenerated with automake 1.11.6.
+ * aclocal.m4: Likewise.
+
+2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * testsuite/ld-arc/arc.exp: New file.
+ * testsuite/ld-arc/nps-1.s: New file.
+ * testsuite/ld-arc/nps-1a.d: New file.
+ * testsuite/ld-arc/nps-1b.d: New file.
+ * testsuite/ld-arc/nps-1b.err: New file.
+
+2016-04-14 Nick Clifton <nickc@redhat.com>
+
+ PR 19457
+ * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
+ exceptions for Mingw and Cygwin.
+
+2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
+ check_ld(terminal).
+
+2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19774
+ * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
+ tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
+ tests.
+
+2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19939
+ * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
+ * testsuite/ld-x86-64/x86-64.exp: Likewise.
+ * testsuite/ld-i386/pr19939.s: New file.
+ * testsuite/ld-i386/pr19939a.d: Likewise.
+ * testsuite/ld-i386/pr19939b.d: Likewise.
+ * testsuite/ld-x86-64/pr19939.s: Likewise.
+ * testsuite/ld-x86-64/pr19939a.d: Likewise.
+ * testsuite/ld-x86-64/pr19939b.d: Likewise.
+
+2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
+
+ * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
+
+2016-04-08 Alan Modra <amodra@gmail.com>
+
+ PR 18452
+ * ldlang.c (maybe_overlays): Delete.
+ (lang_size_sections_1): Remove code setting maybe_overlays.
+ (lang_check_section_addresses): Instead detect overlays by
+ exact match of section VMAs here. Fix memory leak.
+
+2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
+
+ * ldlang.c (print_output_section_statement): Show minfo size
+ in target machine address units.
+ (print_reloc_statement): Likewise.
+ (print_padding_statement): Likewise.
+ (print_data_statement): Likewise. Ensure minimum print_dot
+ increment of one address unit.
+
+2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * emulparams/arc-endianness.sh: Make little endian default choice.
+
+2016-04-07 Nick Clifton <nickc@redhat.com>
+
+ * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
+ section name.
+ * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
+
+2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * emulparams/arc-endianness.sh: New file.
+ * emulparams/arcebelf.sh: Deleted.
+ * emulparams/arcebelf_prof.sh: Deleted.
+ * emulparams/arceblinux.sh: Deleted.
+ * emulparams/arceblinux_prof.sh: Deleted.
+ * emulparams/arcelf.sh: Include arc-endinness.sh.
+ * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
+ * emulparams/arclinux.sh: Include arc-endinness.sh.
+ * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
+ * emulparams/arcv2elf.sh: Include arc-endinness.sh.
+ * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
+ * testsuite/ld-elf/compressed1d.d: Update pattern for big and
+ little endian arc targets.
+ * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
+ * testsuite/ld-elf/group1.d: Likewise.
+ * testsuite/ld-elf/group3b.d: Likewise.
+ * testsuite/ld-elf/group8a.d: Likewise.
+ * testsuite/ld-elf/group8b.d: Likewise.
+ * testsuite/ld-elf/group9a.d: Likewise.
+ * testsuite/ld-elf/group9b.d: Likewise.
+ * testsuite/ld-elf/linkonce2.d: Likewise.
+ * testsuite/ld-elf/pr12851.d: Likewise.
+ * testsuite/ld-elf/pr12975.d: Likewise.
+ * testsuite/ld-elf/pr13177.d: Likewise.
+ * testsuite/ld-elf/pr13195.d: Likewise.
+ * testsuite/ld-elf/pr17615.d: Likewise.
+ * testsuite/ld-elf/pr19162.d: Likewise.
+ * testsuite/ld-elf/sec64k.exp: Likewise.
+ * testsuite/lib/ld-lib.exp: Likewise.
+
+2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
+
+ PR ld/19908
+ * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
+ handling fix.
+ * testsuite/ld-cris/tls-e-20a.d: Likewise.
+ * testsuite/ld-cris/tls-e-21.d: Likewise.
+ * testsuite/ld-cris/tls-e-23.d: Likewise.
+ * testsuite/ld-cris/tls-e-80.d: Likewise.
+ * testsuite/ld-cris/tls-gd-3h.d: Likewise.
+ * testsuite/ld-cris/tls-leie-19.d: Likewise.
+ * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
+ * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
+ * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
+ * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
+ * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
+ * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
+ * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
+ * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
+
+ * testsuite/ld-discard/extern.d: Removed xfail for ARC.
+ * testsuite/ld-discard/start.d: Likewise.
+ * testsuite/ld-discard/static.d: Likewise.
+ * testsuite/ld-elf/group1.d: Likewise.
+ * testsuite/ld-elf/group3b.d: Likewise.
+ * testsuite/ld-elf/orphan-region.d: Likewise.
+ * testsuite/ld-elf/orphan.d: Likewise.
+ * testsuite/ld-elf/orphan3.d: Likewise.
+ * testsuite/ld-elf/pr349.d: Likewise.
+ * testsuite/ld-elf/warn1.d: Likewise.
+ * testsuite/ld-elf/warn2.d: Likewise.
+ * testsuite/ld-elf/warn3.d: Likewise.
+ * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
+ through linker flags.
+ * testsuite/ld-srec/srec.exp: Set as xfail.
+
+2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19827
+ * testsuite/ld-i386/pr19827-nacl.rd: New file.
+ * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
+
+2016-04-04 Nick Clifton <nickc@redhat.com>
+
+ PR 19803
+ * emultempl/pe.em (change_undef): New function. Encapsulates
+ duplicated code in pe_fixup_stdcalls and adds the newly defined
+ sym to the gc root list.
+ (pe_fixup_stdcall): Use the new function.
+ * pe-dll.c (process_def_file_and_drectve); Add alias of exported
+ symbol to gc root list.
+
+2016-03-31 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
+ (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
+ (print_input_section): Don't use TO_ADDR when printing section
+ size.
+ (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
+ (lang_size_sections): Use TO_ADDR in relro end calculation.
+
+2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
+ value from regexp_diff.
+ * testsuite/ld-elf/orphan-5.l: Fix expected output.
+ * testsuite/ld-elf/orphan-6.l: Likewise.
+
2016-03-30 Alan Modra <amodra@gmail.com>
PR 18452