[Top][All Lists]

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

[Bug gold/19119] Gold accepts bogus target emulation

From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/19119] Gold accepts bogus target emulation
Date: Thu, 05 Nov 2015 21:19:15 +0000


--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Cary Coutant <address@hidden>:


commit 96f9814df23564e16909bb5ba00de4a202c63417
Author: Cary Coutant <address@hidden>
Date:   Thu Nov 5 12:59:02 2015 -0800

    Revert patch for PR 19119, which led to PR 19172 and 19197.

    Gold does not support all the emulations that Gnu ld does, and supports
    only one spelling per target. The -m option is used only in the rare case
    where there are no ELF input files, and we produce an empty output file.
    In those cases, users are expected to supply a -m option naming one of
    the supported emulations. In the many cases where a build script provides
    an unnecessary -m option naming an emulation that gold does not support,
    we will simply ignore the option, as we did before the reverted patch.

        PR gold/19119
        PR gold/19172
        PR gold/19197
        Revert commit 6457197210144f50a696097c0d308d81d46d5510:

        2015-10-16  H.J. Lu  <address@hidden>

                * options.h (General_options): Remove "obsolete" from -m.
                * parameters.cc (set_parameters_target): Check if input target
                is compatible with output emulation set by "-m emulation".

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]