X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=buildtools%2Fcheck-experimental-syms.sh;h=d0915102d484132f41291b3755b34d9ac0f13256;hb=3771edc35438bbe476babd1aeb2bc1e6675864ad;hp=5bc8cda1762a000f90e8e658becd1ee1a53e3023;hpb=5c753861c399628e522d47533fe26b0aef876209;p=dpdk.git diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh index 5bc8cda176..d0915102d4 100755 --- a/buildtools/check-experimental-syms.sh +++ b/buildtools/check-experimental-syms.sh @@ -16,9 +16,9 @@ for i in `awk 'BEGIN {found=0} /.*;/ {if (found == 1) print $1}' $MAPFILE` do SYM=`echo $i | sed -e"s/;//"` - objdump -t $OBJFILE | grep -q "\.text.*$SYM" + objdump -t $OBJFILE | grep -q "\.text.*$SYM$" IN_TEXT=$? - objdump -t $OBJFILE | grep -q "\.text\.experimental.*$SYM" + objdump -t $OBJFILE | grep -q "\.text\.experimental.*$SYM$" IN_EXP=$? if [ $IN_TEXT -eq 0 -a $IN_EXP -ne 0 ] then