+2018-11-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/23854
+ * testsuite/ld-i386/i386.exp: Run pr23854.
+ * testsuite/ld-x86-64/x86-64.exp: Likewwise.
+ * testsuite/ld-i386/pr23854.d: New file.
+ * testsuite/ld-i386/pr23854.s: Likewwise.
+ * testsuite/ld-i386/pr23854.d: Likewwise.
+ * testsuite/ld-x86-64/pr23854.d: Likewwise.
+ * testsuite/ld-x86-64/pr23854.s: Likewwise.
+
+2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
+
+ * testsuite/lib/ld-lib.exp (check_shared_lib_support): Moved to
+ binutils-common.exp.
+
+2018-10-29 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (load_symbols): When -t, print file names for script
+ files and archives.
+ * ldmain.c (trace_files): Make an int.
+ (add_archive_element): Print archive elements only with multiple
+ -t options, or when archive is thin.
+ * ldmain.h (trace_files): Update.
+ * ldmisc.c (vfinfo): Don't print both original path and path in
+ sysroot.
+ * lexsup.c (parse_args <t>): Increment trace_files.
+
+2018-10-29 Alan Modra <amodra@gmail.com>
+
+ * ldmain.c (main): Print emulation mode and "deleting executable"
+ for --verbose, not --trace.
+ (add_archive_element): Only print "no new IR symbols" for --verbose.
+
+2018-10-29 Alan Modra <amodra@gmail.com>
+
+ * ldmain.c (get_sysroot): Return "" for "--sysroot=/".
+
+2018-10-29 Alan Modra <amodra@gmail.com>
+
+ * Makefile.am (ei386beos.c, ei386go32.c): Correct dependencies.
+ * Makefile.in: Regenerate.
+ * scripttempl/elf.sc (.note.gnu.build-id, .eh_frame_hdr): Set
+ address with ${RELOCATING-0}.
+ * scripttempl/arclinux.sc: Likewise.
+ * scripttempl/armbpabi.sc: Likewise.
+ * scripttempl/avr.sc: Likewise.
+ * scripttempl/elf64hppa.sc: Likewise.
+ * scripttempl/elf_chaos.sc: Likewise.
+ * scripttempl/elfarc.sc: Likewise.
+ * scripttempl/elfxtensa.sc: Likewise.
+ * scripttempl/mep.sc: Likewise.
+ * scripttempl/nds32elf.sc: Likewise.
+ * scripttempl/pru.sc: Likewise.
+ * scripttempl/elf32msp430.sc: Likewise, and for other sections.
+ * scripttempl/epiphany_4x4.sc: Similarly.
+
+2018-10-26 Christoph Conrads <christoph.conrads@fluent.ai>
+
+ * ld.texi (--gc-sections): Update.
+
+2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23818
+ * testsuite/ld-plugin/lto.exp: Run PR ld/23818 test.
+ * testsuite/ld-plugin/pr23818.d: New file.
+ * testsuite/ld-plugin/pr23818.t: Likewise.
+ * testsuite/ld-plugin/pr23818a.c: Likewise.
+ * testsuite/ld-plugin/pr23818b.c: Likewise.
+
+2018-10-23 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-elf/shared.exp: Don't build pr19073 test on alpha.
+ * testsuite/ld-elf/pr18720b.c: Don't use .set on alpha.
+
+2018-10-20 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (lang_end): Don't error if no --entry or --undefined
+ is given with -r -gc-sections if --gc-keep-exported.
+
+2018-10-15 Jim Wilson <jimw@sifive.com>
+
+ * emulparams/elf32lriscv-defs.sh (DATA_START_SYMBOLS): New.
+ (SDATA_START_SYMBOLS): Define __SDATA_BEGIN__. Don't define
+ __global_pointer$.
+ (OTHER_END_SYMBOLS): New. Define __global_pointer$.
+ * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d (#ld): Add --no-relax.
+
+2018-10-15 Alan Modra <amodra@gmail.com>
+
+ PR 23534
+ * ldmain.c (main): Exit with fatal error if bfd_init returns
+ an unexpected value.
+
+2018-10-13 Alan Modra <amodra@gmail.com>
+
+ * Makefile.am (eelf32btsmip_fbsd.c, eelf32btsmipn32_fbsd.c),
+ (eelf32epiphany.c, eelf32epiphany_4x4.c, eelf32ltsmip_fbsd.c),
+ (eelf32ltsmipn32_fbsd.c, eelf32xc16x.c, eelf32xc16xl.c),
+ (eelf32xc16xs.c, emcorepe.c, enios2elf.c, enios2linux.c),
+ (eelf64btsmip_fbsd.c, eelf64ltsmip_fbsd.c): Correct dependencies.
+ * Makefile.in: Regenerate.
+ * emulparams/aarch64cloudabi.sh, * emulparams/aarch64fbsd.sh,
+ * emulparams/aarch64linux.sh, * emulparams/aarch64linux32.sh,
+ * emulparams/arc-nps.sh, * emulparams/elf32_spu.sh,
+ * emulparams/elf32_tic6x_le.sh, * emulparams/elf32bmip.sh,
+ * emulparams/elf32btsmipn32.sh, * emulparams/elf32lr5900n32.sh,
+ * emulparams/elf32mep.sh, * emulparams/elf32metag.sh,
+ * emulparams/elf64btsmip.sh, * emulparams/shelf_vxworks.sh,
+ * emulparams/shlelf_fd.sh, * scripttempl/DWARF.sc,
+ * scripttempl/alpha.sc, * scripttempl/alphavms.sc,
+ * scripttempl/arclinux.sc, * scripttempl/armbpabi.sc,
+ * scripttempl/avr.sc, * scripttempl/dlx.sc, * scripttempl/elf.sc,
+ * scripttempl/elf32cr16.sc, * scripttempl/elf32cr16c.sc,
+ * scripttempl/elf32crx.sc, * scripttempl/elf32msp430.sc,
+ * scripttempl/elf32msp430_3.sc, * scripttempl/elf32xc16x.sc,
+ * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
+ * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
+ * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
+ * scripttempl/elfd10v.sc, * scripttempl/elfd30v.sc,
+ * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
+ * scripttempl/elfm9s12z.sc, * scripttempl/elfmicroblaze.sc,
+ * scripttempl/elfxgate.sc, * scripttempl/elfxtensa.sc,
+ * scripttempl/epiphany_4x4.sc, * scripttempl/ft32.sc,
+ * scripttempl/hppaelf.sc, * scripttempl/ia64vms.sc,
+ * scripttempl/ip2k.sc, * scripttempl/iq2000.sc,
+ * scripttempl/mep.sc, * scripttempl/mmo.sc,
+ * scripttempl/nds32elf.sc, * scripttempl/pru.sc,
+ * scripttempl/sh.sc, * scripttempl/v850.sc,
+ * scripttempl/v850_rh850.sc, * scripttempl/visium.sc,
+ * scripttempl/xstormy16.sc: Condition various parts of scripts on
+ ${RELOCATABLE} in order to prevent ld -r merging sections or
+ defining symbols. Remove MEMORY and VERSION definitions from
+ ld -r scripts too.
+ * testsuite/ld-elf/group2.d, * testsuite/ld-elf/group4.d,
+ * testsuite/ld-elf/group5.d, * testsuite/ld-elf/group6.d,
+ * testsuite/ld-elf/group7.d, * testsuite/ld-elf/group8a.d,
+ * testsuite/ld-elf/group8b.d, * testsuite/ld-elf/group9a.d,
+ * testsuite/ld-elf/group9b.d, * testsuite/ld-elf/pr17550a.d,
+ * testsuite/ld-elf/pr17550b.d,
+ * testsuite/ld-elf/pr17550d.d: Don't xfail cr16 and crx.
+ * testsuite/ld-elf/init-fini-arrays.d,
+ * testsuite/ld-elf/pr22677.d: Likewise, and dont' xfail mep.
+
+2018-10-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23428
+ * testsuite/ld-i386/property-x86-4a.d: Updated.
+ * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
+ * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
+
+2018-10-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23658
+ * ldlang.c (lang_insert_orphan): Properly group and place orphan
+ note sections. Properly handle orphan note section before all
+ note sections.
+ * testsuite/ld-elf/pr23658-1.d: Renamed to ...
+ * testsuite/ld-elf/pr23658-1a.d: This. Updated.
+ * testsuite/ld-elf/pr23658-1b.d: New test.
+ * testsuite/ld-elf/pr23658-1c.d: Likewise.
+
+2018-10-08 Alan Modra <amodra@gmail.com>
+
+ * ldexp.c (fold_name <SIZEOF_HEADERS>): Set link_info.load_phdrs.
+ * testsuite/ld-elf/loadaddr1.d: Pass -z noseparate-code.
+ * testsuite/ld-elf/loadaddr2.d: Likewise.
+ * testsuite/ld-i386/vxworks2.sd: Adjust expected output.
+ * testsuite/ld-powerpc/vxworks2.sd: Likewise.
+ * testsuite/ld-elf/overlay.d: Remove spu xfail.
+ * testsuite/ld-spu/ovl.lnk: Don't use SIZEOF_HEADERS.
+ * testsuite/ld-tic6x/dsbt-be.ld: Likewise.
+ * testsuite/ld-tic6x/dsbt-inrange.ld: Likewise.
+ * testsuite/ld-tic6x/dsbt-overflow.ld: Likewise.
+ * testsuite/ld-tic6x/dsbt.ld: Likewise.
+
+2018-10-08 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (insert_os_after): Clear ignore_first on assignment to
+ dot, not any assignment. Clear ignore_first on output section
+ statement contents too.
+ * testsuite/ld-elf/pr19539.d: Remove alpha xfail.
+
+2018-10-08 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-elf/pr22423.d: Pass --dynamic-linker to ld.
+
+2018-10-05 Richard Henderson <rth@twiddle.net>
+
+ * testsuite/ld-or1k/or1k.exp: Add test cases for plt generation.
+ * testsuite/ld-or1k/plt1.dd: New file.
+ * testsuite/ld-or1k/plt1.s: New file.
+ * testsuite/ld-or1k/plt1.x.dd: New file.
+ * testsuite/ld-or1k/plta1.dd: New file.
+ * testsuite/ld-or1k/plta1.s: New file.
+ * testsuite/ld-or1k/pltlib.s: New file.
+
2018-10-05 Richard Henderson <rth@twiddle.net>
* testsuite/ld-or1k/offsets1.d: New file.