diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-02-25 14:35:29 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-02-25 14:35:29 +0100 |
commit | 3c27360bc40ea05cd20bda72617aff707a5b951e (patch) | |
tree | a9e69458849a31a88cfdfb161fbe16133a18ed9b /ld/ld.texi | |
parent | 68337b8be308cd309727bbe022ce9ce5d38f426a (diff) | |
download | gdb-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.texi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |