diff --git a/commands/unstack/unstack.sh b/commands/unstack/unstack.sh index db3f32e9d..cc6eb49df 100644 --- a/commands/unstack/unstack.sh +++ b/commands/unstack/unstack.sh @@ -18,7 +18,7 @@ shift while [ $# -gt 0 ] do dec="`printf %d $1`" - $NM -n $executable | grep ' [Tt] ' | awk ' + $NM -n $executable | grep ' [Tt] [^.]' | awk ' { if($1 > '$dec') { printf "%s+0x%x\n", name, '$dec'-offset; exit } name=$3; offset=$1 }'