+2018-10-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23658
+ * ldlang.c (lang_insert_orphan): Group and sort output note
+ sections by section alignments.
+
+2018-09-25 Eric Botcazou <ebotcazou@adacore.com>
+
+ * testsuite/ld-elf/pr14156b.d: Adjust for extra symbols.
+ * testsuite/ld-elf/pr22677.s: Define main/start/_start/__start.
+
+2018-09-24 Jim Wilson <jimw@sifive.com>
+
+ * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend-2.
+ * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.d: New.
+ * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.s: New.
+ * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend.d: Update name
+ and error string.
+
+2018-09-21 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-avr/gc-section-debugline.d: Update.
+
+2018-09-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-checks/over2.s: Add "_main" for LynxOS targets.
+ * testsuite/ld-elf/comm-data4.s: Likewise.
+ * testsuite/ld-elf/comm-data5.s: Likewise.
+ * testsuite/ld-elf/eh5b.s: Likewise.
+ * testsuite/ld-elf/empty.s: Likewise.
+ * testsuite/ld-elf/empty2.s: Likewise.
+ * testsuite/ld-elf/exclude3.s: Likewise.
+ * testsuite/ld-elf/fini0.s: Likewise.
+ * testsuite/ld-elf/init0.s: Likewise.
+ * testsuite/ld-elf/linkonce1b.s: Likewise.
+ * testsuite/ld-elf/orphan3a.s: Likewise.
+ * testsuite/ld-elf/pr14926.s: Likewise.
+ * testsuite/ld-elf/pr20513a.s: Likewise.
+ * testsuite/ld-elf/sec64k.exp: Likewise.
+ * testsuite/ld-elf/start.s: Likewise.
+ * testsuite/ld-elf/var1.s: Likewise.
+
+2018-09-20 Kito Cheng <kito@andestech.com>
+
+ * emulparams/elf32lriscv.sh: Correct the library search path.
+ * emulparams/elf32lriscv_ilp32.sh: Likewise.
+ * emulparams/elf32lriscv_ilp32f.sh: Likewise.
+
+2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
+
+ * emultempl/nds32elf.em (hyper_relax): New variable.
+ (nds32_elf_create_output_section_statements):
+ the parameters of bfd_elf32_nds32_set_target_option
+ (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
+ PARSE_AND_LIST_ARGS_CASES): Add new option --mhyper-relax.
+ * emultempl/nds32elf.em (nds32_elf_after_open): Updated.
+ * emultempl/nds32elf.em (tls_desc_trampoline): New variable.
+ * (nds32_elf_create_output_section_statements): Updated.
+ * (nds32_elf_after_parse): Disable relaxations when PIC is enable.
+ * (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
+ PARSE_AND_LIST_ARGS_CASES): Add new option --m[no-]tlsdesc-trampoline.
+
+2018-09-19 Alan Modra <amodra@gmail.com>
+
+ PR ld/23648
+ * ldlang.c (lang_process): Move lang_do_memory_regions earlier.
+ Comment on lang_do_assignments call.
+ * ldgram.y (origin_exp): Don't assign region->current.
+ * testsuite/ld-elf/pr23648.d,
+ * testsuite/ld-elf/pr23648.s,
+ * testsuite/ld-elf/pr23648.t: New test.
+
+2018-09-19 Alan Modra <amodra@gmail.com>
+
+ * ldmain.c (add_archive_element): Handle auto-inport symbols
+ when printing map.
+
+2018-09-17 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-elf/comm-data5.d: Remove notarget for hppa.
+ * testsuite/ld-scripts/defined6.d: Likewise.
+
+2018-09-17 Nick Clifton <nickc@redhat.com>
+
+ * testuite/ld/ld-elf/audit.exp: Differentiate the names of the
+ two "Run with shared with --audit" tests.
+ * testuite/ld/ld-elf/compress.exp: Differentiate the zlib
+ compressed debug output test names.
+ * testuite/ld/ld-i386/tlspie1.d: Add extra details to the test
+ name.
+ * testuite/ld/ld-i386/tlspie2.d: Likewise.
+ * testuite/ld/ld-size/size.exp: Add missing escapes to the end
+ of lines in the size-3e test.
+ * testuite/ld/ld-unique/unique.exp: Differentiate the names of
+ the two "Checking unique PIC object" tests.
+ * testuite/ld/ld-x86-64/tlspie1.d: Add extra details to the test
+ name.
+
+2018-09-15 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-d10v/reloc-007.d,
+ * testsuite/ld-d10v/reloc-008.d,
+ * testsuite/ld-d10v/reloc-015.d,
+ * testsuite/ld-d10v/reloc-016.d: Remove "error:".
+ * testsuite/ld-elf/eh-frame-hdr.d,
+ * testsuite/ld-elf/eh5.d,
+ * testsuite/ld-gc/personality.d: Replace "cfi" and "shared" in
+ target list with appropriate proc.
+ * testsuite/ld-elf/frame.exp: Use check_shared_lib_support rather
+ than "istarget shared".
+ * testsuite/lib/ld-lib.exp (proc big_or_little_endian): Delete.
+ (run_dump_test, slurp_options, file_contents): Delete.
+ (set_file_contents, istarget): Delete.
+
+2018-09-15 Alan Modra <amodra@gmail.com>
+
+ * testsuite/lib/ld-lib.exp (run_dump_test): Replace PROG
+ with DUMPPROG.
+
+2018-09-15 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-elf/interleave-0.d,
+ * testsuite/ld-elf/interleave-4.d: Don't objcopy to srec,
+ objdump instead.
+ * testsuite/ld-gc/all-debug-sections.d,
+ * testsuite/ld-scripts/provide-4.d,
+ * testsuite/ld-scripts/provide-5.d,
+ * testsuite/ld-scripts/provide-6.d,
+ * testsuite/ld-scripts/provide-7.d,
+ * testsuite/ld-scripts/provide-8.d,
+ * testsuite/ld-scripts/segment-start.d: Remove PROG, specify
+ nm instead.
+ * testsuite/lib/ld-lib.exp (run_dump_test): Remove support
+ for objcopy as a dump tool.
+
+2018-09-14 Maciej W. Rozycki <macro@mips.com>
+
+ PR ld/21375
+ * testsuite/ld-mips-elf/pr21375-abi.hd: New test.
+ * testsuite/ld-mips-elf/pr21375-noabi.hd: New test.
+ * testsuite/ld-mips-elf/pr21375.dd: New test.
+ * testsuite/ld-mips-elf/pr21375h.dd: New test.
+ * testsuite/ld-mips-elf/pr21375p.dd: New test.
+ * testsuite/ld-mips-elf/pr21375ph.dd: New test.
+ * testsuite/ld-mips-elf/pr21375s.dd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n32.dd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n64.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sh.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n32.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n64.dd: New test.
+ * testsuite/ld-mips-elf/pr21375shg.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sx.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sxh.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sm16.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sm16h.dd: New test.
+ * testsuite/ld-mips-elf/pr21375su.dd: New test.
+ * testsuite/ld-mips-elf/pr21375su-n32.dd: New test.
+ * testsuite/ld-mips-elf/pr21375su-n64.dd: New test.
+ * testsuite/ld-mips-elf/pr21375suh.dd: New test.
+ * testsuite/ld-mips-elf/pr21375suh-n32.dd: New test.
+ * testsuite/ld-mips-elf/pr21375suh-n64.dd: New test.
+ * testsuite/ld-mips-elf/pr21375sux.dd: New test.
+ * testsuite/ld-mips-elf/pr21375suxh.dd: New test.
+ * testsuite/ld-mips-elf/pr21375.gd: New test.
+ * testsuite/ld-mips-elf/pr21375h.gd: New test.
+ * testsuite/ld-mips-elf/pr21375p.gd: New test.
+ * testsuite/ld-mips-elf/pr21375ph.gd: New test.
+ * testsuite/ld-mips-elf/pr21375s.gd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n32.gd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n64.gd: New test.
+ * testsuite/ld-mips-elf/pr21375sh.gd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n32.gd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n64.gd: New test.
+ * testsuite/ld-mips-elf/pr21375shg.gd: New test.
+ * testsuite/ld-mips-elf/pr21375shl.gd: New test.
+ * testsuite/ld-mips-elf/pr21375shv.gd: New test.
+ * testsuite/ld-mips-elf/pr21375sx.gd: New test.
+ * testsuite/ld-mips-elf/pr21375sxh.gd: New test.
+ * testsuite/ld-mips-elf/pr21375.sd: New test.
+ * testsuite/ld-mips-elf/pr21375-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375h.sd: New test.
+ * testsuite/ld-mips-elf/pr21375h-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375p.sd: New test.
+ * testsuite/ld-mips-elf/pr21375p-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375ph.sd: New test.
+ * testsuite/ld-mips-elf/pr21375ph-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375s.sd: New test.
+ * testsuite/ld-mips-elf/pr21375s-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n32.sd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n32-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n64.sd: New test.
+ * testsuite/ld-mips-elf/pr21375s-n64-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sh.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n32.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n32-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n64.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sh-n64-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375shg.sd: New test.
+ * testsuite/ld-mips-elf/pr21375shg-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375shl.sd: New test.
+ * testsuite/ld-mips-elf/pr21375shl-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375shv.sd: New test.
+ * testsuite/ld-mips-elf/pr21375shv-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sx.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sx-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sxh.sd: New test.
+ * testsuite/ld-mips-elf/pr21375sxh-irix.sd: New test.
+ * testsuite/ld-mips-elf/pr21375.ld: New test linker script.
+ * testsuite/ld-mips-elf/pr21375-xgot.ld: New test linker script.
+ * testsuite/ld-mips-elf/pr21375.ver: New test version script.
+ * testsuite/ld-mips-elf/pr21375v.ver: New test version script.
+ * testsuite/ld-mips-elf/pr21375.s: New test source.
+ * testsuite/ld-mips-elf/pr21375-mips16.s: New test source.
+ * testsuite/ld-mips-elf/pr21375-n32.s: New test source.
+ * testsuite/ld-mips-elf/pr21375-n64.s: New test source.
+ * testsuite/ld-mips-elf/pr21375-xgot.s: New test source.
+ * testsuite/ld-mips-elf/mips-elf.exp (run_mips_undefweak_test):
+ New procedure; run the new tests.
+
+2018-09-14 Maciej W. Rozycki <macro@mips.com>
+
+ PR ld/21375
+ * emultempl/mipself.em: Set `gnu_target' according to ${target}.
+ (mips_create_output_section_statements): Update call to
+ `_bfd_mips_elf_linker_flags'.
+ * testsuite/ld-mips-elf/pr21334.s: Use LWL rather than LW.
+ * testsuite/ld-mips-elf/pr21334.dd: Update accordingly.
+
+2018-09-14 Maciej W. Rozycki <macro@mips.com>
+ Maciej W. Rozycki <macro@linux-mips.org>
+
+ * ldexp.c (fold_binary): Always make the result of SEGMENT_START
+ section-relative.
+ * testsuite/ld-scripts/segment-start.d: New test.
+ * testsuite/ld-scripts/segment-start.ld: New test linker script.
+ * testsuite/ld-scripts/segment-start.s: New test source.
+ * testsuite/ld-scripts/script.exp: Run the new test.
+
+2018-09-14 Maciej W. Rozycki <macro@linux-mips.org>
+
+ * ldexp.c (fold_binary): Check that `config.maxpagesize' is
+ non-zero before using it as a divisor.
+
+2018-09-03 Nick Clifton <nickc@redhat.com>
+
+ * po/fi.po: Updated Finnish translation.
+
+2018-09-03 Alan Modra <amodra@gmail.com>
+
+ PR ld/23591
+ * testsuite/ld-elf/pr23591a.s,
+ * testsuite/ld-elf/pr23591b.s,
+ * testsuite/ld-elf/pr23591c.s: Don't start directives in first column.
+ * testsuite/ld-elf/pr23591.d: xfail frv-linux and lm32-linux.
+ Allow __start___sancov_cntrs as a local symbol.
+
+018-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23591
+ * ldlang.c (undef_start_stop): Lookup section in output with
+ the same name.
+ * testsuite/ld-elf/pr23591.d: New file.
+ * testsuite/ld-elf/pr23591a.s: Likewise.
+ * testsuite/ld-elf/pr23591b.s: Likewise.
+ * testsuite/ld-elf/pr23591c.s: Likewise.
+
+2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-i386/i386.exp: Also run for x86_64-*-elf* targets.
+ * testsuite/ld-i386/property-x86-4a.d: Pass -z separate-code to
+ ld.
+ * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
+
+2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/elf.exp (ASFLAGS): Save, append
+ -mx86-used-note=no and restore.
+ * testsuite/ld-ifunc/ifunc.exp (ASFLAGS): Likewise.
+ * testsuite/ld-scripts/defined.exp (ASFLAGS): Likewise.
+ * testsuite/ld-scripts/overlay-size.exp (ASFLAGS): Likewise.
+
+2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-srec/srec.exp: Append -Wa,-mx86-used-note=no to
+ CC and CXX on ELF/x86 targets.
+
+2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-i386/i386.exp: (ASFLAGS): Save, append
+ -mx86-used-note=no and restore. Pass -mx86-used-note=yes and
+ -mx86-used-note=no to assembler.
+ * testsuite/ld-x86-64/x86-64.exp: Likewise.
+ * testsuite/ld-i386/no-plt.exp: Pass -mx86-used-note=yes to
+ assembler.
+ * testsuite/ld-i386/tls.exp: Likewise.
+ * testsuite/ld-x86-64/no-plt.exp: Likewise.
+ * testsuite/ld-x86-64/tls.exp: Likewise.
+ * testsuite/ld-i386/pr23486a.d: Pass -mx86-used-note=no to
+ assembler.
+ * testsuite/ld-i386/pr23486b.d: Likewise.
+ * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
+ * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
+ * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
+ * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
+ * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
+ * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
+ * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
+ * testsuite/ld-x86-64/pr23486a.d: Likewise.
+ * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
+ * testsuite/ld-x86-64/pr23486b.d: Likewise.
+ * testsuite/ld-i386/property-x86-3.d: Pass -mx86-used-note=yes
+ to assembler and update expected output from "readelf -n".
+ * testsuite/ld-i386/property-x86-4a.d: Likewise.
+ * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
+ * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
+ * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
+ * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
+ * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
+ * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
+ * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
+ * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
+ * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
+ * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
+ * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
+ * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
+ * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
+ * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-3.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
+ * testsuite/ld-i386/property-1a.r: New file.
+ * testsuite/ld-i386/property-2a.r: Likewise.
+ * testsuite/ld-i386/property-3a.r: Likewise.
+ * testsuite/ld-i386/property-4a.r: Likewise.
+ * testsuite/ld-i386/property-5a.r: Likewise.
+ * testsuite/ld-i386/property-7a.r: Likewise.
+ * testsuite/ld-x86-64/property-1a.r: Likewise.
+ * testsuite/ld-x86-64/property-2a.r: Likewise.
+ * testsuite/ld-x86-64/property-3a.r: Likewise.
+ * testsuite/ld-x86-64/property-4a.r: Likewise.
+ * testsuite/ld-x86-64/property-5a.r: Likewise.
+ * testsuite/ld-x86-64/property-7a.r: Likewise.
+ * testsuite/ld-x86-64/mpx.exp: Pass -mx86-used-note=no to
+ assembler.
+
+2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
+
+ * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination
+ gs264e and gs464e.
+
+2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
+
+ * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination
+ gs464e and gs464.
+
+2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
+
+ * testsuite/ld-mips-elf/mips-elf-flags.exp: Rename loongson3a
+ to gs464.
+
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
* testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):