+ * 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
+ * ldlang.c (maybe_overlays): New static var.
+ (lang_size_sections_1): Set it here.
+ (struct check_sec): New.
+ (sort_sections_by_lma): Adjust for array of structs.
+ (sort_sections_by_vma): New function.
+ (lang_check_section_addresses): Check both LMA and VMA for overlap.
+ * testsuite/ld-scripts/rgn-over7.d: Adjust.
+
+2016-03-30 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (lang_size_sections_1): Correct code detecting a
+ backward non-overlapping move.
+
+2016-03-30 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (IS_TBSS): New macro, extracted from..
+ (IGNORE_SECTION): ..here.
+ (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
+ (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
+
+2016-03-22 Nick Clifton <nickc@redhat.com>
+
+ PR ld/19803
+ * ldlang.c (lang_add_gc_name): New function. Adds the provided
+ symbol name to the list of gc symbols.
+ (lang_process): Call lang_add_gc_name with entry_symbol_default if
+ entry_symbol.name is NULL. Use lang_add_gc_name to add the init
+ and fini function names.
+ * pe-dll.c (process_def_file_and_drectve): Add exported names to
+ the gc symbol list.
+ * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
+ * testsuite/ld-pe/pr19803.d: Tweak expected output.
+
+2016-03-22 Nick Clifton <nickc@redhat.com>