aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texi
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-02-25 14:35:29 +0100
committerJan Beulich <jbeulich@suse.com>2021-02-25 14:35:29 +0100
commit3c27360bc40ea05cd20bda72617aff707a5b951e (patch)
treea9e69458849a31a88cfdfb161fbe16133a18ed9b /ld/ld.texi
parent68337b8be308cd309727bbe022ce9ce5d38f426a (diff)
downloadgdb-3c27360bc40ea05cd20bda72617aff707a5b951e.zip
gdb-3c27360bc40ea05cd20bda72617aff707a5b951e.tar.gz
gdb-3c27360bc40ea05cd20bda72617aff707a5b951e.tar.bz2
ld: correct description of behavior for symbols redefined by script
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.
Diffstat (limited to 'ld/ld.texi')
-rw-r--r--ld/ld.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ld.texi b/ld/ld.texi
index bfe6c59..9643818 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -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.