bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31289] --fatal-warnings doesn't work for command-line options


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/31289] --fatal-warnings doesn't work for command-line options
Date: Thu, 25 Jan 2024 18:28:08 +0000

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

--- Comment #5 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit eb12b17047e25eac70ba32b79144216e86d3baa4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 25 10:08:04 2024 -0800

    elf: Add is_standard_elf

    PR ld/31289 tests failed for fr30-elf, frv-elf, ft32-elf, iq2000-elf,
    mn10200-elf, ms1-elf and msp430-elf targets:

    FAIL: ld-elf/fatal-warnings-2a
    FAIL: ld-elf/fatal-warnings-2b
    FAIL: ld-elf/fatal-warnings-3a
    FAIL: ld-elf/fatal-warnings-3b
    FAIL: ld-elf/fatal-warnings-4a
    FAIL: ld-elf/fatal-warnings-4b

    even though PR ld/31289 targets xfail for [is_generic] targets.  These
    targets not only don't use the generic_link_hash_table linker, but also
    don't use the standard ELF emulation.  Add is_standard_elf for ELF
    targets which use the standard ELF emulation and replace [is_generic]
    with ![is_standard_elf] in PR ld/31289 tests.

    binutils/

            PR ld/31289
            * testsuite/lib/binutils-common.exp (is_standard_elf): New.

    ld/

            PR ld/31289
            * testsuite/lib/binutils-common.exp (is_generic): Return 1 for
            fr30-*-*, frv-*-elf, ft32-*-*, iq2000-*-*, mn10200-*-*,
            moxie-*-moxiebox*, msp430-*-* and mt-*-*.
            * testsuite/ld-elf/fatal-warnings-2a.d: Replace [is_generic]
            with ![is_standard_elf].
            * testsuite/ld-elf/fatal-warnings-2b.d: Likewise.
            * testsuite/ld-elf/fatal-warnings-3a.d: Likewise.
            * testsuite/ld-elf/fatal-warnings-3b.d: Likewise.
            * testsuite/ld-elf/fatal-warnings-4a.d: Likewise.
            * testsuite/ld-elf/fatal-warnings-4b.d: Likewise.

-- 
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]