+2020-10-26 Nick Clifton <nickc@redhat.com>
+
+ PR 26626
+ * ldmain.c (undefined_symbol): Use the keyword undefined-symbol
+ when invoking the error handling script for undefined symbols.
+ * ld.texi: Update documentation.
+
2020-10-26 Cooper Qu <cooper.qu@linux.alibaba.com>
* emulparams/cskyelf.sh (TEXT_START_ADDR): Change to 0x60000000.
@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.
int status, err;
argv[0] = error_handling_script;
- argv[1] = "missing-symbol";
+ argv[1] = "undefined-symbol";
argv[2] = (char *) name;
argv[3] = NULL;