diff options
Diffstat (limited to 'ld/ld.texi')
-rw-r--r-- | ld/ld.texi | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1923,6 +1923,21 @@ architecture. This is used, for example, to dynamically select an appropriate memset function. @end itemize +@kindex --error-handling-script=@var{scriptname} +@item --error-handling-script=@var{scriptname} +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 +might be found. After the script has finished then the normal linker +error message will be displayed. + +The availability of this option is controlled by a configure time +switch, so it may not be present in specific implementations. + @kindex --no-undefined-version @item --no-undefined-version Normally when a symbol has an undefined version, the linker will ignore |