ELF: Group and sort output note sections by section alignments
[deliverable/binutils-gdb.git] / ld / ChangeLog
index fe9724bd6c7def345b6579a21964cd37472a49e7..f17a8f27d8a9135a1cdee20a25f7bbdd628177b0 100644 (file)
+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):
+       Skip o32 flags checking if target is mips*-*-irix*.
+
+2018-08-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/i386.exp: Run property-x86-5.
+       * testsuite/ld-i386/property-x86-5.d: New file.
+       * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5.d: Likewise.
+       * testsuite/ld-x86-64/property-x86-5a.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-5b.s: Likewise.
+       * testsuite/ld-x86-64/x86-64.exp: Run property-x86-5 and
+       property-x86-5-x32.
+
+2018-08-26  Alan Modra  <amodra@gmail.com>
+
+       PR 23571
+       * ldlang.h (section_alignment): Make it an expression tree.
+       (subsection_alignment): Likewise.
+       * ldlang.c (topower): Delete.
+       (output_section_statement_newfunc): Adjust initialization.
+       (init_os): Evaluate section_alignment.
+       (lang_size_sections_1): Likewise.
+       (size_input_section): Evaluate subsection_alignment.
+       (lang_enter_output_section_statement): Don't evaluate here.
+       (lang_new_phdr): Use exp_get_vma rather than exp_get_value_int.
+       * ldexp.h (exp_get_value_int): Delete.
+       (exp_get_power): Declare.
+       * ldexp.c (exp_get_value_int): Delete.
+       (exp_get_power): New function.
+       * emultempl/pe.em (place_orphan): Build expression for section
+       alignment.
+       * emultempl/pep.em (place_orphan): Likewise.
+       * testsuite/ld-scripts/pr23571.d,
+       * testsuite/ld-scripts/pr23571.t: New test.
+       * testsuite/ld-scripts/align.exp: Run it.
+
+2018-08-24  Chenghua Xu  <paul.hua.gm@gmail.com>
+
+       * testsuite/ld-mips-elf/mips-elf-flags.exp
+       (check_ld_support_32bit, check_is_32bit_args): New procedures.
+       (good_combination, bad_combination): Skip 32bit test if ld
+       not support 32bit emulations.
+
+2018-08-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-i386/i386.exp: Run pr23372c, pr23372d, pr23486c
+       and pr23486d.
+       * testsuite/ld-i386/pr23372a.s: Update comments.
+       * testsuite/ld-i386/pr23372b.s: Likewise.
+       * testsuite/ld-i386/pr23372c.s: Likewise.
+       * testsuite/ld-x86-64/pr23372a.s: Likewise.
+       * testsuite/ld-x86-64/pr23372b.s: Likewise.
+       * testsuite/ld-x86-64/pr23372c.s: Likewise.
+       * testsuite/ld-x86-64/pr23486a.s: Likewise.
+       * testsuite/ld-x86-64/pr23486b.s: Likewise.
+       * testsuite/ld-i386/pr23372c.d: New file.
+       * testsuite/ld-i386/pr23372d.d: Likewise.
+       * testsuite/ld-i386/pr23486c.d: Likewise.
+       * testsuite/ld-i386/pr23486d.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372c.d: Likewise.
+       * testsuite/ld-x86-64/pr23372d-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23372d.d: Likewise.
+       * testsuite/ld-x86-64/pr23372d.s: Likewise.
+       * testsuite/ld-x86-64/pr23372e.s: Likewise.
+       * testsuite/ld-x86-64/pr23372f.s: Likewise.
+       * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486c.d: Likewise.
+       * testsuite/ld-x86-64/pr23486c.s: Likewise.
+       * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d.d: Likewise.
+       * testsuite/ld-x86-64/pr23486d.s: Likewise.
+       * testsuite/ld-i386/property-3.r: Updated.
+       * testsuite/ld-i386/property-4.r: Likewise.
+       * testsuite/ld-i386/property-5.r: Likewise.
+       * testsuite/ld-i386/property-x86-3.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-x86-64/property-3.r: Likewise.
+       * testsuite/ld-x86-64/property-4.r: Likewise.
+       * testsuite/ld-x86-64/property-5.r: 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-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-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-i386/property-x86-1.S: Updated to the current
+       GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
+       values.
+       * testsuite/ld-i386/property-x86-2.S: Likewise.
+       * testsuite/ld-i386/property-x86-3.s: Likewise.
+       * testsuite/ld-x86-64/property-x86-1.S: Likewise.
+       * testsuite/ld-x86-64/property-x86-2.S: Likewise.
+       * testsuite/ld-x86-64/property-x86-3.s: Likewise.
+       * ld/testsuite/ld-x86-64/x86-64.exp: Run pr23372c, pr23372c-x32,
+       pr23372d, pr23372d-x32, pr23486c, pr23486c-x32, pr23486d and
+       pr23486d-x32.
+
+2018-08-24  Alan Modra  <amodra@gmail.com>
+
+       * emultempl/elf32.em (before_allocation): Don't restore
+       __ehdr_start u.*.next pointer.
+
+2018-08-23  Alan Modra  <amodra@gmail.com>
+
+       PR 23566
+       * emultempl/elf32.em (before_allocation): Warning fix.
+
+2018-08-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23536
+       * Makefile.am (development.exp): New target.
+       (EXTRA_DEJAGNU_SITE_CONFIG): New.
+       (DISTCLEANFILES): Add development.exp.
+       * Makefile.in: Regenerated.
+       * testsuite/ld-bootstrap/bootstrap.exp: Call prune_warnings to
+       prune BFD output.
+       * testsuite/ld-plugin/lto.exp: Likewise.
+       * testsuite/lib/ld-lib.exp (prune_warnings): Removed.
+       * testsuite/ld-elf/shared.exp: Allow "\n" in linker warnings.
+
+2018-08-21  Nick Clifton  <nickc@redhat.com>
+
+       PR 23426
+       * ld.texi (--hash-style): Note that the default is configurable
+       and that for most Linux based systems it will be "both".
+
+2018-08-18  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/elf.exp (is_elf64): Delete.
+
+2018-08-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23515
+       * testsuite/ld-i386/ibt-plt-2a.d: Updated.
+       * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
+       * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
+
+2018-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486a.s.
+
+2018-08-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23428
+       * testsuite/ld-elf/dummy.s: New file.
+       * testsuite/ld-elf/linux-x86.S: Add X86_FEATURE_1_AND property.
+       * testsuite/ld-elf/linux-x86.exp: Add dummy.s to pr23428.
+
+2018-08-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23486
+       * testsuite/ld-i386/i386.exp: Run PR ld/23486 tests.
+       * testsuite/ld-x86-64/x86-64.exp: Likewise.
+       * testsuite/ld-i386/pr23486a.d: New file.
+       * testsuite/ld-i386/pr23486b.d: Likewise.
+       * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486a.d: Likewise.
+       * testsuite/ld-x86-64/pr23486a.s: Likewise.
+       * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
+       * testsuite/ld-x86-64/pr23486b.d: Likewise.
+       * testsuite/ld-x86-64/pr23486b.s: Likewise.
+       * testsuite/ld-i386/property-3.r: Remove "x86 ISA used".
+       * testsuite/ld-i386/property-4.r: Likewise.
+       * testsuite/ld-i386/property-5.r: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
+       * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
+       * testsuite/ld-x86-64/property-3.r: Likewise.
+       * testsuite/ld-x86-64/property-4.r: Likewise.
+       * testsuite/ld-x86-64/property-5.r: 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-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.
+
+2018-08-07  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/notoc.s: Generate some cfi.
+       * testsuite/ld-powerpc/notoc.d: Adjust.
+       * testsuite/ld-powerpc/notoc.wf: New file.
+       * testsuite/ld-powerpc/powerpc.exp: Run "ext" and "notoc" tests
+       as run_ld_link_tests rather than run_dump_test.
+
+2018-08-07  Martin Storsjo  <martin@martin.st>
+
+       * scripttempl/pe.sc: Improve the comment about overriding
+       __CTOR_LIST__ and __DTOR_LIST__ symbols.
+       * scripttemp/pep.sc: Likewise.
+
+2018-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * po/bg.po: Updated Bulgarian translation.
+
+2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/ld-arc/attr-merge-6.d: New file.
+       * testsuite/ld-arc/attr-merge-6a.s: Likewise.
+       * testsuite/ld-arc/attr-merge-6b.s: Likewise.
+       * testsuite/ld-arc/attr-merge-6bis.d: Likewise.
+
+2018-08-06  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * testsuite/ld-arc/attr-merge-0.d: Update test.
+       * testsuite/ld-arc/attr-merge-1.d: Likewise.
+       * testsuite/ld-arc/attr-merge-2.d: Likewise.
+       * testsuite/ld-arc/attr-merge-3.d: Likewise.
+       * testsuite/ld-arc/attr-merge-5.d: Likewise.
+
+2018-08-05  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/ext.d,
+       * testsuite/ld-powerpc/ext.s,
+       * testsuite/ld-powerpc/ext.lnk,
+       * testsuite/ld-powerpc/notoc.d,
+       * testsuite/ld-powerpc/notoc.s: New tests.
+       * testsuite/ld-powerpc/powerpc.exp: Run them.
+
+2018-08-05  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/elfv2exe.d: Adjust for stub symbol change.
+       * testsuite/ld-powerpc/tocopt6.d: Likewise.
+
+2018-08-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/property-x86-3.s: Use ".p2align 2" to
+       align .note.gnu.property section if __64_bit__ is undefined.
+
+2018-08-02  Nick Clifton  <nickc@redhat.com>
+
+       PR 23463
+       * testsuite/ld-plugin/pr12982.d: Revert previous delta.
+       * testsuite/ld-plugin/lto.exp: Skip the pr12982 test for HPPA
+       targets.
+
+2018-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog.
+
+2018-08-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/23460
+       * testsuite/ld-plugin/lto.exp: Run the PR binutils/23460 test.
+       * testsuite/ld-plugin/pr23460a.c: New file.
+       * testsuite/ld-plugin/pr23460b.c: Likewise.
+       * testsuite/ld-plugin/pr23460c.c: Likewise.
+       * testsuite/ld-plugin/pr23460d.c: Likewise.
+       * testsuite/ld-plugin/pr23460e.c: Likewise.
+       * testsuite/ld-plugin/pr23460f.c: Likewise.
+
+2018-08-01  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/ld-aarch64/ifunc-1-local.d: Adjust regexps to match
+       the offsets emitted by aarch64-elf configurations.
+       * testsuite/ld-aarch64/ifunc-1.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-2-local.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-2.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-21.d: Likewise.
+       * testsuite/ld-aarch64/ifunc-3a.d: Likewise.
+
+2018-08-01  Nick Clifton  <nickc@redhat.com>
+
+       PR 23463
+       * testsuite/ld-plugin/pr12982.d: Skip this test for the HPPA
+       target.
+
+2018-08-01  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with hash-style
+       specified.
+
+2018-08-01  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with plt alignment.
+       * testsuite/ld-powerpc/tlsopt5.s: Add extra call.
+       * testsuite/ld-powerpc/tlsopt5.wf: Adjust expected output.
+       * testsuite/ld-powerpc/tlsopt5.d: Likewise.
+
+2018-08-01  Alan Modra  <amodra@gmail.com>
+
+       * po/BLD-POTFILES.in: Regenerate.
+
+2018-07-30  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/elf.sc: Move the .gnu.build.attributes section to
+       after the .comment section.
+
+2018-07-30  Andrew Jenner  <andrew@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations.
+       (ecskyelf.c, ecskyelf_linux.c): New rules.
+       * Makefile.in: Regenerated.
+       * configure.tgt: Add C-SKY.
+       * emulparams/cskyelf.sh: New file.
+       * emulparams/cskyelf_linux.sh: New file.
+       * emultempl/cskyelf.em: New file.
+       * gen-doc.texi: Add C-SKY.
+       * ld.texi: Likewise.
+       (Options specific to C-SKY targets): New section.
+       * testsuite/ld-csky/*: New tests.
+       * NEWS: Mention the support.
+
+2018-07-30  Nick Clifton  <nickc@redhat.com>
+
+       * scripttempl/elf.sc: Place .gnu.build.attributes sections with
+       other read-only sections.
+
+2018-07-27  John Darrington  <john@darrington.wattle.id.au>
+
+       * scripttempl/elfm9s12z.sc: Put input sections called .common
+       into the .bss segment.
+
+2018-07-27  John Darrington  <john@darrington.wattle.id.au>
+
+       * scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
+
+2018-07-26  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/vxworks-relax-2.rd: Update for 2018-07-25
+       ppc_elf_relax_section changes.
+
+2018-07-26  Alan Modra  <amodra@gmail.com>
+
+       * ld-powerpc/elfv2.s: Add .localentry f5,1 testcase.
+       * ld-powerpc/elfv2exe.d: Update.
+       * ld-powerpc/elfv2so.d: Update.
+
+2018-07-25  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-powerpc/big.s: New file.
+       * testsuite/ld-powerpc/relaxrl.d: New test.
+       * testsuite/ld-powerpc/powerpc.exp: Run new test.
+       * testsuite/ld-powerpc/relaxr.d: Adjust.
+
+2018-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2018-07-23  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/coalesce.d: New file.
+       * testsuite/ld-xtensa/coalesce.exp: Remove file.
+       * testsuite/ld-xtensa/diff_overflow.d: New file.
+       * testsuite/ld-xtensa/diff_overflow.exp: Remove file.
+       * testsuite/ld-xtensa/lcall.d: New file.
+       * testsuite/ld-xtensa/lcall.exp: Remove file.
+       * testsuite/ld-xtensa/xtensa.exp (coalesce, diff_overflow)
+       (lcall): New tests.
+
+2018-07-23  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/relax-static-defs.s: New file.
+       * testsuite/ld-xtensa/relax-static-local-pie.d: New file.
+       * testsuite/ld-xtensa/relax-static-local-shared.d: New file.
+       * testsuite/ld-xtensa/relax-static-local.s: New file.
+       * testsuite/ld-xtensa/relax-static-pie.d: New file.
+       * testsuite/ld-xtensa/relax-static-shared.d: New file.
+       * testsuite/ld-xtensa/relax-static.s: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-local-pie.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-local-shared.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-local.s: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-pie.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak-shared.d: New file.
+       * testsuite/ld-xtensa/relax-undef-weak.s: New file.
+       * testsuite/ld-xtensa/xtensa.exp: New file.
+
+2018-07-23  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * testsuite/ld-xtensa/xtensa.exp: Rename to xtensa-linux.exp.
+
+2018-07-23  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/reloc-discard-warn.d: New.
+       * testsuite/ld-elf/reloc-discard.d: Skip test on PowerPC64.
+
+2018-07-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-elf/reloc-discard.ld: Discard .rel.* and .rela.*
+       sections instead of .rel.dyn and .rela.dyn sections.
+
+2018-07-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23428
+       * testsuite/ld-elf/linux-x86.S: New file.
+       * testsuite/ld-elf/linux-x86.exp: Likewise.
+       * testsuite/ld-elf/pr23428.c: Likewise.
+       * testsuite/ld-elf/sec64k.exp: Pass "-z noseparate-code" to ld
+       for Linux/x86 targets.
+       * testsuite/ld-i386/abs-iamcu.d: Likewise.
+       * testsuite/ld-i386/abs.d: Likewise.
+       * testsuite/ld-i386/pr12718.d: Likewise.
+       * testsuite/ld-i386/pr12921.d: Likewise.
+       * testsuite/ld-x86-64/abs-k1om.d: Likewise.
+       * testsuite/ld-x86-64/abs-l1om.d: Likewise.
+       * testsuite/ld-x86-64/abs.d: Likewise.
+       * testsuite/ld-x86-64/pr12718.d: Likewise.
+       * testsuite/ld-x86-64/pr12921.d: Likewise.
+       * testsuite/ld-linkonce/zeroeh.ld: Discard .note.gnu.property
+       section.
+       * testsuite/ld-scripts/print-memory-usage.t: Likewise.
+       * testsuite/ld-scripts/size-2.t: Likewise.
+       * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Use ld to
+       create executable if language is "asm".
+
+2018-07-20  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-elf/reloc-discard.d: New test.
+       * testsuite/ld-elf/reloc-discard.ld: New test linker script.
+       * testsuite/ld-elf/reloc-discard.s: New test source.
+
+2018-07-18  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2018-07-17  Maciej W. Rozycki  <macro@mips.com>
+
+       * ldexp.c (exp_fold_tree_1) <etree_assign, etree_provide>
+       <etree_provided>: Copy expression's `rel_from_abs' flag to the
+       link hash.
+
+2018-07-12  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp (run_dump_test_abi)
+       (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64)
+       (run_dump_test_eabi): New procedures.
+       (has_newabi, has_elf32): Remove variables.
+       (has_abi): New associative array variable.
+       (abi_asflags, abi_ldflags): Update settings across targets.
+       (irixemul): New variable.
+       Replace `run_dump_test' calls where applicable throughout with
+       `run_dump_test_o32', `run_dump_test_n32', `run_dump_test_n64'
+       and `run_dump_test_eabi' as appropriate.  Remove explicit
+       passing of `abi_asflags' and `abi_ldflags'.  Use `noarch' for
+       tests that require their own architecture setting.  Force the
+       big endianness for tests that require it.  Select the endianness
+       required for `objdump invocation with the `reloc-2' test.
+       Conditionalize tests run via `run_ld_link_tests' on the ABI
+       required and use the ABI list from the `has_abi' array where
+       appropriate.
+       * testsuite/ld-mips-elf/attr-gnu-4-0-n32-ph.d: Remove ABI and
+       endianness selection options from `ld' and `source' tags.  Relax
+       output format matching.
+       * testsuite/ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
+       * testsuite/ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: Remove
+       ABI and endianness selection options from `as', `ld', `source'
+       tags, and also the `-march=from-abi' option.  Remove the `as'
+       tag where it would become empty.
+       * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d:
+       Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-addend.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d:
+       Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d:
+       Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-local-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-local-n32.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-local-n64.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-local.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
+       Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
+       Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
+       Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
+       * testsuite/ld-mips-elf/bal-jalx-pic.d: Likewise.
+       * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: Likewise.
+       * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: Likewise.
+       * testsuite/ld-mips-elf/branch-absolute-addend.d: Likewise.
+       * testsuite/ld-mips-elf/branch-absolute-n32.d: Likewise.
+       * testsuite/ld-mips-elf/branch-absolute-n64.d: Likewise.
+       * testsuite/ld-mips-elf/branch-absolute.d: Likewise.
+       * testsuite/ld-mips-elf/dyn-sec64.d: Likewise.
+       * testsuite/ld-mips-elf/eh-frame1-n32.d: Likewise.
+       * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
+       * testsuite/ld-mips-elf/eh-frame2-n32.d: Likewise.
+       * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-got-n32-embed.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-got-n32.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-got-n64.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: Likewise.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
+       * testsuite/ld-mips-elf/emit-relocs-1.d: Likewise.
+       * testsuite/ld-mips-elf/got-dump-2.d: Likewise.
+       * testsuite/ld-mips-elf/got-page-2.d: Likewise.
+       * testsuite/ld-mips-elf/jal-global-overflow-0.d: Likewise.
+       * testsuite/ld-mips-elf/jal-global-overflow-1.d: Likewise.
+       * testsuite/ld-mips-elf/jal-local-overflow-0.d: Likewise.
+       * testsuite/ld-mips-elf/jal-local-overflow-1.d: Likewise.
+       * testsuite/ld-mips-elf/jalbal.d: Likewise.
+       * testsuite/ld-mips-elf/jalx-addend-n32.d: Likewise.
+       * testsuite/ld-mips-elf/jalx-addend-n64.d: Likewise.
+       * testsuite/ld-mips-elf/jalx-addend.d: Likewise.
+       * testsuite/ld-mips-elf/jalx-local-n32.d: Likewise.
+       * testsuite/ld-mips-elf/jalx-local-n64.d: Likewise.
+       * testsuite/ld-mips-elf/jalx-local.d: Likewise.
+       * testsuite/ld-mips-elf/jr-to-b-1.d: Likewise.
+       * testsuite/ld-mips-elf/jr-to-b-2.d: Likewise.
+       * testsuite/ld-mips-elf/lsi-4010-isa.d: Likewise.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
+       Likewise.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
+       Likewise.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
+       Likewise.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d:
+       Likewise.
+       * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d:
+       Likewise.
+       * testsuite/ld-mips-elf/micromips-branch-absolute.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-2.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-3.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d:
+       Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-absolute.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-addend-2.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-branch-addend-3.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-hilo-n32.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-0.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-1.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: Likewise.
+       * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: Likewise.
+       * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: Likewise.
+       * testsuite/ld-mips-elf/multi-got-1.d: Likewise.
+       * testsuite/ld-mips-elf/multi-got-hidden-1.d: Likewise.
+       * testsuite/ld-mips-elf/multi-got-hidden-2.d: Likewise.
+       * testsuite/ld-mips-elf/multi-got-no-shared.d: Likewise.
+       * testsuite/ld-mips-elf/no-shared-1-n32.d: Likewise.
+       * testsuite/ld-mips-elf/no-shared-1-n64.d: Likewise.
+       * testsuite/ld-mips-elf/no-shared-1-o32.d: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-2.d: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-3-error.d: Likewise.
+       * testsuite/ld-mips-elf/pic-and-nonpic-4-error.d: Likewise.
+       * testsuite/ld-mips-elf/pie-n32.d: Likewise.
+       * testsuite/ld-mips-elf/pie-n64.d: Likewise.
+       * testsuite/ld-mips-elf/pie-o32.d: Likewise.
+       * testsuite/ld-mips-elf/rel32-n32.d: Likewise.
+       * testsuite/ld-mips-elf/rel32-o32.d: Likewise.
+       * testsuite/ld-mips-elf/rel64.d: Likewise.
+       * testsuite/ld-mips-elf/relax-jalr-n32.d: Likewise.
+       * testsuite/ld-mips-elf/reloc-1-n32.d: Likewise.
+       * testsuite/ld-mips-elf/reloc-1-n64.d: Likewise.
+       * testsuite/ld-mips-elf/reloc-2.d: Likewise.
+       * testsuite/ld-mips-elf/reloc-3-n32.d: Likewise.
+       * testsuite/ld-mips-elf/reloc-local-overflow.d: Likewise.
+       * testsuite/ld-mips-elf/textrel-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
+       Likewise.
+       * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
+       * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
+
+2018-07-12  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Limit reloc 6 tests to
+       shared library targets.
+
+2018-07-11  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/tlsdyn-o32.d: Update test for dynamic
+       relocation removal.
+       * testsuite/ld-mips-elf/tlsdyn-o32.got: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-1.d: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-1.got: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-2.d: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-2.got: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-3.d: Likewise.
+       * testsuite/ld-mips-elf/tlsdyn-o32-3.got: Likewise.
+
+2018-07-11  Maciej W. Rozycki  <macro@mips.com>
+
+       PR ld/22570
+       * testsuite/ld-mips-elf/tlsbin-pie-o32.d: New test.
+       * testsuite/ld-mips-elf/tlsbin-pie-o32.got: New test.
+       * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: New test.
+       * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: New test.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2018-07-11  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/hash.d: Comment on mips xfail.
+       * testsuite/ld-gc/pr20022b.s: Use .data not .text.
+       * testsuite/ld-gc/pr20022.d: Remove xfails.
+       * testsuite/ld-scripts/fill.d: Revert most of last patch, but use
+       skip rather than notarget.
+       * testsuite/ld-scripts/fill16.d: Likewise.
+
+2018-07-10  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/mips-elf.exp: Limit export class call
+       relocation tests to shared library targets.
+
+2018-07-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (check_gc_sections_available): Return 0
+       for xgate.
+       * testsuite/ld-elf/elf.exp: Add xgate to pr21703 xfails.
+       * testsuite/ld-elf/shared.exp: Add xgate to pr21703 xfails.
+       * testsuite/ld-discard/extern.d: xfail xgate.
+       * testsuite/ld-discard/start.d: Likewise.
+       * testsuite/ld-discard/static.d: Likewise.
+       * testsuite/ld-elf/attributes.d: Likewise.
+       * testsuite/ld-elf/compressed1d.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/merge.d: Likewise.
+       * testsuite/ld-elf/merge2.d: Likewise.
+       * testsuite/ld-elf/merge3.d: Likewise.
+       * testsuite/ld-elf/orphan-10.d: Likewise.
+       * testsuite/ld-elf/orphan-9.d: Likewise.
+       * testsuite/ld-elf/orphan-region.d: Likewise.
+       * testsuite/ld-elf/orphan.d: Likewise.
+       * testsuite/ld-elf/orphan3.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/pr14156b.d: Likewise.
+       * testsuite/ld-elf/pr17550c.d: Likewise.
+       * testsuite/ld-elf/pr17550d.d: Likewise.
+       * testsuite/ld-elf/pr17615.d: Likewise.
+       * testsuite/ld-elf/pr20528a.d: Likewise.
+       * testsuite/ld-elf/pr20528b.d: Likewise.
+       * testsuite/ld-elf/pr21562a.d: Likewise.
+       * testsuite/ld-elf/pr21562b.d: Likewise.
+       * testsuite/ld-elf/pr21562c.d: Likewise.
+       * testsuite/ld-elf/pr21562d.d: Likewise.
+       * testsuite/ld-elf/pr21562i.d: Likewise.
+       * testsuite/ld-elf/pr21562j.d: Likewise.
+       * testsuite/ld-elf/pr21562k.d: Likewise.
+       * testsuite/ld-elf/pr21562l.d: Likewise.
+       * testsuite/ld-elf/pr21562m.d: Likewise.
+       * testsuite/ld-elf/pr21562n.d: Likewise.
+       * testsuite/ld-elf/pr22677.d: Likewise.
+       * testsuite/ld-elf/pr22836-1a.d: Likewise.
+       * testsuite/ld-elf/pr22836-1b.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.
+
+2018-07-10  Alan Modra  <amodra@gmail.com>
+
+       * emulparams/xgateelf.sh (TEMPLATE_NAME) Set to generic.
+       (EXTRA_EM_FILE): Set to genelf.
+
+2018-07-10  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/ld-elf/attributes.d: Use xfail rather than notarget.
+       * testsuite/ld-elf/hash.d: Likewise.
+       * testsuite/ld-elf/orphan-10.d: Likewise.
+       * testsuite/ld-elf/overlay.d: Likewise.
+       * testsuite/ld-elf/pr14926.d: Likewise.
+       * testsuite/ld-elf/pr17550d.d: Likewise.
+       * testsuite/ld-elf/pr19539.d: Likewise.
+       * testsuite/ld-elf/pr22319.d: Likewise.
+       * testsuite/ld-misc/defsym1.d: Likewise.
+       * testsuite/ld-pe/pr19803.d: Likewise.
+       * testsuite/ld-scripts/assign-loc.d: Likewise.
+       * testsuite/ld-scripts/defined4.d: Likewise.
+       * testsuite/ld-scripts/empty-address-1.d: Likewise.
+       * testsuite/ld-scripts/empty-address-2a.d: Likewise.
+       * testsuite/ld-scripts/empty-address-2b.d: Likewise.
+       * testsuite/ld-scripts/fill.d: Likewise.
+       * testsuite/ld-scripts/fill16.d: Likewise.
+       * testsuite/ld-scripts/pr14962.d: Likewise.
+       * testsuite/ld-scripts/pr14962-2.d: Likewise.
+       * testsuite/ld-unique/pr21529.d: Likewise.
+       * testsuite/ld-elf/compress1a.d: Likewise, and adjust targets.
+       * testsuite/ld-elf/compressed1a.d: Likewise.
+       * testsuite/ld-elf/compressed1d.d: Likewise.
+       * testsuite/ld-elf/compressed1e.d: Likewise.
+       * testsuite/ld-elf/eh5.d: Likewise.
+       * testsuite/ld-elf/group8a.d: Likewise.
+       * testsuite/ld-elf/linkonce2.d: Likewise.
+       * testsuite/ld-elf/orphan-9.d: Likewise.
+       * testsuite/ld-elf/pr17550a.d: Likewise.
+       * testsuite/ld-elf/pr17550b.d: Likewise.
+       * testsuite/ld-elf/pr17550c.d: Likewise.
+       * testsuite/ld-elf/pr19162.d: Likewise.
+       * testsuite/ld-elf/pr21884.d: Likewise.
+       * testsuite/ld-gc/pr19167.d: Likewise.
+       * testsuite/ld-gc/pr20022.d: Likewise.
+       * testsuite/ld-gc/start.d: Likewise.
+       * testsuite/ld-elf/orphan-11.d: Delete notarget.
+       * testsuite/ld-elf/orphan-12.d: Likewise.
+       * testsuite/ld-gc/stop.d: Likewise.
+       * testsuite/ld-scripts/empty-address-3a.d: Likewise.
+       * testsuite/ld-scripts/empty-address-3b.d: Likewise.
+       * testsuite/ld-ifunc/pr17154-x86-64-now.d: Delete duplicate notarget.
+       * testsuite/ld-scripts/section-match-1.d: Comment fix.
+
+2018-07-10  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/elf-rel-got-n64.d: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: ... this.
+       * testsuite/ld-mips-elf/elf-rel-got-n64-linux.d: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-got-n64.d: ... this.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: ... this.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.dd: Rename to...
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: ... this.
+       * testsuite/ld-mips-elf/mips-elf.exp: Update accordingly.
+       Define `irix' as a shorthand for `[istarget *-*-irix*]' and use
+       it throughout.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/elf-rel-got-n64.d: Add `#pass' at the
+       end.
+       * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/ld-mips-elf/stub-dynsym-2.dd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-2.gd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-2.sd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-discard-2.gd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-discard-2.sd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-2.dd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-2.gd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-2.sd: New test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.dd: New
+       test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.gd: New
+       test.
+       * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.sd: New
+       test.
+       * testsuite/ld-mips-elf/stub-dynsym-2.ld: New test linker
+       script.
+       * testsuite/ld-mips-elf/stub-dynsym-discard-2.ld: New test
+       linker script.
+       * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/lib/ld-lib.exp (run_dump_test): Call `unsupported'
+       if the target being tested has been excluded by means of one or
+       more of `target', `alltargets' and `notarget' tags.  Add support
+       for `skip', `anyskip' and `noskip' tags.
+
+2018-07-09  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/lib/ld-lib.exp (run_dump_test): Move the setting of
+       `testname' earlier on and use it for test status reporting.
+
 2018-07-09  Alan Modra  <amodra@gmail.com>
 
        * testsuite/ld-discard/extern.d: Remove m68hc12 xfail.
This page took 0.037086 seconds and 4 git commands to generate.