aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
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/ldmain.c
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/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index cdb4fe5..cc3df76 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -1432,7 +1432,7 @@ undefined_symbol (struct bfd_link_info *info,
int status, err;
argv[0] = error_handling_script;
- argv[1] = "missing-symbol";
+ argv[1] = "undefined-symbol";
argv[2] = (char *) name;
argv[3] = NULL;