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: matz at suse dot de
Subject: [Bug ld/30590] Section matching broken by prefix tree change (b1eecf6f66a4a642)
Date: Tue, 27 Jun 2023 15:43:40 +0000

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

Michael Matz <matz at suse dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matz at suse dot de

--- Comment #1 from Michael Matz <matz at suse dot de> ---
The patch I posted at
  https://sourceware.org/pipermail/binutils/2023-June/128002.html
should fix this (but please test on your full example).

A note for the future: if you want to name archives in the file-part of section
globs, then the documented forms are (and I'll cite):

----------------
   You can also specify files within archives by writing a pattern
matching the archive, a colon, then the pattern matching the file, with
no whitespace around the colon.

'archive:file'
     matches file within archive
'archive:'
     matches the whole archive
':file'
     matches file but not one in an archive

   Either one or both of 'archive' and 'file' can contain shell
wildcards.
----------------

That it worked formerly with just "lib1.a(*)" is an undocumented behaviour that
got lost with my prefix-tree matching (and is reinstated with above patch).
The above forms would have worked.

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