ld: Enable --warn-textrel by default for Linux/x86 targets
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 3fd9b7457ee87d3fbb1c923e8576fe5e27db2f64..01a281c968f6a75ccf0c92786faacafd32082722 100644 (file)
@@ -1,3 +1,47 @@
+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>
+
+       * 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
This page took 0.024125 seconds and 4 git commands to generate.