bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27100] final link failed: bad value


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/27100] final link failed: bad value
Date: Thu, 24 Dec 2020 12:34:00 +0000

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

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

commit de34d42812a0b978b278cd344abeaee7c71fa55c
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Dec 24 15:56:23 2020 +1030

    PR27100, final link failed: bad value

    The failure on this PR is due to using the same bfd section for
    multiple output sections.  Commit 21401fc7bf67 managed to create
    duplicate linker script output section statements, but not the actual
    bfd sections.

            PR 27100
            * ldlang.h (lang_output_section_statement_type): Add dup_output.
            * ldlang.c (lang_output_section_statement_lookup): Set dup_output.
            (init_os): Test dup_output rather than constraint.
            * testsuite/ld-scripts/pr27100.d,
            * testsuite/ld-scripts/pr27100.s,
            * testsuite/ld-scripts/pr27100.t: New test.
            * testsuite/ld-scripts/data.exp: Run it.  Don't exclude aout here.
            * testsuite/ld-scripts/data.d: Do so here instead.
            * testsuite/ld-scripts/fill.d: Likewise.
            * testsuite/ld-scripts/fill16.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]