bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24806] Linking with unclosed -start-group and -T init.ld creates


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24806] Linking with unclosed -start-group and -T init.ld creates incorrect result
Date: Thu, 01 Aug 2019 05:11:22 +0000

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

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

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

commit 776ab89fe3cdce91cd644058c9fcda0c506f995b
Author: Alan Modra <address@hidden>
Date:   Wed Jul 31 23:10:40 2019 +0930

    PR24806, Linking with -T inside --start-group/--end-group

    This patch processes INSERT AFTER and INSERT BEFORE in a user -T
    script when such a script is invoked on the command line inside
    --start-group/--end-group.  Also, ld now warns when the user simply
    forgot --end-group.

        PR 24806
        * ldlang.c (process_insert_statements): Add start of list
        parameter.  Use rather than lang_os_list.head.  Process insert
        statements inside group statements with a recursive call.
        (lang_process): Adjust process_insert_statements call.
        * lexsup.c (parse_args): Warn when adding missing --end-group.

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