[Top][All Lists]

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

[Bug binutils/25584] ar and ranlib should not call lto-wrapper for LTO b

From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/25584] ar and ranlib should not call lto-wrapper for LTO bytecode
Date: Tue, 25 Feb 2020 11:38:21 +0000


--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_34-branch branch has been updated by H.J. Lu


commit 42b2380cdced1f828ede6fa1c7c7d1fdf0e331ca
Author: H.J. Lu <address@hidden>
Date:   Tue Feb 25 03:30:33 2020 -0800

    Don't call lto-wrapper for ar and ranlib

    Since ar and ranlib don't need to know symbol types to work properly,
    we should avoid calling lto-wrapper for them to speed them up.


        PR binutils/25584
        * plugin.c (need_lto_wrapper_p): New.
        (bfd_plugin_set_program_name): Add an int argument to set
        (get_lto_wrapper): Return FALSE if need_lto_wrapper_p isn't
        * plugin.h (bfd_plugin_set_program_name): Add an int argument.


        PR binutils/25584
        * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
        * nm.c (main): Pass 1 to bfd_plugin_set_program_name.

    (cherry picked from commit ecda90163e2b0a6f0be96e3fc262c28820a27211)

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]