From 93cf38c095afbee84ed580c431d001f20442f73e Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 26 Oct 2020 12:39:50 +0000 Subject: 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. --- ld/ldmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/ldmain.c') diff --git a/ld/ldmain.c b/ld/ldmain.c index cdb4fe58d9..cc3df76654 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; -- cgit v1.2.3