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: andrewoates at gmail dot com
Subject: [Bug ld/30590] Section matching broken by prefix tree change (b1eecf6f66a4a642)
Date: Wed, 28 Jun 2023 01:40:53 +0000

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

--- Comment #2 from Andrew Oates <andrewoates at gmail dot com> ---
Thanks!

I have tested the linked patch and confirmed it fixes building with my original
linker script and my testcase.

One of the reasons I didn't realize the archive syntax was the right approach
is that path matching behavior seems to be different between the undocumented
form I've been using, and the proper archive form --- again, I don't totally
understand the nuance, but in the testcase, if I move lib1.a into a
subdirectory, "lib.a(*)" matches (pre 2.39, and with this patch), while
"lib1.a:(*)" and "lib1.a:*(*)" _don't_ match (but "*/lib1.a:(*)" and variants
do).

That is surprising to me, but AFAICT is unrelated to this issue.

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