ld: Enable --warn-textrel by default for Linux/x86 targets
[deliverable/binutils-gdb.git] / ld / ChangeLog
index fa0510d8bf627cdc250583be9177b41205536889..01a281c968f6a75ccf0c92786faacafd32082722 100644 (file)
@@ -1,3 +1,36 @@
+2020-05-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt (ac_default_ld_textrel_check): Set to 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>
 
This page took 0.039745 seconds and 4 git commands to generate.