3 # SPDX-License-Identifier: BSD-3-Clause
8 # added check for "make -C test/" usage
9 if [ ! -e $MAPFILE ] || [ ! -f $OBJFILE ]
19 for i in `awk 'BEGIN {found=0}
20 /.*EXPERIMENTAL.*/ {found=1}
22 /.*;/ {if (found == 1) print $1}' $MAPFILE`
24 SYM=`echo $i | sed -e"s/;//"`
25 objdump -t $OBJFILE | grep -q "\.text.*$SYM$"
27 objdump -t $OBJFILE | grep -q "\.text\.experimental.*$SYM$"
29 if [ $IN_TEXT -eq 0 -a $IN_EXP -ne 0 ]
31 cat >&2 <<- END_OF_MESSAGE
32 $SYM is not flagged as experimental
33 but is listed in version map
34 Please add __rte_experimental to the definition of $SYM