aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texi
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-10-26 12:39:50 +0000
committerNick Clifton <nickc@redhat.com>2020-10-26 12:39:50 +0000
commit93cf38c095afbee84ed580c431d001f20442f73e (patch)
treee22682ca63afd3bd270f4206556db4844ec7ba61 /ld/ld.texi
parent1612c4bbcb47ffbf6287e973db8c6b987d5b8b58 (diff)
downloadgdb-93cf38c095afbee84ed580c431d001f20442f73e.zip
gdb-93cf38c095afbee84ed580c431d001f20442f73e.tar.gz
gdb-93cf38c095afbee84ed580c431d001f20442f73e.tar.bz2
Invoke the linker's error handling script with the keyword "undefined-symbol" when using it to help with undefined symbol errors.
PR 26626 * ldmain.c (undefined_symbol): Use the keyword undefined-symbol when invoking the error handling script for undefined symbols. * ld.texi: Update documentation.
Diffstat (limited to 'ld/ld.texi')
-rw-r--r--ld/ld.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/ld.texi b/ld/ld.texi
index 763f07e..48e78ae 100644
--- a/ld/ld.texi
+++ b/ld/ld.texi
@@ -1938,9 +1938,9 @@ If this option is provided then the linker will invoke
@var{scriptname} whenever an error is encountered. Currently however
only two kinds of error are supported: missing symbols and missing
libraries. Two arguments will be passed to script: the keyword
-``missing-symbol'' or `missing-lib'' and the @var{name} of the
-missing symbol or library. The intention is that the script will
-provide suggestions to the user as to where the symbol or library
+``undefined-symbol'' or `missing-lib'' and the @var{name} of the
+undefined symbol or missing library. The intention is that the script
+will provide suggestions to the user as to where the symbol or library
might be found. After the script has finished then the normal linker
error message will be displayed.