about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2020-01-08 13:20:44 -0600
committerRich Felker <dalias@aerifal.cx>2020-01-20 15:57:29 -0500
commita2e71304f358c5dbaf44e0b4c6fd343e8cd236e2 (patch)
treed94e7165e42fe720544106270ab39ad0c9914b40
parent91e662d1d941215eb024787db5e910dbfb5b169f (diff)
downloadmusl-a2e71304f358c5dbaf44e0b4c6fd343e8cd236e2.tar.gz
musl-a2e71304f358c5dbaf44e0b4c6fd343e8cd236e2.tar.xz
musl-a2e71304f358c5dbaf44e0b4c6fd343e8cd236e2.zip
fix incorrect escaping in add-cfi.*.awk scripts
gawk 5 complains.
-rw-r--r--tools/add-cfi.i386.awk2
-rw-r--r--tools/add-cfi.x86_64.awk2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/add-cfi.i386.awk b/tools/add-cfi.i386.awk
index 9162e309..d05037de 100644
--- a/tools/add-cfi.i386.awk
+++ b/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
diff --git a/tools/add-cfi.x86_64.awk b/tools/add-cfi.x86_64.awk
index bbc90daa..7e1513d6 100644
--- a/tools/add-cfi.x86_64.awk
+++ b/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