git: vendor/BINUTILS227 vendor/BINUTILS227: Accept character '+' in filename for AR/MRI scripts
Aaron LI
aly at crater.dragonflybsd.org
Wed Apr 22 19:40:12 PDT 2026
commit 758b211fbc0086aa3e91c4c8d628d1b128572077
Author: Aaron LI <aly at aaronly.me>
Date: Thu Apr 23 10:25:12 2026 +0800
vendor/BINUTILS227: Accept character '+' in filename for AR/MRI scripts
This fixes the bug that AR/MRI scripts would reject any filenames with
a '+' character, which is not uncommon and is actually used by GCC's
libstdc++ source. To work around this limitation, we're renaming the
source files and libraries with '++' to replace '++' with 'xx'; see
gnu/lib/gcc120/libstdcxx/product/Makefile for details.
The official documentation [1] says:
> â+â is used as a line continuation character; if â+â appears at the
> end of a line, the text on the following line is considered part of
> the current command.
This bug fix is obtained from the upstream [2]. It landed in bintuils
between 2.38 (2022-02-09) and 2.39 (2022-08-05).
[1] https://sourceware.org/binutils/docs-2.27/binutils/ar-scripts.html#ar-scripts
[2] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=add0eb9d6e731e08a0bc2463d8c1f0acb02894a0
Summary of changes:
contrib/binutils-2.27/binutils/arlex.l | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/758b211fbc0086aa3e91c4c8d628d1b128572077
--
DragonFly BSD source repository
More information about the Commits
mailing list