summaryrefslogtreecommitdiff
path: root/binutils/patches/157_ar_scripts_with_tilde.patch
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/patches/157_ar_scripts_with_tilde.patch')
-rw-r--r--binutils/patches/157_ar_scripts_with_tilde.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/binutils/patches/157_ar_scripts_with_tilde.patch b/binutils/patches/157_ar_scripts_with_tilde.patch
new file mode 100644
index 0000000..0d3427e
--- /dev/null
+++ b/binutils/patches/157_ar_scripts_with_tilde.patch
@@ -0,0 +1,11 @@
+--- a/binutils/arlex.l
++++ b/binutils/arlex.l
+@@ -77,7 +77,7 @@
+ "(" { return '('; }
+ ")" { return ')'; }
+ "," { return ','; }
+-[A-Za-z0-9/\\$:.\-\_]+ {
++[A-Za-z0-9/\\$:.\-\_~]+ {
+ yylval.name = xstrdup (yytext);
+ return FILENAME;
+ }