From 68c89e84852a26d54d6850be87dfcd48fff09f49 Mon Sep 17 00:00:00 2001 From: liuhaitao Date: Wed, 10 Jun 2020 19:36:59 +0800 Subject: [PATCH] tools/mksymtab.sh: remove the quotes in varlist entry coming from *-thunk.S Signed-off-by: liuhaitao --- tools/mksymtab.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/mksymtab.sh b/tools/mksymtab.sh index 811a886c5..064907b40 100755 --- a/tools/mksymtab.sh +++ b/tools/mksymtab.sh @@ -72,7 +72,8 @@ echo "#include " echo "#include " echo "" -for var in $varlist; do +for string in $varlist; do + var=`echo $string | sed -e "s/\"//g"` echo "extern void *${var};" done @@ -90,7 +91,8 @@ else fi echo "{" -for var in $varlist; do +for string in $varlist; do + var=`echo $string | sed -e "s/\"//g"` echo " {\"${var}\", &${var}}," done