Browse Source

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

gawk 5 complains.
Will Dietz 4 years ago
parent
commit
a2e71304f3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tools/add-cfi.i386.awk
  2. 1 1
      tools/add-cfi.x86_64.awk

+ 1 - 1
tools/add-cfi.i386.awk

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

+ 1 - 1
tools/add-cfi.x86_64.awk

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