Invoke the linker's error handling script with the keyword "undefined-symbol" when...
authorNick Clifton <nickc@redhat.com>
Mon, 26 Oct 2020 12:39:50 +0000 (12:39 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 26 Oct 2020 12:39:50 +0000 (12:39 +0000)
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/ChangeLog
ld/ld.texi
ld/ldmain.c

index 247564cf551255a9d19a889e79dced25d468b2eb..c19a2877cff9dc1fe768abc702b2720f3b40071e 100644 (file)
@@ -1,3 +1,10 @@
+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.
index 763f07e1ae3b953bd53499939156eb55bc4785cf..48e78aecdb7bd8f2b9e05ebaac86adff6346975c 100644 (file)
@@ -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.
 
index cdb4fe58d915feafc309c313dd24d9cc31d2749f..cc3df76654ad6764f82c7385a5379bf00ae0c6fa 100644 (file)
@@ -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;
       
This page took 0.032039 seconds and 4 git commands to generate.