ld: correct description of behavior for symbols redefined by script
authorJan Beulich <jbeulich@suse.com>
Thu, 25 Feb 2021 13:35:29 +0000 (14:35 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Feb 2021 13:35:29 +0000 (14:35 +0100)
Prior to 89753bbf8102 ("Warn when a script redefines a symbol") there
was no diagnostic at all. As of that commit, it's a warning, not an
error.

ld/ChangeLog
ld/ld.texi

index 2339a4014cdfe932c177f3e1553ac923701e6466..a94be7526b4ac5ed3f4e2db686d098b729402d5c 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-25  Jan Beulich  <jbeulich@suse.com>
+
+       * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
+
 2021-02-21  Alan Modra  <amodra@gmail.com>
 
        * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
index bfe6c5994a1b238af79a425c5487567a97956543..9643818e3ed3a745d085549cc0a4b873cce90ecf 100644 (file)
@@ -4447,8 +4447,8 @@ SECTIONS
 @end smallexample
 
 In this example, if the program defines @samp{_etext} (with a leading
-underscore), the linker will give a multiple definition error.  If, on
-the other hand, the program defines @samp{etext} (with no leading
+underscore), the linker will give a multiple definition diagnostic.  If,
+on the other hand, the program defines @samp{etext} (with no leading
 underscore), the linker will silently use the definition in the program.
 If the program references @samp{etext} but does not define it, the
 linker will use the definition in the linker script.
This page took 0.028402 seconds and 4 git commands to generate.