3 # SPDX-License-Identifier: BSD-3-Clause
13 for i in `awk 'BEGIN {found=0}
14 /.*EXPERIMENTAL.*/ {found=1}
16 /.*;/ {if (found == 1) print $1}' $MAPFILE`
18 SYM=`echo $i | sed -e"s/;//"`
19 objdump -t $OBJFILE | grep -q "\.text.*$SYM"
21 objdump -t $OBJFILE | grep -q "\.text\.experimental.*$SYM"
23 if [ $IN_TEXT -eq 0 -a $IN_EXP -ne 0 ]
25 echo "$SYM is not flagged as experimental"
26 echo "but is listed in version map"
27 echo "Please add __rte_experimental to the definition of $SYM"