bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26626] Provide a hook to customize missing library error handlin


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/26626] Provide a hook to customize missing library error handling
Date: Fri, 16 Oct 2020 10:38:30 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26626

--- Comment #15 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Nick Clifton <nickc@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=23ae20f5e3afeeab9aa616c63ab3b357668476d5

commit 23ae20f5e3afeeab9aa616c63ab3b357668476d5
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Oct 16 11:37:26 2020 +0100

    Add a new option to the linker: --error-handling-script=<NAME>.  Run the
script <NAME> if an undefined symbol or unfound library error is encountered.

            PR 26626
            * ldmain.c (undefined_symbol): If an error handlign script is
            available, call it.
            * ldfile.c  (error_handling_script): Declare.
            (ldfile_open_file): If a library cannot be found and an error
            handling script is available, call it.
            * ldmain.h  (error_handling_script): Prototype.
            * ldlex.h (OPTION_ERROR_HANDLING_SCRIPT): Define.
            * lexsup.c (ld_options): Add --error-handling-script.
            (parse_args): Add support for --errror-handling-script.
            * ld.texi: Document the new feature.
            * configure.ac: Add --error-handling-script option to disable
            support for the new feature.
            * NEWS: Mention the new feature.
            * config.in: Regenerate.
            * configure: Regenerate.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]