From 004799af62609eab3261ea9a75794dd7281ce02e Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 8 Jan 2020 13:20:44 -0600 Subject: [PATCH] tools/add-cfi.{i386,x86_64}.awk: fix for gawk 5, '\@' -> '@' --- tools/add-cfi.i386.awk | 2 +- tools/add-cfi.x86_64.awk | 2 +- 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 -- 2.25.0-rc1