+2020-06-04 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-plugin/lto.exp (pr12758.exe): Add NOPIE_LDFLAGS.
+ * testsuite/ld-unique/unique.exp: Add NOPIE_LDFLAGS to unique
+ executable and dynamic executable tests.
+
+2020-06-03 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/config/default.exp (NOSANTIZE_CFLAGS): New.
+ * testsuite/ld-elf/linux-x86.exp: Add $NOSANTIZE_CFLAGS to
+ tests with run_ld_link_exec_tests.
+ * testsuite/ld-elf/shared.exp: Add $NOSANTIZE_CFLAGS to tests
+ with run_ld_link_tests.
+ * testsuite/ld-elf/tls.exp: Likewise.
+ * testsuite/ld-elfweak/elfweak.exp: Add $NOSANTIZE_CFLAGS to
+ tests with ld_link.
+ * testsuite/ld-gc/gc.exp: Add $NOSANTIZE_CFLAGS to cflags.
+ * testsuite/ld-plugin/lto.exp: Add $NOSANTIZE_CFLAGS to tests
+ with run_ld_link_tests.a
+ * testsuite/ld-plugin/plugin.exp: Append $NOSANTIZE_CFLAGS to
+ CFLAGS.
+ * testsuite/ld-selective/selective.exp: Add $NOSANTIZE_CFLAGS
+ to cflags and cxxflags.
+ * testsuite/ld-srec/srec.exp: Append $NOSANTIZE_CFLAGS to CC
+ and CXX.
+ * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Updated for
+ -fsanitize=undefined.
+ * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise.
+ * testsuite/ld-x86-64/x86-64.exp: Add $NOSANTIZE_CFLAGS to
+ tests with run_cc_link_tests and run_ld_link_tests.
+
+2020-06-03 Fangrui Song <maskray@google.com>
+ H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/25910
+ * NEWS: Mention --export-dynamic-symbol[-list].
+ * ld.texi: Document --export-dynamic-symbol[-list].
+ * ldgram.y: Pass current_dynamic_list_p to
+ lang_append_dynamic_list.
+ * ldlang.c (current_dynamic_list_p): New.
+ (ang_append_dynamic_list): Updated to take a pointer to
+ struct bfd_elf_dynamic_list * argument instead of using
+ link_info.dynamic_list.
+ (lang_append_dynamic_list_cpp_typeinfo): Pass
+ &link_info.dynamic_list to ang_append_dynamic_list.
+ (lang_append_dynamic_list_cpp_new): Likewise.
+ * ldlang.h (current_dynamic_list_p): New.
+ (lang_append_dynamic_list): Add a pointer to
+ struct bfd_elf_dynamic_list * argument.
+ * ldlex.h (option_values): Add OPTION_EXPORT_DYNAMIC_SYMBOL and
+ OPTION_EXPORT_DYNAMIC_SYMBOL_LIST.
+ * lexsup.c (ld_options): Add entries for
+ OPTION_EXPORT_DYNAMIC_SYMBOL and
+ OPTION_EXPORT_DYNAMIC_SYMBOL_LIST.
+ (parse_args): Handle --export-dynamic-symbol and
+ --export-dynamic-symbol-list.
+ * testsuite/ld-dynamic/export-dynamic-symbol-1.d: New.
+ * testsuite/ld-dynamic/export-dynamic-symbol-2.d: New.
+ * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: New.
+ * testsuite/ld-dynamic/export-dynamic-symbol-list-1.d: New.
+ * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: New.
+ * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: New.
+ * testsuite/ld-dynamic/export-dynamic-symbol.exp: New.
+ * testsuite/ld-dynamic/export-dynamic-symbol.s: New.
+ * testsuite/ld-dynamic/foo-bar.list: New.
+ * testsuite/ld-dynamic/foo.list: New.
+ * testsuite/ld-dynamic/foo.s: New.
+ * testsuite/ld-dynamic/fstar.list: New.
+ * testsuite/ld-elf/dlempty.list: New.
+ * testsuite/ld-elf/shared.exp: Add tests for
+ --export-dynamic-symbol and --export-dynamic-symbol-list.
+
+2020-06-03 Jan Beulich <jbeulich@suse.com>
+
+ * testsuite/ld-elf/linux-x86.exp: Make copied source files
+ writeable.
+
+2020-05-28 Nick Clifton <nickc@redhat.com>
+
+ PR 26047
+ * ldelf.c (ldelf_after_open): Fail if attempting to link one
+ executable into another. Ensure that the test is made for all
+ forms of linking.
+
+2020-05-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ * NEWS: Mention --enable-textrel-check=yes is default for
+ Linux/x86 targets.
+ * configure.tgt (ac_default_ld_textrel_check): Set to yes if
+ unset for Linux/x86 targets.
+
+2020-05-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/20824
+ * NEWS: Mention --enable-textrel-check=[no|yes|warning|error].
+ * configure.ac: Add --enable-textrel-check=[no|yes|warning|error].
+ (DEFAULT_LD_TEXTREL_CHECK): New AC_DEFINE_UNQUOTED.
+ (DEFAULT_LD_TEXTREL_CHECK_WARNING): Likewise.
+ * ldmain.c (main): Initialize link_info.textrel_check to
+ DEFAULT_LD_TEXTREL_CHECK.
+ * lexsup.c (ld_options): Check DEFAULT_LD_TEXTREL_CHECK_WARNING.
+ * config.in: Regenerated.
+ * configure: Likewise.
+
+2020-05-28 Nick Clifton <nickc@redhat.com>
+
+ * lexsup.c (parse_args): Generate an error if a name is not
+ provided to the -Map option.
+ (ld_options): Mention that the -Map option supports a directory
+ name as an argument.
+ * NEWS: Remove mention of support for an empty string as an
+ argument to -Map.
+ * ld.texi: Likewise.
+
+2020-05-27 Hans-Peter Nilsson <hp@axis.com>
+
+ PR ld/22909
+ * testsuite/ld-elf/pr19539.d: Don't xfail for cris*-*-*.
+
+2020-05-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
+ Nick Clifton <nickc@redhat.com>
+
+ * lexsup.c (parse_args): If the map filename is defined but empty
+ create a name based upon the output file name. If the name is
+ defined but refers to a directory create a file inside the
+ directory based on the output file name.
+ * ld.texi: Document the new feature.
+ * testsuite/ld-script/map-address.exp: Add test of new feature.
+ * NEWS: Mention the new feature.
+
+2020-05-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/22909
+ * NEWS: Mention --warn-textrel.
+ * ld.texi: Update -z text/notext/textoff. Add --warn-textrel.
+ Remove --warn-shared-textrel.
+ * ldlex.h (option_values): Rename OPTION_WARN_SHARED_TEXTREL to
+ OPTION_WARN_TEXTREL.
+ * lexsup.c (ld_options): Add --warn-textrel. Obsolete
+ --warn-shared-textrel.
+ (parse_args): Updated.
+ (elf_shlib_list_options): Check link_info.textrel_check.
+ * emultempl/elf.em: Updated.
+ * testsuite/ld-elf/pr19539.d: Replace -z notext with
+ --warn-textrel. Expect a warning.
+ * testsuite/ld-i386/warn1.d: Update expected warning.
+
+2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-ifunc/ifunc-23a-x86.d: Skip *-*-lynxos *-*-nto*.
+ * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
+ * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
+
2020-05-25 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-x86-64/x86-64.exp: Pass -z notext to linker.