fix incorrect escaping in add-cfi.*.awk scripts

gawk 5 complains.
This commit is contained in:
Will Dietz 2020-01-08 13:20:44 -06:00 committed by Rich Felker
parent 91e662d1d9
commit a2e71304f3
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ function adjust_sp_offset(delta) {
in_function = 0 in_function = 0
} }
} }
/^\.type [a-zA-Z0-9_]+,\@function/ { /^\.type [a-zA-Z0-9_]+,@function/ {
functions[substr($2, 1, length($2)-10)] = 1 functions[substr($2, 1, length($2)-10)] = 1
} }
# not interested in assembler directives beyond this, just pass them through # not interested in assembler directives beyond this, just pass them through

View File

@ -76,7 +76,7 @@ function adjust_sp_offset(delta) {
in_function = 0 in_function = 0
} }
} }
/^\.type [a-zA-Z0-9_]+,\@function/ { /^\.type [a-zA-Z0-9_]+,@function/ {
functions[substr($2, 1, length($2)-10)] = 1 functions[substr($2, 1, length($2)-10)] = 1
} }
# not interested in assembler directives beyond this, just pass them through # not interested in assembler directives beyond this, just pass them through