+2017-08-30 Hans-Peter Nilsson <hp@axis.com>
+
+ * testsuite/ld-cris/dso-pltdis1.d: Run ld with --hash-style=sysv.
+ * testsuite/ld-cris/dso-pltdis2.d,
+ testsuite/ld-cris/dso12-pltdis.d, testsuite/ld-cris/expdyn1.d,
+ testsuite/ld-cris/expdyn5.d, testsuite/ld-cris/expdyn6.d,
+ testsuite/ld-cris/expdyn7.d, testsuite/ld-cris/gotplt1.d,
+ testsuite/ld-cris/gotplt2.d, testsuite/ld-cris/gotplt3.d,
+ testsuite/ld-cris/hiddef1.d, testsuite/ld-cris/libdso-11.d,
+ testsuite/ld-cris/libdso-12.d, testsuite/ld-cris/libdso-12b.d,
+ testsuite/ld-cris/libdso-12c.d, testsuite/ld-cris/libdso-13.d,
+ testsuite/ld-cris/libdso-13b.d, testsuite/ld-cris/libdso-14.d,
+ testsuite/ld-cris/libdso-15.d, testsuite/ld-cris/libdso-15b.d,
+ testsuite/ld-cris/libdso-1b.d, testsuite/ld-cris/libdso-1c.d,
+ testsuite/ld-cris/libdso-1d.d, testsuite/ld-cris/libdso-4.d,
+ testsuite/ld-cris/pr16044.d, testsuite/ld-cris/pv32-1.d,
+ testsuite/ld-cris/tls-dso-dtpoffd2.d,
+ testsuite/ld-cris/tls-dso-dtpoffd4.d,
+ testsuite/ld-cris/tls-dso-tpoffgotcomm1.d,
+ testsuite/ld-cris/tls-dso-x1x2-1.d, testsuite/ld-cris/tls-gc-71.d,
+ testsuite/ld-cris/tls-ie-78.d, testsuite/ld-cris/tls-js1.d,
+ testsuite/ld-cris/tls-ldgdex-14.d,
+ testsuite/ld-cris/tls-ldgdex-15.d,
+ testsuite/ld-cris/tls-legdx-16.d,
+ testsuite/ld-cris/tls-legdx-17.d,
+ testsuite/ld-cris/tls-local-63.d,
+ testsuite/ld-cris/tls-local-64.d, testsuite/ld-cris/tls-ok-30.d,
+ testsuite/ld-cris/tls-ok-32.d, testsuite/ld-cris/tls-ok-34.d,
+ testsuite/ld-cris/tls-und-38.d, testsuite/ld-cris/tls-und-42.d,
+ testsuite/ld-cris/tls-und-46.d, testsuite/ld-cris/tls-und-50.d,
+ testsuite/ld-cris/weakref2.d, testsuite/ld-cris/weakref3.d,
+ testsuite/ld-cris/weakref4.d: Likewise.
+
+2017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com>
+
+ * emultempl/msp430.em (change_output_section): New function.
+ (move_prefixed_section): New function.
+ (add_region_prefix): New function.
+ (msp430_elf_after_open): New function.
+ (gld${EMULATION_NAME}_add_options): Implement.
+ (gld${EMULATION_NAME}_list_options): Implement.
+ (gld${EMULATION_NAME}_handle_option): Implement.
+ * ld.texinfo: Document new options.
+ * testsuite/ld-msp430-elf/main-bss-lower.d: New.
+ * testsuite/ld-msp430-elf/main-bss-upper.d: New.
+ * testsuite/ld-msp430-elf/main-const-lower.d: New.
+ * testsuite/ld-msp430-elf/main-const-upper.d: New.
+ * testsuite/ld-msp430-elf/main-text-lower.d: New.
+ * testsuite/ld-msp430-elf/main-text-upper.d: New.
+ * testsuite/ld-msp430-elf/main-var-lower.d: New.
+ * testsuite/ld-msp430-elf/main-var-upper.d: New.
+ * testsuite/ld-msp430-elf/main-with-data-bss-unique-sec.s: New.
+ * testsuite/ld-msp430-elf/main-with-data-bss.s: New.
+ * testsuite/ld-msp430-elf/main-with-text-rodata-unique-sec.s: New.
+ * testsuite/ld-msp430-elf/main-with-text-rodata.s: New.
+ * testsuite/ld-msp430-elf/msp430-elf.exp: New.
+ * testsuite/ld-msp430-elf/msp430-no-lower.ld: New.
+ * testsuite/ld-msp430-elf/msp430.ld: New.
+ * emultempl/msp430.em (data_statement_size): New.
+ (eval_upper_either_sections): New.
+ (eval_lower_either_sections): New.
+ (intermediate_relax_sections): New.
+ (msp430_elf_after_allocation): New.
+ * emultempl/msp430.em (gld${EMULATION_NAME}_place_orphan): Always
+ place sections in the lower region.
+
+2017-08-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/21997
+ * testsuite/ld-i386/i386.exp: Run PR ld/21997 tests.
+ * testsuite/ld-x86-64/x86-64.exp: Likewise.
+ * testsuite/ld-i386/pr21997-1a.S: New file.
+ * testsuite/ld-i386/pr21997-1b.c: Likewise.
+ * testsuite/ld-i386/pr21997-1c.S: Likewise.
+ * testsuite/ld-x86-64/pr21997-1a.S: Likewise.
+ * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
+ * testsuite/ld-x86-64/pr21997-1b.c: Likewise.
+ * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
+ * testsuite/ld-x86-64/pr21997-1c.c: Likewise.
+
+2017-08-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/pr21903c.d: Remove '\' before --.
+ * testsuite/ld-elf/pr21903d.d: Likewise.
+ * testsuite/ld-elf/pr21903e.d: Likewise.
+ * testsuite/lib/ld-lib.exp (run_dump_test): Add "--" after
+ regexp.
+
+2017-08-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-i386/i386.exp (undefined_weak): Replace regexp
+ with string match.
+ * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Likewise.
+
+2017-08-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-x86-64/x86-64.exp: Run pr22001-1b on x32.
+
+2017-08-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/22001
+ * testsuite/ld-i386/i386.exp: Run -z nocopyreloc tests.
+ * testsuite/ld-x86-64/x86-64.exp: Likewise.
+ * testsuite/ld-i386/pr22001-1a.c: New file.
+ * testsuite/ld-i386/pr22001-1b.c: Likewise.
+ * testsuite/ld-i386/pr22001-1c.S: Likewise.
+ * testsuite/ld-x86-64/pr22001-1a.c: Likewise.
+ * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
+ * testsuite/ld-x86-64/pr22001-1b.c: Likewise.
+ * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
+ * testsuite/ld-x86-64/pr22001-1c.c: Likewise.
+
+2017-08-17 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ PR 21961
+ * ldlang.c (lang_discard_section_p): New function.
+ (lang_add_section): Checks moved out into new function, which is
+ now called.
+ (lang_place_orphans): Call lang_discard_section_p instead of
+ duplicating some of the checks from lang_add_section.
+ * testsuite/ld-elf/orphan-11.d: New file.
+ * testsuite/ld-elf/orphan-11.ld: New file.
+ * testsuite/ld-elf/orphan-11.s: New file.
+ * testsuite/ld-elf/orphan-12.d: New file.
+ * testsuite/ld-elf/orphan-12.s: New file.
+
+2017-08-24 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-undefined/fundef.s: New test.
+ * testsuite/ld-undefined/undefined.exp: Test that undefined
+ symbols in shared libraries are made dynamic.
+
+2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/pr21903c.d: Add '\' before --.
+ * testsuite/ld-elf/pr21903d.d: Likewise.
+ * testsuite/ld-elf/pr21903e.d: Likewise.
+
+2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-x86-64/pie2.d: Updated.
+ * testsuite/ld-x86-64/pr19719.d: Likewise.
+ * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
+ * testsuite/ld-x86-64/pr19969.d: Likewise.
+
+2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-i386/i386.exp: Run protected7.
+ * testsuite/ld-i386/protected7.d: New file.
+ * testsuite/ld-i386/protected7.s: Likewise.
+ * testsuite/ld-x86-64/protected8.d: Likewise.
+ * testsuite/ld-x86-64/protected8.s: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Run protected8.
+
+2017-08-23 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-gc/pr19161.d: Don't xfail hppa.
+
+2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
+ Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-elf/pr21964-1a.c (foo): Renamed to ...
+ (foo1): This.
+ * testsuite/ld-elf/pr21964-1b.c: Rewrite.
+ * testsuite/ld-elf/pr21964-1c.c: New file.
+ * testsuite/ld-elf/pr21964-2c.c: Likewise.
+ * testsuite/ld-elf/pr21964-2a.c (foo): Renamed to ...
+ (foo1): This.
+ * testsuite/ld-elf/pr21964-2b.c: Rewrite.
+ * testsuite/ld-elf/shared.exp: Update PR ld/21964 tests.
+
+2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
+ Alan Modra <amodra@gmail.com>
+
+ PR ld/21964
+ * testsuite/ld-elf/pr21562a.d: Update for changed start/stop symbols.
+ * testsuite/ld-elf/pr21562b.d: Likewise.
+ * testsuite/ld-elf/pr21562c.d: Likewise.
+ * testsuite/ld-elf/pr21562d.d: Likewise.
+ * testsuite/ld-elf/pr21562e.d: Likewise.
+ * testsuite/ld-elf/pr21562f.d: Likewise.
+ * testsuite/ld-elf/pr21562g.d: Likewise.
+ * testsuite/ld-elf/pr21562h.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/sizeofa.d: Likewise.
+ * testsuite/ld-elf/sizeofb.d: Likewise.
+ * testsuite/ld-elf/startofa.d: Likewise.
+ * testsuite/ld-elf/startofb.d: Likewise.
+ * testsuite/ld-gc/pr20022.d: Likewise.
+ * testsuite/ld-gc/start.d: Likewise.
+ * testsuite/ld-elf/pr21964-1a.c: New file.
+ * testsuite/ld-elf/pr21964-1b.c: New file.
+ * testsuite/ld-elf/pr21964-2a.c: New file.
+ * testsuite/ld-elf/pr21964-2b.c: New file.
+ * testsuite/ld-elf/shared.exp: Run PR ld/21964 tests.
+
+2017-08-21 Hans-Peter Nilsson <hp@bitrange.com>
+
+ PR ld/20125
+ * testsuite/ld-mmix/pr20125.d, testsuite/ld-mmix/pr20125.s: New
+ test.
+
+2017-08-20 A. Wilcox <awilfox@adelielinux.org>
+
+ PR ld/21976
+ * testsuite/ld-x86-64/plt-main-bnd.dd: Accept '_' in symbol
+ name.
+
+2017-08-17 Nick Clifton <nickc@redhat.com>
+
+ * po/pt_BR.po: New Brazilian Portuguese translation.
+ * configure.ac (ALL_LINGUAS): Add pt_BR.
+ * configure: Regenerate.
+
+2017-08-14 Alan Modra <amodra@gmail.com>
+
+ PR 21441
+ * testsuite/ld-x86-64/pr21038a.d: Adjust.
+ * testsuite/ld-x86-64/pr21038a-now.d: Adjust.
+
+2017-08-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-i386/i386.exp: Run pr21884-nacl.
+ * testsuite/ld-x86-64/x86-64.exp: Likewise.
+ * testsuite/ld-i386/pr21884.d: Don't run on nacl targets.
+ * testsuite/ld-x86-64/pr21884.d: Likewise.
+ * testsuite/ld-i386/pr21884.t: Revert the last change.
+ * testsuite/ld-x86-64/pr21884.t: Likewise.
+ * testsuite/ld-i386/pr21884-nacl.d: New file.
+ * testsuite/ld-i386/pr21884-nacl.t: Likewise.
+ * testsuite/ld-x86-64/pr21884-nacl.d: Likewise.
+ * testsuite/ld-x86-64/pr21884-nacl.t: Likewise.
+
+2017-08-13 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-i386/pr21884.t: Remove unneeded format, arch and entry.
+ * testsuite/ld-x86-64/pr21884.t: Likewise.
+
+2017-08-11 Nick Clifton <nickc@redhat.com>
+
+ * emultempl/elf32.em (handle_option): Accept the -z globalaudit
+ command line option.
+ * lexsup.c (elf_static_list_options): Add -z globalaudit.
+ * ld.texinfo: Document the support for the new command line
+ option.
+ * NEWS: Mention the new feature.
+ * testsuite/ld-elf/audit.exp: Add a test of the -z globalaudit
+ command line option.
+ * testsuite/ld-elf/globalaudit.rd: New file: Expected output from
+ readelf.
+
+2017-08-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/21884
+ * testsuite/ld-i386/i386.exp: Run pr21884.
+ * testsuite/ld-x86-64/x86-64.exp: Likewise.
+ * testsuite/ld-i386/pr21884.d: New file.
+ * testsuite/ld-i386/pr21884.t: Likewise.
+ * testsuite/ld-x86-64/pr21884.d: Likewise.
+ * testsuite/ld-x86-64/pr21884.t: Likewise.
+
+2017-08-10 Nick Clifton <nickc@redhat.com>
+
+ * scripttempl/pep.sc: Enclose __CTOR_LIST__, ___CTOR_LIST__,
+ __DTOR_LIST__ and ___DTOR_LIST__ in PROVIDE statements so that
+ they can be overrridden by crt input files.
+ * scripttempl/pe.sc: Likewise.
+
+2017-08-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/config/default.exp (LD_CLASS): Check .libs/ld-new
+ for linker first.
+
+2017-08-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/config/default.exp (LD_CLASS): New. Set to "64bit"
+ for 64-bit ELF linker.
+ * testsuite/ld-x86-64/pr17618.d (#notarget): Removed.
+ * testsuite/ld-x86-64/x86-64.exp: Run pr17618 only for 64-bit
+ linker.
+
+2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/21924
+ * testsuite/ld-i386/i386.exp: Require GCC 5 or above for
+ "weakundef1 with PIE" test.
+ * testsuite/ld-x86-64/tls.exp: Require GCC 5 or above for
+ "tlsdesc1" and "tlsdesc1 with PIE" tests.
+
+2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath.
+ * configure: Regenerated.
+
+2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/21923
+ * configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath
+ for --disable-static.
+ * configure: Regenerated.
+
2017-08-08 Romain Geissler <romain.geissler@gmail.com>
Alan Modra <amodra@gmail.com>