bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/30590] Section matching broken by prefix tree change (b1eecf6f66


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/30590] Section matching broken by prefix tree change (b1eecf6f66a4a642)
Date: Wed, 28 Jun 2023 16:10:33 +0000

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

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

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

commit edc1244e9b864daf7b3905fdcbe15407b6aa79e4
Author: Michael Matz <matz@suse.de>
Date:   Mon Jun 26 17:11:31 2023 +0200

    section-match: Check parent archive name as well

    rewriting the section matching routines lost a special case
    of matching: section statements of the form

        NAME(section-glob)

    normally match against NAME being an object file, but like in
    the exclude list we happened to accept archive names as NAME
    (undocumented).  The documented way to specify (all) archive members
    is by using e.g.

        lib.a:(section-glob)

    (that does work also with the prefix tree matcher).

    But I intended to not actually change behaviour with the prefix
    tree implementation.  So, let's also implement checking against
    archive names with a similar FIXME comment we already have in
    walk_wild_file_in_exclude_list.

            PR 30590

            ld/
            * ldlang.c (walk_wild_section_match): Also look at archive
            parents for a name match.

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